Skip to content

Commit

Permalink
feat(eds-core-react): ✨ config to use css and ts tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
torleifhalseth committed May 15, 2024
1 parent cbbce28 commit 4f55f7b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@
"eds-tokens",
"eds-utils",
"eds-config-custom"
]
],
"cSpell.words": ["Overridable"]
}
4 changes: 2 additions & 2 deletions packages/eds-core-react/.storybook/preview.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import '@equinor/eds-tokens/css/color/primitives.css'
import '@equinor/eds-tokens/css/color/theme.css'
import '@equinor/eds-tokens/css/color/primitives'
import '@equinor/eds-tokens/css/color/theme'

const preview = {
viewMode: 'docs',
Expand Down
3 changes: 2 additions & 1 deletion packages/eds-core-react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"isolatedModules": true,
"outDir": "./dist",
"baseUrl": ".",
"types": ["@testing-library/jest-dom"]
"types": ["@testing-library/jest-dom"],
"moduleResolution": "Bundler"
},
"include": ["./src/**/*", "./jest.setup.ts"],
"exclude": ["node_modules"]
Expand Down

0 comments on commit 4f55f7b

Please sign in to comment.