Move all settings for fonts, colors and other design tokens to CustomStyles

This commit is contained in:
prototypa
2024-04-13 13:22:16 -04:00
parent 069f2edef1
commit c830d68321
7 changed files with 52 additions and 271 deletions

View File

@@ -173,33 +173,6 @@ const getAppBlog = (config: Config) => {
const getUI = (config: Config) => {
const _default = {
theme: 'system',
classes: {},
tokens: {
default: {
fonts: {},
colors: {
default: 'rgb(16 16 16)',
heading: 'rgb(0 0 0)',
muted: 'rgb(16 16 16 / 66%)',
bgPage: 'rgb(255 255 255)',
primary: 'rgb(1 97 239)',
secondary: 'rgb(1 84 207)',
accent: 'rgb(109 40 217)',
},
},
dark: {
fonts: {},
colors: {
default: 'rgb(229 236 246)',
heading: 'rgb(247, 248, 248)',
muted: 'rgb(229 236 246 / 66%)',
bgPage: 'rgb(3 6 32)',
primary: 'rgb(1 97 239)',
secondary: 'rgb(1 84 207)',
accent: 'rgb(109 40 217)',
},
},
},
};
return merge({}, _default, config?.ui ?? {});