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

17 lines
260 B
TypeScript
Raw Normal View History

🏷️(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
import { DefaultTokens } from "@openfun/cunningham-react";
const config: DefaultTokens = {
🔧(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
theme: {
colors: {
🔧(demo) update demo app to customize official tokens Showcase how to customize an official design token.
2023-01-18 11:10:36 +01:00
"primary-500": "purple",
🔧(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
},
},
components: {
button: {
"border-radius": "30px",
},
},
};
🏷️(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: 36ms Template: 3ms
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