Files
cunningham/apps/demo/cunningham.ts
Nathan Vasse e05c6b786c 🏷️(react) export DefaultToken types and defaultTokens variable
By doing this we provide more typings for consumers which makes more
handy the use of the local configuration in cunningham.ts files.
2023-05-24 11:10:13 +02:00

17 lines
260 B
TypeScript

import { DefaultTokens } from "@openfun/cunningham-react";
const config: DefaultTokens = {
theme: {
colors: {
"primary-500": "purple",
},
},
components: {
button: {
"border-radius": "30px",
},
},
};
export default config;