mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-11-13 20:23:42 +08:00
style(projects): format code
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
/**
|
||||
* default theme settings
|
||||
*/
|
||||
/** Default theme settings */
|
||||
export const themeSettings: App.Theme.ThemeSetting = {
|
||||
themeScheme: 'light',
|
||||
themeColor: '#646cff',
|
||||
@@ -50,7 +48,8 @@ export const themeSettings: App.Theme.ThemeSetting = {
|
||||
};
|
||||
|
||||
/**
|
||||
* override theme settings
|
||||
* @description if publish new version, use `overrideThemeSettings` to override certain theme settings
|
||||
* Override theme settings
|
||||
*
|
||||
* If publish new version, use `overrideThemeSettings` to override certain theme settings
|
||||
*/
|
||||
export const overrideThemeSettings: Partial<App.Theme.ThemeSetting> = {};
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/**
|
||||
* create color palette vars
|
||||
*/
|
||||
/** Create color palette vars */
|
||||
function createColorPaletteVars() {
|
||||
const colors: App.Theme.ThemeColorKey[] = ['primary', 'info', 'success', 'warning', 'error'];
|
||||
const colorPaletteNumbers: App.Theme.ColorPaletteNumber[] = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950];
|
||||
@@ -19,9 +17,7 @@ function createColorPaletteVars() {
|
||||
|
||||
const colorPaletteVars = createColorPaletteVars();
|
||||
|
||||
/**
|
||||
* theme vars
|
||||
*/
|
||||
/** Theme vars */
|
||||
export const themeVars: App.Theme.ThemeToken = {
|
||||
colors: {
|
||||
...colorPaletteVars,
|
||||
|
||||
Reference in New Issue
Block a user