lighter gray for inline previews in white mode
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -17,7 +17,7 @@ const DARK_BG: Color32 = Color32::from_rgb(0x2C, 0x2C, 0x2C);
|
|||||||
const DARK_ISH_BG: Color32 = Color32::from_rgb(0x22, 0x22, 0x22);
|
const DARK_ISH_BG: Color32 = Color32::from_rgb(0x22, 0x22, 0x22);
|
||||||
const SEMI_DARK_BG: Color32 = Color32::from_rgb(0x44, 0x44, 0x44);
|
const SEMI_DARK_BG: Color32 = Color32::from_rgb(0x44, 0x44, 0x44);
|
||||||
|
|
||||||
const LIGHTER_GRAY: Color32 = Color32::from_rgb(0xe8, 0xe8, 0xe8);
|
const LIGHTER_GRAY: Color32 = Color32::from_rgb(0xf8, 0xf8, 0xf8);
|
||||||
const LIGHT_GRAY: Color32 = Color32::from_rgb(0xc8, 0xc8, 0xc8); // 78%
|
const LIGHT_GRAY: Color32 = Color32::from_rgb(0xc8, 0xc8, 0xc8); // 78%
|
||||||
pub const MID_GRAY: Color32 = Color32::from_rgb(0xbd, 0xbd, 0xbd);
|
pub const MID_GRAY: Color32 = Color32::from_rgb(0xbd, 0xbd, 0xbd);
|
||||||
const DARKER_GRAY: Color32 = Color32::from_rgb(0xa5, 0xa5, 0xa5); // 65%
|
const DARKER_GRAY: Color32 = Color32::from_rgb(0xa5, 0xa5, 0xa5); // 65%
|
||||||
@@ -101,7 +101,7 @@ pub fn light_color_theme() -> ColorTheme {
|
|||||||
|
|
||||||
// NONINTERACTIVE WIDGET
|
// NONINTERACTIVE WIDGET
|
||||||
noninteractive_bg_fill: Color32::WHITE,
|
noninteractive_bg_fill: Color32::WHITE,
|
||||||
noninteractive_weak_bg_fill: EVEN_DARKER_GRAY,
|
noninteractive_weak_bg_fill: LIGHTER_GRAY,
|
||||||
noninteractive_bg_stroke_color: LIGHTER_GRAY,
|
noninteractive_bg_stroke_color: LIGHTER_GRAY,
|
||||||
noninteractive_fg_stroke_color: GRAY_SECONDARY,
|
noninteractive_fg_stroke_color: GRAY_SECONDARY,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user