chore: en-GB -> en-US (#47)

This commit is contained in:
winston authored and GitHub committed 2023-07-21 00:14:23 +02:00
1 parent c3c6fa529c
commit 3d2ef9db84
18 files changed
+277 -277

No files matched your search

+39 -39
View File
@@ -8,8 +8,8 @@
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/deepl/catppuccin.user.css
@preprocessor less
@var select theme "Flavour" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
@var select accentColour "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:Grey"]
@var select theme "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 quotes "Remove Quotes" 0
@var checkbox header "Remove Header" 0
@@ -21,7 +21,7 @@
==/UserStyle== */
@-moz-document url-prefix("https://www.deepl.com/translator") {
:root {
#catppuccin(@theme, @accentColour);
#catppuccin(@theme, @accentColor);
}
@catppuccin: {
@@ -166,9 +166,9 @@
@base: @catppuccin[@@lookup][@base];
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent-colour: @catppuccin[@@lookup][@@accent];
@accent-Color: @catppuccin[@@lookup][@@accent];
@accent2: mix(@accent-colour, @text, 60%);
@accent2: mix(@accent-Color, @text, 60%);
.dl_body {
color: @subtext1;
@@ -299,13 +299,13 @@
}
.dl_headerMenu__proButton {
background-color: @accent-colour;
background-color: @accent-Color;
& when (@lookup ="latte") {
color: #fff;
}
color: @crust;
&:hover {
background-color: darken(@accent-colour, 30%);
background-color: darken(@accent-Color, 30%);
& when (@lookup ="latte") {
color: #fff;
}
@@ -317,7 +317,7 @@
color: @accent2;
&:hover {
color: @accent-colour;
color: @accent-Color;
}
}
@@ -330,14 +330,14 @@
&:hover {
&::before,
&::after {
color: @accent-colour;
color: @accent-Color;
}
}
}
.dl_headerMenu__freeBadge,
.dl_headerMenu__fadeoutBadge {
background-color: spin(@accent-colour, -40deg);
background-color: spin(@accent-Color, -40deg);
& when (@lookup ="latte") {
color: #fff;
}
@@ -345,13 +345,13 @@
}
.dl_header_menu_v2__links__item.dl_translator_link:not(.nohover):hover {
color: @accent-colour;
color: @accent-Color;
}
.dl_header_menu_v2__links__item:not(.nohover):hover,
.dl_header_menu_v2__links__item.is-active {
border-bottom-color: @accent-colour;
color: @accent-colour;
border-bottom-color: @accent-Color;
color: @accent-Color;
}
#new-menu-container {
@@ -380,14 +380,14 @@
&:hover {
&::before,
&::after {
background-color: @accent-colour;
background-color: @accent-Color;
}
}
}
}
.lmt--web .lmt__language_container .lmt__language_container_switch:hover,
.lmt--web .lmt__language_container .lmt__language_container_switch:focus {
color: @accent-colour;
color: @accent-Color;
}
.lmt__docTrans-tab-container {
@@ -406,7 +406,7 @@
[class*="logo"],
[class^="textUpper--"] {
color: @accent-colour;
color: @accent-Color;
}
[class*="active--"] {
@@ -416,7 +416,7 @@
}
[class^="innerLower--"] {
background-color: @accent-colour;
background-color: @accent-Color;
}
}
}
@@ -462,7 +462,7 @@
&:hover {
strong,
.lmt__language_select__opener {
color: @accent-colour;
color: @accent-Color;
}
}
}
@@ -504,7 +504,7 @@
.dl_body--redesign .lmt--web .lmt__textarea_container.lmt__textarea_container--focus,
.integratedLanguageSelectors .lmt--web .lmt__sides_container.lmt__sides_container--focus_source .lmt__side_container.lmt__side_container--source .lmt__textarea_container,
.integratedLanguageSelectors .lmt--web .lmt__sides_container.lmt__sides_container--focus_target .lmt__side_container.lmt__side_container--target .lmt__textarea_container {
border: 1px solid @accent-colour !important;
border: 1px solid @accent-Color !important;
}
.lmt--web .lmt__language_container .lmt__language_container_switch {
@@ -545,7 +545,7 @@
[class*="button--"] {
&:active:enabled,
&:hover:enabled {
color: @accent-colour;
color: @accent-Color;
}
}
} // language selector
@@ -575,15 +575,15 @@
}
.lmt--web .lmt__language_select__menu_three_columns_close_button {
color: @accent-colour;
color: @accent-Color;
}
.lmt__language_select__menu.lmt__language_select__menu_three_columns .lmt__language_wrapper .lmt__language_select_column button .tick {
border-bottom-color: @accent-colour;
border-right-color: @accent-colour;
border-bottom-color: @accent-Color;
border-right-color: @accent-Color;
} // glossary
.lmt__glossary_highlight {
color: @accent-colour;
color: @accent-Color;
}
.lmt__glossaryButton__desktop {
@@ -591,11 +591,11 @@
}
.lmt__glossary_button .lmt__glossary_button_label:hover {
color: @accent-colour;
color: @accent-Color;
}
.lmt__glossary_editor_mainBar {
background-color: @accent-colour;
background-color: @accent-Color;
& when (@lookup ="latte") {
color: #fff;
}
@@ -627,7 +627,7 @@
color: @subtext1;
&:hover {
color: @accent-colour;
color: @accent-Color;
}
}
@@ -649,7 +649,7 @@
.lmt_firstEntry-content .lmt__glossary_newEntry_inputSource:focus,
.lmt_firstEntry-content .lmt__glossary_newEntry_inputTarget:focus {
border-color: @accent-colour;
border-color: @accent-Color;
}
.lmt_firstEntry-content .lmt__glossary_acceptButton {
@@ -662,7 +662,7 @@
.lmt__glossary_acceptButton.lmt__glossary_acceptButton--disabled {
&,
&:hover {
background-color: fadeout(@accent-colour, 0.5);
background-color: fadeout(@accent-Color, 0.5);
}
}
@@ -691,7 +691,7 @@
background-color: @accent2;
&:hover {
background-color: @accent-colour;
background-color: @accent-Color;
}
}
@@ -710,17 +710,17 @@
}
.lmt__glossary_editor_subBar_bottom .lmt__glossary_editor_glossaryAddNewWrapper .lmt__glossary_editor_glossaryAddNew {
color: @accent-colour;
color: @accent-Color;
}
.lmt__glossary_editor {
background-color: @base;
color: @text;
border-color: @accent-colour;
border-color: @accent-Color;
}
.lmt__glossaryButton__desktop.switchedOn {
border-color: @accent-colour;
border-color: @accent-Color;
}
.lmt__glossary_editorRow_editMode .editInput {
@@ -782,7 +782,7 @@
}
.lmt_quote__source a {
color: @accent-colour;
color: @accent-Color;
} // popup
.lmt__edit_text_popup {
background-color: @surface1;
@@ -803,7 +803,7 @@
.isForeignTerm .tag_trans,
.isForeignTerm .tag_trans a .isForeignTerm .tag_t,
.tag_t a {
color: @accent-colour;
color: @accent-Color;
}
.sep {
@@ -820,7 +820,7 @@
}
span > span > button:hover {
color: @accent-colour;
color: @accent-Color;
}
} // quotes
.lmt_quotes_nav_entry {
@@ -829,8 +829,8 @@
}
.lmt_quotes_nav_entry--active {
color: @accent-colour;
background-color: @accent-colour;
color: @accent-Color;
background-color: @accent-Color;
} // footer
.dl_footerV2_container {
[class*="linkList--"] li {
@@ -839,7 +839,7 @@
}
[class*="badge--"] {
background-color: spin(@accent-colour, -40deg) !important;
background-color: spin(@accent-Color, -40deg) !important;
& when (@lookup ="latte") {
color: #fff;
}