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.
This commit is contained in:
mara 2019-12-02 17:45:09 +01:00 committed by Alexandre Bury
parent b3f913391a
commit 8a018dbe4d

View File

@ -143,7 +143,7 @@ impl Palette {
/// * `View` => `Dark(White)` /// * `View` => `Dark(White)`
/// * `Primary` => `Dark(Black)` /// * `Primary` => `Dark(Black)`
/// * `Secondary` => `Dark(Blue)` /// * `Secondary` => `Dark(Blue)`
/// * `Tertiary` => `Dark(White)` /// * `Tertiary` => `Light(White)`
/// * `TitlePrimary` => `Dark(Red)` /// * `TitlePrimary` => `Dark(Red)`
/// * `TitleSecondary` => `Dark(Yellow)` /// * `TitleSecondary` => `Dark(Yellow)`
/// * `Highlight` => `Dark(Red)` /// * `Highlight` => `Dark(Red)`
@ -161,7 +161,7 @@ impl Default for Palette {
View => Dark(White), View => Dark(White),
Primary => Dark(Black), Primary => Dark(Black),
Secondary => Dark(Blue), Secondary => Dark(Blue),
Tertiary => Dark(White), Tertiary => Light(White),
TitlePrimary => Dark(Red), TitlePrimary => Dark(Red),
TitleSecondary => Light(Blue), TitleSecondary => Light(Blue),
Highlight => Dark(Red), Highlight => Dark(Red),