Skip to content

Commit

Permalink
ds tokens library created to convert figma design tokens to web/app v…
Browse files Browse the repository at this point in the history
…ariables
  • Loading branch information
AnselmMarie committed Sep 16, 2024
1 parent 9cf203a commit 7f92136
Show file tree
Hide file tree
Showing 20 changed files with 800 additions and 189 deletions.
25 changes: 25 additions & 0 deletions libs/ds-tokens/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"extends": ["../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {}
},
{
"files": ["*.ts", "*.tsx"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"rules": {}
},
{
"files": ["*.json"],
"parser": "jsonc-eslint-parser",
"rules": {
"@nx/dependency-checks": "error"
}
}
]
}
21 changes: 21 additions & 0 deletions libs/ds-tokens/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "ds-tokens",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "libs/ds-tokens/src",
"tags": [],
"targets": {
"build": {
"executor": "@nxkit/style-dictionary:build",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/ds-tokens",
"styleDictionaryConfig": "libs/ds-tokens/style-dictionary.config.ts",
"tsConfig": "libs/ds-tokens/tsconfig.json"
}
},
"lint": {
"command": "eslint libs/ds-tokens/**/*.{js,ts} libs/ds-tokens/package.json"
}
}
}
Loading

0 comments on commit 7f92136

Please sign in to comment.