ci(lint): disallow other general border-* properties (#448)

* ci(lint): disallow other general border-* properties

* refactor: lint fixes, comment out erroneous code

* chore(mastodon): remove dead css

* fix: another border-top usage

---------

Co-authored-by: Isabel <[email protected]>
This commit is contained in:
uncenterandIsabel authored and GitHub committed 2024-02-20 13:34:03 +00:00
1 parent e20e08dd15
commit 976cb855b7
7 files changed
+17 -21

No files matched your search

+4
View File
@@ -48,6 +48,10 @@ const config = {
// Prefer `border-color` over `border`, `outline-color` over `outline`, etc. // Prefer `border-color` over `border`, `outline-color` over `outline`, etc.
"border", "border",
"border-top",
"border-right",
"border-bottom",
"border-left",
"outline", "outline",
], ],
{ {
+3 -3
View File
@@ -188,9 +188,9 @@
opacity: @bg-opacity; opacity: @bg-opacity;
filter: blur(@bg-blur); filter: blur(@bg-blur);
} }
.topbar-container.c1j5psx1.c1j5psx1 { // .topbar-container.c1j5psx1.c1j5psx1 {
border-bottom: none; // border-bottom: none;
} // }
#inner-a.tmgko.tmgko { #inner-a.tmgko.tmgko {
background: @mantle; background: @mantle;
} }
+4 -4
View File
@@ -455,7 +455,7 @@
} }
.appbar { .appbar {
background: @base; background: @base;
border-top: 1px solid @surface1; border-top-color: @surface1;
} }
.bSeRjc:hover .fKmH1e { .bSeRjc:hover .fKmH1e {
color: @subtext1; color: @subtext1;
@@ -1413,7 +1413,7 @@
color: @subtext0; color: @subtext0;
} }
.diOlIe { .diOlIe {
border-top: 1px solid @overlay0; border-top-color: @overlay0;
} }
.p4pvTd { .p4pvTd {
color: @text; color: @text;
@@ -1441,7 +1441,7 @@
} }
.CbAZb { .CbAZb {
background: @base; background: @base;
border-bottom: 1px solid @surface0; border-bottom-color: @surface0;
} }
.S8wJ3 { .S8wJ3 {
color: @text !important; color: @text !important;
@@ -1457,7 +1457,7 @@
} }
.fgc1P, .fgc1P,
.N7KPxb { .N7KPxb {
border-top: 1px solid @surface0 !important; border-top-color: @surface0 !important;
} }
.kQEH5b { .kQEH5b {
color: @subtext0 !important; color: @subtext0 !important;
+1 -9
View File
@@ -2,7 +2,7 @@
@name Mastodon Catppuccin @name Mastodon Catppuccin
@namespace github.com/catppuccin/userstyles/styles/mastodon @namespace github.com/catppuccin/userstyles/styles/mastodon
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/mastodon @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/mastodon
@version 1.1.12 @version 1.2.0
@description Soothing pastel theme for Mastodon @description Soothing pastel theme for Mastodon
@author Catppuccin @author Catppuccin
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/mastodon/catppuccin.user.css @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/mastodon/catppuccin.user.css
@@ -91,10 +91,6 @@ domain("wetdry.world") {
color: @text; color: @text;
} }
.ui__header {
border-bottom: none;
}
.navigation-panel, .navigation-panel,
.column-link { .column-link {
background: transparent; background: transparent;
@@ -266,10 +262,6 @@ domain("wetdry.world") {
background: @surface0; background: @surface0;
} }
.detailed-status__wrapper > div:first-child .detailed-status {
border-top: none;
}
.dismissable-banner { .dismissable-banner {
border-color: @surface1; border-color: @surface1;
background: @base; background: @base;
+1 -1
View File
@@ -304,7 +304,7 @@
> 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-color: @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)
+3 -3
View File
@@ -282,9 +282,9 @@
} }
} }
.content-actions li:not(:only-child, :first-child) { // .content-actions li:not(:only-child, :first-child) {
border-top: none; // border-top: none;
} // }
.tipso_content, .tipso_content,
.member_profile_card_right { .member_profile_card_right {
+1 -1
View File
@@ -68,7 +68,7 @@
.TopNavigation { .TopNavigation {
background-color: @crust; background-color: @crust;
border-bottom: none; // border-bottom: none;
} }
.s19dmjr1 { .s19dmjr1 {