(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:
Nathan Vasse
2023-01-04 15:52:24 +01:00
committed by NathanVss
parent 67dd0048d0
commit be1c9d000b
19 changed files with 147 additions and 29 deletions

View File

@@ -0,0 +1,7 @@
html {
--c--theme--colors--primary: #002d7f;
--c--theme--colors--primary-gradient: linear-gradient(90deg,#002d7f,#0069b3);
--c--theme--colors--secondary: #DA0000;
--c--components--button--border-radius: 5px;
--c--components--button--shadow: 0px 0px 10px 1px #002d7f;;
}