From 8a018dbe4da4cf9b5c603880e8cc96f1d9dbf1a0 Mon Sep 17 00:00:00 2001 From: mara <43048142+vmedea@users.noreply.github.com> Date: Mon, 2 Dec 2019 17:45:09 +0100 Subject: [PATCH] Change tertiary color to white instead of grey (#408) Change the tertiary color in the default theme to white instead of grey. Currently, the tertiary color is the same as the view background color, making it invisible as foreground color. This makes the Outset effect not work as (I think) intended. --- src/theme/palette.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/theme/palette.rs b/src/theme/palette.rs index 83e6eac..ff76080 100644 --- a/src/theme/palette.rs +++ b/src/theme/palette.rs @@ -143,7 +143,7 @@ impl Palette { /// * `View` => `Dark(White)` /// * `Primary` => `Dark(Black)` /// * `Secondary` => `Dark(Blue)` -/// * `Tertiary` => `Dark(White)` +/// * `Tertiary` => `Light(White)` /// * `TitlePrimary` => `Dark(Red)` /// * `TitleSecondary` => `Dark(Yellow)` /// * `Highlight` => `Dark(Red)` @@ -161,7 +161,7 @@ impl Default for Palette { View => Dark(White), Primary => Dark(Black), Secondary => Dark(Blue), - Tertiary => Dark(White), + Tertiary => Light(White), TitlePrimary => Dark(Red), TitleSecondary => Light(Blue), Highlight => Dark(Red),