2022-08-25 20:50:46 +03:00
|
|
|
import { colorsDark, colorsLight } from './colors'
|
2022-08-16 19:20:23 +03:00
|
|
|
|
|
|
|
export const LIGHT_THEME = {
|
|
|
|
// surface
|
2022-08-25 20:50:46 +03:00
|
|
|
container: colorsLight.backgroundSurface,
|
|
|
|
interactive: colorsLight.backgroundInteractive,
|
|
|
|
module: colorsLight.backgroundModule,
|
|
|
|
accent: colorsLight.accentAction,
|
|
|
|
dialog: colorsLight.backgroundBackdrop,
|
|
|
|
outline: colorsLight.backgroundOutline,
|
2022-08-16 19:20:23 +03:00
|
|
|
// text
|
2022-08-25 20:50:46 +03:00
|
|
|
primary: colorsLight.textPrimary,
|
|
|
|
secondary: colorsLight.textSecondary,
|
|
|
|
onInteractive: colorsLight.accentTextDarkPrimary,
|
2022-08-16 19:20:23 +03:00
|
|
|
// state
|
2022-08-25 20:50:46 +03:00
|
|
|
success: colorsLight.accentSuccess,
|
|
|
|
warning: colorsLight.accentWarning,
|
|
|
|
error: colorsLight.accentCritical,
|
2022-08-16 19:20:23 +03:00
|
|
|
}
|
2022-08-26 21:19:51 +03:00
|
|
|
|
2022-08-16 19:20:23 +03:00
|
|
|
export const DARK_THEME = {
|
|
|
|
// surface
|
2022-08-25 20:50:46 +03:00
|
|
|
container: colorsDark.backgroundSurface,
|
|
|
|
interactive: colorsDark.backgroundInteractive,
|
2022-08-30 05:00:34 +03:00
|
|
|
module: colorsDark.backgroundModule,
|
2022-08-25 20:50:46 +03:00
|
|
|
accent: colorsDark.accentAction,
|
|
|
|
dialog: colorsDark.backgroundBackdrop,
|
|
|
|
outline: colorsDark.backgroundOutline,
|
2022-08-16 19:20:23 +03:00
|
|
|
// text
|
2022-08-25 20:50:46 +03:00
|
|
|
primary: colorsDark.textPrimary,
|
|
|
|
secondary: colorsDark.textSecondary,
|
|
|
|
onInteractive: colorsDark.accentTextLightPrimary,
|
2022-08-16 19:20:23 +03:00
|
|
|
// state
|
2022-08-25 20:50:46 +03:00
|
|
|
success: colorsDark.accentSuccess,
|
|
|
|
warning: colorsDark.accentWarning,
|
|
|
|
error: colorsDark.accentCritical,
|
2022-08-16 19:20:23 +03:00
|
|
|
}
|