✨(react) add tokens.ts files handling
These files will be used to define the custom design tokens per components. They are automatically aggregated by the packages/react/cunningham.ts file, this is why handling typescript config file was important.
This commit is contained in:
1
packages/react/src/cunningham-tokens.ts
Normal file
1
packages/react/src/cunningham-tokens.ts
Normal file
@@ -0,0 +1 @@
|
||||
export const tokens = {"theme":{"colors":{"primary":"#002d7f","primary-gradient":"linear-gradient(90deg,#002d7f,#0069b3)","secondary":"#DA0000"}},"components":{"button":{"border-radius":"5px","shadow":"0px 0px 10px 1px #002d7f;"}}};
|
||||
Reference in New Issue
Block a user