Logo
Explore Help
Sign In
studio/cunningham
2
0
Fork 0
You've already forked cunningham
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
6dcafa91f4bca70038f6da23c1914077099d0fdc
cunningham/apps/demo/cunningham.ts

15 lines
250 B
TypeScript
Raw Normal View History

✨(demo) add themes handling We now can switch theme directly inside the demo app.
2023-09-26 11:39:28 +02:00
import { Configuration } from "@openfun/cunningham-react";
🏷️(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-23 15:17:46 +02:00
✨(demo) add themes handling We now can switch theme directly inside the demo app.
2023-09-26 11:39:28 +02:00
const config: Configuration = {
themes: {
default: {
components: {
button: {
"border-radius": "30px",
},
},
🔧(demo) update demo app to ts config file, customize one token Showcase a situation where we want to customize a component's design token.
2023-01-04 15:53:36 +01:00
},
},
};
🏷️(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-23 15:17:46 +02:00
export default config;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 44ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API