feat(microsoft-word): add apply to document option (#1468)
Co-authored-by: noobie <[email protected]> Co-authored-by: uncenter <[email protected]>
This commit is contained in:
1 parent
7351897223
commit
fbcdea376a
1 file changed
+12
-9
@@ -13,6 +13,8 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
|
||||
@var checkbox applyToDocument "Apply Theme to Document" 0
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("live.com") {
|
||||
@@ -178,9 +180,16 @@
|
||||
background-color: @mantle !important;
|
||||
}
|
||||
|
||||
.Page {
|
||||
background-color: @base !important;
|
||||
border-color: @surface1 !important;
|
||||
& when (@applyToDocument = 1) {
|
||||
.Page {
|
||||
background-color: @base !important;
|
||||
border-color: @surface1 !important;
|
||||
}
|
||||
span.NormalTextRun,
|
||||
.FileMenuButtonPrimaryText,
|
||||
[class="NewDocumentTemplateLabel"] {
|
||||
color: @text !important;
|
||||
}
|
||||
}
|
||||
|
||||
.Paragraph,
|
||||
@@ -380,12 +389,6 @@
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
span.NormalTextRun,
|
||||
.FileMenuButtonPrimaryText,
|
||||
[class="NewDocumentTemplateLabel"] {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
svg {
|
||||
path.OfficeIconColors_m22 {
|
||||
fill: @text;
|
||||
|
||||
Reference in new issue
Block a user