style: Use separate Scrollbar and ThemedScrollbar ColorIDs.

Otherwise on Windows, we have a ColorID::Scrollbar but not any of the other scrollbar part
colors, and the Windows-provided value for Scrollbar doesn't work well
with the default values for the other scrollbar parts that come from the
non-native theme.

Differential Revision: https://phabricator.services.mozilla.com/D93728
This commit is contained in:
Cameron McCormack 2020-10-16 12:49:47 +00:00 committed by Emilio Cobos Álvarez
parent a4f82712ae
commit a497b033dc

View file

@ -108,15 +108,17 @@ pub enum SystemColor {
#[css(skip)] #[css(skip)]
SpellCheckerUnderline, SpellCheckerUnderline,
#[css(skip)] #[css(skip)]
ScrollbarInactive, ThemedScrollbar,
#[css(skip)] #[css(skip)]
ScrollbarThumb, ThemedScrollbarInactive,
#[css(skip)] #[css(skip)]
ScrollbarThumbHover, ThemedScrollbarThumb,
#[css(skip)] #[css(skip)]
ScrollbarThumbActive, ThemedScrollbarThumbHover,
#[css(skip)] #[css(skip)]
ScrollbarThumbInactive, ThemedScrollbarThumbActive,
#[css(skip)]
ThemedScrollbarThumbInactive,
Activeborder, Activeborder,
Activecaption, Activecaption,
Appworkspace, Appworkspace,