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
47e3e28090912090fd5aaa236c8497040f73bf8a
cunningham/apps/demo/cunningham.ts

24 lines
431 B
TypeScript
Raw Normal View History

🎨(demo) implement new tokens implements the new token architecture
2025-09-11 10:40:06 +02:00
import { defaultThemes } from "@openfun/cunningham-tokens";
🏷️(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) implement new tokens implements the new token architecture
2025-09-11 10:40:06 +02:00
const defaultConfig = {
themes: {
dark: {
components: {
card: {
"border-width": "none",
"box-shadow": "rgba(0, 8, 16, 0.3) 0px 16px 24px",
},
},
💄(demo) improve some default style Improve typography responsive and customize card design tokens for the dark theme
2024-02-15 11:16:46 +01:00
},
},
🎨(demo) implement new tokens implements the new token architecture
2025-09-11 10:40:06 +02:00
}
const config = {...defaultConfig, ...defaultThemes};
export default config;
✨(demo) new demo This new demo aims to take advantage of all the new Cunningham's components. The old demo was kind of a draft, this new one gives a better overview of what Cunningham is capable of.
2024-01-18 16:49:47 +01:00
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 45ms Template: 5ms
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