2023-10-28 22:22:48 +08:00
|
|
|
/**
|
|
|
|
* @typedef ExtraTheme
|
|
|
|
* @property {string} titleColor
|
|
|
|
* @property {string} sidebarColor
|
|
|
|
* @property {string} splitColor
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @type ExtraTheme
|
|
|
|
*/
|
|
|
|
export const extraLightTheme = {
|
2023-10-28 22:59:47 +08:00
|
|
|
titleColor: '#F2F2F2',
|
2023-11-15 12:05:14 +08:00
|
|
|
ribbonColor: '#F9F9F9',
|
|
|
|
ribbonActiveColor: '#E3E3E3',
|
|
|
|
sidebarColor: '#F2F2F2',
|
2023-10-28 22:59:47 +08:00
|
|
|
splitColor: '#DADADA',
|
2023-10-28 22:22:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @type ExtraTheme
|
|
|
|
*/
|
|
|
|
export const extraDarkTheme = {
|
2023-11-15 12:05:14 +08:00
|
|
|
titleColor: '#262626',
|
|
|
|
ribbonColor: '#2C2C2C',
|
|
|
|
ribbonActiveColor: '#363636',
|
2023-10-28 22:59:47 +08:00
|
|
|
sidebarColor: '#262626',
|
|
|
|
splitColor: '#474747',
|
2023-10-28 22:22:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @param {boolean} dark
|
|
|
|
* @return ExtraTheme
|
|
|
|
*/
|
|
|
|
export const extraTheme = (dark) => {
|
|
|
|
return dark ? extraDarkTheme : extraLightTheme
|
|
|
|
}
|