mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 19:30:17 +08:00
* fix(config): update title bar overlay colors for better visibility * fix(Navbar): add Linux support for padding adjustment in Navbar component
24 lines
456 B
TypeScript
24 lines
456 B
TypeScript
import { app } from 'electron'
|
|
|
|
import { getDataPath } from './utils'
|
|
|
|
const isDev = process.env.NODE_ENV === 'development'
|
|
|
|
if (isDev) {
|
|
app.setPath('userData', app.getPath('userData') + 'Dev')
|
|
}
|
|
|
|
export const DATA_PATH = getDataPath()
|
|
|
|
export const titleBarOverlayDark = {
|
|
height: 40,
|
|
color: 'rgba(255,255,255,0)',
|
|
symbolColor: '#fff'
|
|
}
|
|
|
|
export const titleBarOverlayLight = {
|
|
height: 40,
|
|
color: 'rgba(255,255,255,0)',
|
|
symbolColor: '#000'
|
|
}
|