style: format code with prettier

This commit is contained in:
github-actions[bot] committed 2024-01-13 19:05:25 +00:00
1 parent ff2e1dfb8b
commit 6369b2e3ae
1 file changed
+129 -64
+129 -64
View File
@@ -17,7 +17,6 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain('live.com') { @-moz-document domain('live.com') {
/* prettier-ignore */ /* prettier-ignore */
@catppuccin: { @catppuccin: {
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; }; @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
@@ -55,7 +54,9 @@
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@lookup][@crust];
@color: @catppuccin[@@lookup][@@accent]; @color: @catppuccin[@@lookup][@@accent];
.fui-FluentProvider2, .fui-FluentProvider86, .fui-FluentProvider102 { .fui-FluentProvider2,
.fui-FluentProvider86,
.fui-FluentProvider102 {
--colorNeutralStroke1: @surface1; --colorNeutralStroke1: @surface1;
--colorBrandForeground1: @color; --colorBrandForeground1: @color;
--colorNeutralForeground1: @text; --colorNeutralForeground1: @text;
@@ -70,7 +71,7 @@
--colorNeutralForegroundOnBrand: @base; --colorNeutralForegroundOnBrand: @base;
--colorNeutralBackground1Selected: @surface1; --colorNeutralBackground1Selected: @surface1;
} }
.o365sx-navbar, .o365sx-navbar,
.o365cs-base .o365sx-button, .o365cs-base .o365sx-button,
[data-unique-id="GoPremiumButton"], [data-unique-id="GoPremiumButton"],
@@ -79,7 +80,7 @@
background-color: @base !important; background-color: @base !important;
color: @text !important; color: @text !important;
} }
.OfficeIconColors_mUpgradeProductGlyphColorless, .OfficeIconColors_mUpgradeProductGlyphColorless,
[aria-label="Saved to OneDrive"] > i:nth-child(1) > svg:nth-child(1), [aria-label="Saved to OneDrive"] > i:nth-child(1) > svg:nth-child(1),
#SearchButton > span:nth-child(1) > i:nth-child(1), #SearchButton > span:nth-child(1) > i:nth-child(1),
@@ -89,54 +90,58 @@
fill: @text !important; fill: @text !important;
color: @text !important; color: @text !important;
} }
#RibbonContainer > div:nth-child(1) > div:nth-child(2) > div:nth-child(1), #RibbonContainer > div:nth-child(1) > div:nth-child(2) > div:nth-child(1),
#RibbonContainer > div:nth-child(1) > div:nth-child(2) > div:nth-child(2), #RibbonContainer > div:nth-child(1) > div:nth-child(2) > div:nth-child(2),
#RibbonTopBarContainer, #RibbonTopBarContainer {
{
background-color: @base !important; background-color: @base !important;
} }
#tablist > div:nth-child(1) { #tablist > div:nth-child(1) {
> div > div:nth-child(1) > button:nth-child(1) { > div > div:nth-child(1) > button:nth-child(1) {
color: @text !important; color: @text !important;
} }
} }
#Home-tabpanel, #Home-tabpanel,
#Home-tabpanel > div:nth-child(2), #Home-tabpanel > div:nth-child(2),
#appLauncherTop, #appLauncherMainView, #ContextMenu-ContextMenu { #appLauncherTop,
#appLauncherMainView,
#ContextMenu-ContextMenu {
background-color: @surface0 !important; background-color: @surface0 !important;
} }
#ShareMenu { #ShareMenu {
background-color: @color; background-color: @color;
color: @base; color: @base;
} }
#Floatie-FontPicker-Floatie > div:nth-child(1), #Floatie-FontSize-Floatie > div:nth-child(2) { #Floatie-FontPicker-Floatie > div:nth-child(1),
#Floatie-FontSize-Floatie > div:nth-child(2) {
background-color: @base; background-color: @base;
} }
#Floatie-FontPicker-Floatie > div:nth-child(1) > input:nth-child(1), #Floatie-FontSize-Floatie-input { #Floatie-FontPicker-Floatie > div:nth-child(1) > input:nth-child(1),
#Floatie-FontSize-Floatie-input {
color: @text; color: @text;
} }
#Floatie-FontPicker-Floatie > div:nth-child(1) { #Floatie-FontPicker-Floatie > div:nth-child(1) {
border-color: 1px solid @surface2; border-color: 1px solid @surface2;
} }
#Floatie-FontSize-Floatiewrapper { #Floatie-FontSize-Floatiewrapper {
border-color: @surface2; border-color: @surface2;
} }
[data-unique-id="ReactTabbedPanelMenuContainer"] > div:nth-child(1) { [data-unique-id="ReactTabbedPanelMenuContainer"] > div:nth-child(1) {
background-color: @base !important; background-color: @base !important;
} }
#TellMe-Menu > div:nth-child(1) { #TellMe-Menu > div:nth-child(1) {
background-color: @surface0 !important; background-color: @surface0 !important;
> ul:nth-child(1) > li, ul:nth-child(1) > li:nth-child(2) { > ul:nth-child(1) > li,
ul:nth-child(1) > li:nth-child(2) {
div:nth-child(1) > ul:nth-child(1) { div:nth-child(1) > ul:nth-child(1) {
> li { > li {
background-color: @surface0 !important; background-color: @surface0 !important;
@@ -150,42 +155,62 @@
} }
} }
} }
._1acxHZf6WaSGxss7AMw7aZ.o365sx-neutral-lighter-hover-background:hover, ._1acxHZf6WaSGxss7AMw7aZ.o365sx-neutral-lighter-hover-background:hover,
._3eLVxYuaVkSqw02CcIH8ec.o365sx-neutral-dark-font.o365sx-neutral-lighter-hover-background:hover, ._3eLVxYuaVkSqw02CcIH8ec.o365sx-neutral-dark-font.o365sx-neutral-lighter-hover-background:hover,
.ribbon-bottom-bar-divider, .ribbon-bottom-bar-divider,
.divider-745, .divider-766 { .divider-745,
.divider-766 {
background-color: @surface1 !important; background-color: @surface1 !important;
} }
#WACViewPanel { #WACViewPanel {
background-color: @mantle !important; background-color: @mantle !important;
} }
.Page { .Page {
background-color: @base !important; background-color: @base !important;
border-color: @surface1 !important; border-color: @surface1 !important;
} }
.Paragraph, #TellMe-Menusection-0-title > div:nth-child(1) > span:nth-child(2), #TellMe-Menusection-1-title > div:nth-child(1) > span:nth-child(2) { .Paragraph,
#TellMe-Menusection-0-title > div:nth-child(1) > span:nth-child(2),
#TellMe-Menusection-1-title > div:nth-child(1) > span:nth-child(2) {
color: @text !important; color: @text !important;
} }
.PageAdornmentHeaderLabelThemed, .PageAdornmentFooterLabelThemed { .PageAdornmentHeaderLabelThemed,
.PageAdornmentFooterLabelThemed {
background-color: @base !important; background-color: @base !important;
border-color: @text !important; border-color: @text !important;
color: @subtext0; color: @subtext0;
} }
[id="WACStatusBarContainer"] > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) { [id="WACStatusBarContainer"]
div:nth-child(1), div:nth-child(3) { > div:nth-child(1)
> button, div:nth-child(2) > div:nth-child(1) { > div:nth-child(1)
> div:nth-child(1)
> div:nth-child(1)
> div:nth-child(1)
> div:nth-child(1)
> div:nth-child(1)
> div:nth-child(1)
> div:nth-child(1)
> div:nth-child(1) {
div:nth-child(1),
div:nth-child(3) {
> button,
div:nth-child(2) > div:nth-child(1) {
&:hover { &:hover {
background-color: @surface1 !important; background-color: @surface1 !important;
} }
} }
} }
div:nth-child(3) > div:nth-child(2) > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) { div:nth-child(3)
> div:nth-child(2)
> div:nth-child(1)
> div:nth-child(2)
> div:nth-child(1) {
> div:nth-child(1) > span:nth-child(1) { > div:nth-child(1) > span:nth-child(1) {
background: @color !important; background: @color !important;
} }
@@ -202,15 +227,19 @@
} }
} }
} }
#ReactFloatie > div:nth-child(1) { #ReactFloatie > div:nth-child(1) {
background: @surface0 !important; background: @surface0 !important;
} }
#documentTitle > span:nth-child(1) > div:nth-child(2) > i:nth-child(1) > svg:nth-child(1) { #documentTitle
> span:nth-child(1)
> div:nth-child(2)
> i:nth-child(1)
> svg:nth-child(1) {
fill: @text; fill: @text;
} }
#ProgressBar { #ProgressBar {
background-color: @surface0; background-color: @surface0;
&:hover { &:hover {
@@ -235,29 +264,28 @@
color: @text; color: @text;
} }
} }
#AppBrand > div:nth-child(1) > div:nth-child(1) > a:nth-child(1) { #AppBrand > div:nth-child(1) > div:nth-child(1) > a:nth-child(1) {
&:hover { &:hover {
background-color: @surface0; background-color: @surface0;
} }
} }
#appLauncherTop > div:nth-child(1) { #appLauncherTop > div:nth-child(1) {
> div:nth-child(1) > button:nth-child(1) { > div:nth-child(1) > button:nth-child(1) {
&:hover { &:hover {
background-color: @surface1; background-color: @surface1;
} }
} }
> a:nth-child(2) { > a:nth-child(2) {
color: @color; color: @color;
} }
} }
#allAppsLink { #allAppsLink {
color: @color; color: @color;
} }
#ProgressCardScore { #ProgressCardScore {
> div:nth-child(1) { > div:nth-child(1) {
color: @color; color: @color;
@@ -266,59 +294,96 @@
color: @color; color: @color;
} }
} }
#WACStatusBarContainer > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) { #WACStatusBarContainer
> div:nth-child(1)
> div:nth-child(1)
> div:nth-child(1)
> div:nth-child(1)
> div:nth-child(1)
> div:nth-child(1)
> div:nth-child(1) {
background-color: @surface0; background-color: @surface0;
border-top: 1px solid @surface1; border-top: 1px solid @surface1;
> div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) { > div:nth-child(1)
> div:nth-child(1) > button, div:nth-child(3) > button { > div:nth-child(1)
> div:nth-child(1)
> div:nth-child(1) {
> div:nth-child(1) > button,
div:nth-child(3) > button {
color: @subtext0 !important; color: @subtext0 !important;
} }
} }
} }
[data-unique-id="TellMeControl"] { [data-unique-id="TellMeControl"] {
background: @surface0 !important; background: @surface0 !important;
> div:nth-child(2) > label:nth-child(1), [data-icon-name="Search"] { > div:nth-child(2) > label:nth-child(1),
[data-icon-name="Search"] {
color: @subtext0 !important; color: @subtext0 !important;
} }
} }
#ReactTabbedPanelMenuPageContainer { #ReactTabbedPanelMenuPageContainer {
background-color: @surface0 !important; background-color: @surface0 !important;
} }
#UploadDocumentFromHomeTab, #pageSection2CompoundButtonSectionProps > div:nth-child(2) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > button { #UploadDocumentFromHomeTab,
#pageSection2CompoundButtonSectionProps
> div:nth-child(2)
> div:nth-child(1)
> div:nth-child(1)
> div:nth-child(1)
> button {
background-color: @surface0 !important; background-color: @surface0 !important;
&:hover { &:hover {
background-color: @surface1 !important; background-color: @surface1 !important;
} }
} }
#MultilineRibbon-RibbonModeToggleDropdown, #FarPeripheralControls-ModeSwitcherDropdown, #MultilineRibbon-RibbonModeToggleDropdownsection-0-title, #MultilineRibbon-RibbonModeToggleDropdownsection-1-title { #MultilineRibbon-RibbonModeToggleDropdown,
#FarPeripheralControls-ModeSwitcherDropdown,
#MultilineRibbon-RibbonModeToggleDropdownsection-0-title,
#MultilineRibbon-RibbonModeToggleDropdownsection-1-title {
background-color: @surface0 !important; background-color: @surface0 !important;
> div:nth-child(1) > span:nth-child(2) { > div:nth-child(1) > span:nth-child(2) {
color: @text !important; color: @text !important;
} }
} }
.PageAdornmentNumberLabel, .FileMenuButtonSecondaryText, #New, #Open, #Recent { .PageAdornmentNumberLabel,
color: @subtext0 !important .FileMenuButtonSecondaryText,
#New,
#Open,
#Recent {
color: @subtext0 !important;
} }
#Clipboard_MLR-label, #Font_MLR-label, #Paragraph_MLR-label, #Styles-label, #Editing-label, #Dictation-label, #GetAddins-label, #Editor-label { #Clipboard_MLR-label,
color: @subtext0 !important #Font_MLR-label,
#Paragraph_MLR-label,
#Styles-label,
#Editing-label,
#Dictation-label,
#GetAddins-label,
#Editor-label {
color: @subtext0 !important;
} }
span.NormalTextRun, .FileMenuButtonPrimaryText, [class="NewDocumentTemplateLabel"] { span.NormalTextRun,
.FileMenuButtonPrimaryText,
[class="NewDocumentTemplateLabel"] {
color: @text !important; color: @text !important;
} }
svg { svg {
path.OfficeIconColors_m22 { path.OfficeIconColors_m22 {
fill: @text; fill: @text;
} }
path.OfficeIconColors_m24, path.OfficeIconColors_m25, path.OfficeIconColors_m26, path.OfficeIconColors_m2262 { path.OfficeIconColors_m24,
path.OfficeIconColors_m25,
path.OfficeIconColors_m26,
path.OfficeIconColors_m2262 {
fill: @color; fill: @color;
} }
path.OfficeIconColors_m27 { path.OfficeIconColors_m27 {
@@ -330,7 +395,8 @@
path.OfficeIconColors_m212 { path.OfficeIconColors_m212 {
fill: @peach; fill: @peach;
} }
path.OfficeIconColors_m220, path.OfficeIconColors_m221 { path.OfficeIconColors_m220,
path.OfficeIconColors_m221 {
fill: @mauve; fill: @mauve;
} }
path.OfficeIconColors_m213 { path.OfficeIconColors_m213 {
@@ -352,7 +418,6 @@
fill: @text; fill: @text;
} }
} }
} }
.UxDarkMode { .UxDarkMode {