Skip to content

Commit

Permalink
Tokens package initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
GhitaNektt committed Oct 28, 2024
1 parent 5f1c30a commit acb78f2
Show file tree
Hide file tree
Showing 7 changed files with 2,207 additions and 0 deletions.
20 changes: 20 additions & 0 deletions packages/tokens/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "@youcan/tokens",
"type": "module",
"version": "1.0.0",
"main": "dist/index.js",
"files": [
"dist"
],
"scripts": {
"build": "tsup index.js --format esm,cjs --dts",
"dev": "tsup index.js --format esm,cjs --dts --watch"
},
"peerDependencies": {
"unocss": "^0.58.0"
},
"devDependencies": {
"tsup": "^8.0.0",
"unocss": "^0.58.0"
}
}
39 changes: 39 additions & 0 deletions packages/tokens/src/animation.tokens.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"animations": {
"extra-fast": {
"$value": "100ms",
"$type": "duration",
"$extension": {
"easing": "ease-out"
}
},
"fast": {
"$value": "200ms",
"$type": "duration",
"$extension": {
"easing": "ease-out"
}
},
"normal": {
"$value": "300ms",
"$type": "duration",
"$extension": {
"easing": "ease-out"
}
},
"slow": {
"$value": "400ms",
"$type": "duration",
"$extension": {
"easing": "ease-out"
}
},
"extra-slow": {
"$value": "500ms",
"$type": "duration",
"$extension": {
"easing": "ease-out"
}
}
}
}
Loading

0 comments on commit acb78f2

Please sign in to comment.