feat(migadu-webmail): init (#523)

This commit is contained in:
uncenter authored and GitHub committed 2024-02-20 02:03:44 +00:00
1 parent a6a13d43d0
commit 993cc97341
7 files changed
+426

No files matched your search

+9
View File
@@ -440,6 +440,15 @@ userstyles:
readme:
app-link: "https://office.com"
current-maintainers: [*gitmuslim]
migadu-webmail:
name: Migadu Webmail
category: productivity
readme:
app-link: https://webmail.migadu.com/
usage: |+
> [!NOTE]
> Set Migadu Webmail's built-in theme to 'Migadu' for the optimal experience.
current-maintainers: [*uncenter]
nitter:
name: Nitter
category: social
Binary file not shown.

After

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

+417
View File
@@ -0,0 +1,417 @@
/* ==UserStyle==
@name Migadu Webmail Catppuccin
@namespace github.com/catppuccin/userstyles/styles/migadu-webmail
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/migadu-webmail
@version 0.0.1
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/migadu-webmail/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Amigadu-webmail
@description Soothing pastel theme for Migadu Webmail
@author Catppuccin
@license MIT
@preprocessor less
@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 hideProfilePictures "Hide Profile Pictures" 0
==/UserStyle== */
@-moz-document domain('webmail.migadu.com') {
/* prettier-ignore */
@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; };
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
}
#catppuccin(@lookup, @accent) {
@rosewater: @catppuccin[@@lookup][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo];
@pink: @catppuccin[@@lookup][@pink];
@mauve: @catppuccin[@@lookup][@mauve];
@red: @catppuccin[@@lookup][@red];
@maroon: @catppuccin[@@lookup][@maroon];
@peach: @catppuccin[@@lookup][@peach];
@yellow: @catppuccin[@@lookup][@yellow];
@green: @catppuccin[@@lookup][@green];
@teal: @catppuccin[@@lookup][@teal];
@sky: @catppuccin[@@lookup][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire];
@blue: @catppuccin[@@lookup][@blue];
@lavender: @catppuccin[@@lookup][@lavender];
@text: @catppuccin[@@lookup][@text];
@subtext1: @catppuccin[@@lookup][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2];
@surface1: @catppuccin[@@lookup][@surface1];
@surface0: @catppuccin[@@lookup][@surface0];
@base: @catppuccin[@@lookup][@base];
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent-color: @catppuccin[@@lookup][@@accent];
@orange: mix(@peach, @yellow);
color-scheme: if(@lookup = latte, light, dark);
--main-color: @text;
--main-bg-color: @base;
--border-color: @surface0;
--dropdown-menu-color: @text;
--dropdown-menu-bg-color: @base;
--dropdown-menu-hover-bg-color: @surface1;
--dropdown-menu-hover-color: @text;
--dropdown-menu-disable-color: @overlay0;
--dropdown-menu-border-clr: @surface0;
--folders-color: @text;
--folders-disabled-color: @surface2;
--folders-selected-color: @blue;
--folders-selected-bg-color: fade(@blue, 10%);
--folders-focused-color: @blue;
--folders-hover-color: @text;
--folders-hover-bg-color: @base;
--folders-drop-color: @text;
--settings-menu-color: @text;
--settings-menu-selected-color: @blue;
--settings-menu-selected-bg-color: fade(@blue, 10%);
--settings-menu-hover-color: @text;
--settings-menu-hover-bg-color: @base;
--message-list-toolbar-bg-color: @overlay0;
--panel-bg-clr: @base;
--message-header-bg-clr: @mantle;
--hr-color: @surface0;
--dialog-bg-clr: @base;
--dialog-clr: @text;
--tr-hover-bg-clr: @crust;
--loading-color: @text;
--login-color: @text;
--login-bg-color: @crust;
--tab-hover-border-clr: @surface0;
--tab-active-bg-clr: @crust;
--tr-odd-bg-clr: @mantle;
/* Login page */
.LoginView .btn,
.LoginView input {
border-color: @surface0;
}
.LoginView input:focus,
.LoginView input:hover {
border-color: @surface1;
}
.LoginView input::placeholder {
color: var(--login-color);
}
/* Inbox */
.messageItemHeader,
.bodySubHeader,
.thm-message-list-top-toolbar,
.thm-message-list-bottom-toolbar {
background: @mantle !important;
}
/* Buttons */
--btn-clr: @text;
--btn-border-clr: @overlay0;
.btn.disabled {
color: @surface0;
}
.btn.btn-success:hover,
.btn.btn-success:active {
background-color: desaturate(lighten(fade(@green, 40%), 10%), 10%);
}
.btn.btn-success,
.btn.btn-success [class*=" icon-"],
.btn.btn-success [class^="icon-"] {
color: @green;
}
.btn.disabled.fontastic,
.btn.disabled .fontastic {
color: @surface0;
}
.btn,
.btn.disabled,
.btn[disabled],
.btn.disabled:hover,
.btn[disabled]:hover {
border-color: @surface0 !important;
text-shadow: none !important;
background-color: @base;
}
/* Links */
--link-color: @blue;
#messageItem .b-text-part a:visited {
color: @mauve;
}
/* Inputs */
--input-bg-clr: @base;
--input-border-clr: @surface0;
--input-focus-border-clr: @overlay0;
--input-clr: @subtext1;
input::placeholder {
color: @overlay2;
}
.select,
select {
@svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" height="10px" width="15px"><text x="0" y="10" fill="@{subtext1}">▾</text></svg>'
);
background-image: url("data:image/svg+xml,@{svg}") !important;
}
.e-checkbox.material-design input:checked + div {
border-color: darken(@green, 10%);
}
/* stylelint-disable property-disallowed-list */
@keyframes checkmark-to-box {
0% {
top: -1px;
left: 5px;
width: 10px;
height: 18px;
border: 2px solid darken(@green, 10%);
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
50% {
top: 13px;
left: 5px;
width: 4px;
height: 4px;
transform: rotate(45deg);
}
100% {
top: 0;
left: 0;
width: 18px;
height: 18px;
border: 2px solid @overlay0;
transform: rotate(0);
}
}
@keyframes box-to-checkmark {
0% {
top: 0;
left: 0;
width: 18px;
height: 18px;
border: 2px solid @overlay0;
transform: rotate(0);
}
50% {
top: 13px;
left: 5px;
width: 4px;
height: 4px;
transform: rotate(45deg);
}
100% {
top: -1px;
left: 5px;
width: 10px;
height: 18px;
border: 2px solid darken(@green, 10%);
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
}
/* stylelint-enable property-disallowed-list */
#V-PopupsCompose header .close,
#V-PopupsCompose header .minimize-custom {
color: @surface2;
border-color: @surface0;
}
/* Nothing selected */
.messageView .b-message-view-desc,
#V-PopupsContacts .b-view-content .b-contact-view-desc {
color: @overlay0;
}
/* Loading messages */
.messageList .b-content {
.listDragOver,
.listEmptyMessage,
.listError,
.listLoading {
color: @overlay0;
}
.listError {
color: @red;
}
}
#messageItem .loading, #V-PopupsContacts .b-list-content .listEmptyList, #V-PopupsContacts .b-list-content .listEmptyListLoading, #V-PopupsContacts .b-list-content .listEmptySearchList {
color: @overlay0;
}
.icon-spinner {
border-color: @surface1;
border-top-color: @text;
}
.iconcolor-green {
color: @green;
}
.iconcolor-red {
color: @red;
}
.b-folders .is-flagged .flag-icon::after,
.messageListItem.hasFlaggedSubMessage .flagParent::after,
.messageListItem.msgflag-\\flagged .flagParent::after {
color: @orange;
}
.btn.btn-danger,
.btn.btn-info,
.btn.btn-inverse,
.btn.btn-primary,
.btn.btn-success,
.btn.btn-warning,
.btn [class*=" icon-"],
.btn [class^="icon-"] {
color: @text;
}
/* Tags */
.msgflag-\$important .checkboxMessage {
background-color: @red;
}
.msgflag-\$important.focused {
background-color: fade(@red, 30%);
}
.msgflag-\$important:not(.focused) {
color: @red;
}
.msgflag-\$todo .checkboxMessage {
background-color: @blue;
color: @text;
}
.msgflag-\$todo.focused {
background-color: fade(@blue, 30%);
}
.msgflag-\$todo:not(.focused) {
color: @blue;
}
.msgflag-\$label5 .checkboxMessage {
background-color: darken(@pink, 10%);
color: @text;
}
.msgflag-\$label4 .checkboxMessage {
background-color: @blue;
color: @text;
}
.msgflag-\$label3 .checkboxMessage {
background-color: @green;
color: @text;
}
.msgflag-\$label2 .checkboxMessage {
background-color: @orange;
color: @text;
}
.msgflag-\$label1 .checkboxMessage {
background-color: @red;
color: @text;
}
.msgflag-\$label5.focused {
background-color: fade(@pink, 30%);
}
.msgflag-\$label4.focused {
background-color: fade(@blue, 30%);
}
.msgflag-\$label3.focused {
background-color: fade(@green, 30%);
}
.msgflag-\$label2.focused {
background-color: fade(mix(@red, @yellow), 30%);
}
.msgflag-\$label1.focused {
background-color: fade(@red, 30%);
}
.msgflag-\$label5:not(.focused) {
color: darken(@pink, 10%);
}
.msgflag-\$label4:not(.focused) {
color: @blue;
}
.msgflag-\$label3:not(.focused) {
color: @green;
}
.msgflag-\$label2:not(.focused) {
color: @orange;
}
.msgflag-\$label1:not(.focused) {
color: @red;
}
.messageList .b-content .listSearchDesc {
border-bottom-color: @surface0;
}
/* Profile pictures */
img.fromPic when (@hideProfilePictures = 1) {
display: none;
}
/* Settings */
#V-Settings-Themes figure {
&.selected {
background-color: fade(@green, 40%);
border-color: @text;
}
&:hover {
border-color: @surface0;
}
}
}
@media (prefers-color-scheme: light) {
:root {
#catppuccin(@lightFlavor, @accentColor);
}
}
@media (prefers-color-scheme: dark) {
:root {
#catppuccin(@darkFlavor, @accentColor);
}
}
}
// vim:ft=less