By doing this we provide more typings for consumers which makes more handy the use of the local configuration in cunningham.ts files.
17 lines
260 B
TypeScript
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;
|