mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-11-14 12:43:42 +08:00
refactor(projects): combine theme tokens and theme settings. close #379
This commit is contained in:
@@ -18,14 +18,14 @@ function createColorPaletteVars() {
|
||||
const colorPaletteVars = createColorPaletteVars();
|
||||
|
||||
/** Theme vars */
|
||||
export const themeVars: App.Theme.ThemeToken = {
|
||||
export const themeVars: App.Theme.ThemeTokenCSSVars = {
|
||||
colors: {
|
||||
...colorPaletteVars,
|
||||
nprogress: 'rgb(var(--nprogress-color))',
|
||||
container: 'rgb(var(--container-bg-color))',
|
||||
layout: 'rgb(var(--layout-bg-color))',
|
||||
inverted: 'rgb(var(--inverted-bg-color))',
|
||||
base_text: 'rgb(var(--base-text-color))'
|
||||
'base-text': 'rgb(var(--base-text-color))'
|
||||
},
|
||||
boxShadow: {
|
||||
header: 'var(--header-box-shadow)',
|
||||
|
||||
Reference in New Issue
Block a user