Move all settings for fonts, colors and other design tokens to CustomStyles
This commit is contained in:
27
vendor/integration/utils/configBuilder.ts
vendored
27
vendor/integration/utils/configBuilder.ts
vendored
@@ -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 ?? {});
|
||||
|
Reference in New Issue
Block a user