mirror of
https://github.com/servo/servo.git
synced 2025-06-25 01:24:37 +01:00
style: Use titlebar colors when using CSD rather than -moz-menubartext
As the titlebar may be different when active / inactive, and have other colors than a menubar. Differential Revision: https://phabricator.services.mozilla.com/D114875
This commit is contained in:
parent
55f20759b2
commit
dd28d22cee
1 changed files with 8 additions and 0 deletions
|
@ -375,6 +375,14 @@ pub enum SystemColor {
|
||||||
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
||||||
MozColheaderhovertext,
|
MozColheaderhovertext,
|
||||||
|
|
||||||
|
/// Color of text in the (active) titlebar.
|
||||||
|
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
||||||
|
MozGtkTitlebarText,
|
||||||
|
|
||||||
|
/// Color of text in the (inactive) titlebar.
|
||||||
|
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
||||||
|
MozGtkTitlebarInactiveText,
|
||||||
|
|
||||||
#[css(skip)]
|
#[css(skip)]
|
||||||
End, // Just for array-indexing purposes.
|
End, // Just for array-indexing purposes.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue