Add Rose Pine Moon color palette
This commit is contained in:
parent
bc8032aaaf
commit
ef6a81e142
|
@ -39,19 +39,37 @@ pub const SAO_PALETTE: Palette = Palette {
|
||||||
/// Rose Pine color palette.
|
/// Rose Pine color palette.
|
||||||
pub const ROSE_PINE_PALETTE: Palette = Palette {
|
pub const ROSE_PINE_PALETTE: Palette = Palette {
|
||||||
base: Color(0x191724ff),
|
base: Color(0x191724ff),
|
||||||
base_hover: Color(0x21202eff), // Rose Pine Highlight Low
|
base_hover: Color(0x21202eff), // Highlight Low
|
||||||
base_active: Color(0x403d52ff), // Rose Pine Highlight Med
|
base_active: Color(0x403d52ff), // Highlight Med
|
||||||
surface: Color(0x1f1d2eff),
|
surface: Color(0x1f1d2eff),
|
||||||
overlay: Color(0x26233aff),
|
overlay: Color(0x26233aff),
|
||||||
text: Color(0xe0def4ff),
|
text: Color(0xe0def4ff),
|
||||||
black: Color(0x6e6a86ff),
|
black: Color(0x6e6a86ff), // Muted
|
||||||
red: Color(0xeb6f92ff),
|
red: Color(0xeb6f92ff), // Love
|
||||||
green: Color(0x7fb59fff),
|
green: Color(0x7fb59fff), // ??? (not in Rose Pine?)
|
||||||
yellow: Color(0xf6c177ff),
|
yellow: Color(0xf6c177ff), // Gold
|
||||||
blue: Color(0x31748fff),
|
blue: Color(0x31748fff), // Pine
|
||||||
magenta: Color(0xc4a7e7ff),
|
magenta: Color(0xc4a7e7ff), // Iris
|
||||||
cyan: Color(0x9ccfd8ff),
|
cyan: Color(0x9ccfd8ff), // Foam
|
||||||
white: Color(0xe0def4ff),
|
white: Color(0xe0def4ff), // Text
|
||||||
|
};
|
||||||
|
|
||||||
|
/// Rose Pine Moon color palette.
|
||||||
|
pub const ROSE_PINE_MOON_PALETTE: Palette = Palette {
|
||||||
|
base: Color(0x232136ff),
|
||||||
|
base_hover: Color(0x2a283eff), // Highlight Low
|
||||||
|
base_active: Color(0x44415aff), // Highlight Med
|
||||||
|
surface: Color(0x2a273fff),
|
||||||
|
overlay: Color(0x393552),
|
||||||
|
text: Color(0xe0def4ff),
|
||||||
|
black: Color(0x6e6a86ff), // Muted
|
||||||
|
red: Color(0xeb6f92ff), // Love
|
||||||
|
green: Color(0x7fb59fff), // ??? (not in Rose Pine?)
|
||||||
|
yellow: Color(0xf6c177ff), // Gold
|
||||||
|
blue: Color(0x3e8fb0ff), // Pine
|
||||||
|
magenta: Color(0xc4a7e7ff), // Iris
|
||||||
|
cyan: Color(0x9ccfd8ff), // Foam
|
||||||
|
white: Color(0xe0def4ff), // Text
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Common measurements for widget shapes.
|
/// Common measurements for widget shapes.
|
||||||
|
@ -67,7 +85,7 @@ pub struct Theme {
|
||||||
|
|
||||||
/// The global theme.
|
/// The global theme.
|
||||||
pub const THEME: Theme = Theme {
|
pub const THEME: Theme = Theme {
|
||||||
palette: ROSE_PINE_PALETTE,
|
palette: ROSE_PINE_MOON_PALETTE,
|
||||||
metrics: Metrics {
|
metrics: Metrics {
|
||||||
surface_rounding: 5.0,
|
surface_rounding: 5.0,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue