Skip to content

Commit 976cb85

Browse files
ci(lint): disallow other general border-* properties (catppuccin#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 <isabel@isabelroses.com>
1 parent e20e08d commit 976cb85

7 files changed

Lines changed: 17 additions & 21 deletions

File tree

.stylelintrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ const config = {
4848

4949
// Prefer `border-color` over `border`, `outline-color` over `outline`, etc.
5050
"border",
51+
"border-top",
52+
"border-right",
53+
"border-bottom",
54+
"border-left",
5155
"outline",
5256
],
5357
{

styles/chatreplay/catppuccin.user.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@
188188
opacity: @bg-opacity;
189189
filter: blur(@bg-blur);
190190
}
191-
.topbar-container.c1j5psx1.c1j5psx1 {
192-
border-bottom: none;
193-
}
191+
// .topbar-container.c1j5psx1.c1j5psx1 {
192+
// border-bottom: none;
193+
// }
194194
#inner-a.tmgko.tmgko {
195195
background: @mantle;
196196
}

styles/google/catppuccin.user.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@
455455
}
456456
.appbar {
457457
background: @base;
458-
border-top: 1px solid @surface1;
458+
border-top-color: @surface1;
459459
}
460460
.bSeRjc:hover .fKmH1e {
461461
color: @subtext1;
@@ -1413,7 +1413,7 @@
14131413
color: @subtext0;
14141414
}
14151415
.diOlIe {
1416-
border-top: 1px solid @overlay0;
1416+
border-top-color: @overlay0;
14171417
}
14181418
.p4pvTd {
14191419
color: @text;
@@ -1441,7 +1441,7 @@
14411441
}
14421442
.CbAZb {
14431443
background: @base;
1444-
border-bottom: 1px solid @surface0;
1444+
border-bottom-color: @surface0;
14451445
}
14461446
.S8wJ3 {
14471447
color: @text !important;
@@ -1457,7 +1457,7 @@
14571457
}
14581458
.fgc1P,
14591459
.N7KPxb {
1460-
border-top: 1px solid @surface0 !important;
1460+
border-top-color: @surface0 !important;
14611461
}
14621462
.kQEH5b {
14631463
color: @subtext0 !important;

styles/mastodon/catppuccin.user.css

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@name Mastodon Catppuccin
33
@namespace github.com/catppuccin/userstyles/styles/mastodon
44
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/mastodon
5-
@version 1.1.12
5+
@version 1.2.0
66
@description Soothing pastel theme for Mastodon
77
@author Catppuccin
88
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/mastodon/catppuccin.user.css
@@ -91,10 +91,6 @@ domain("wetdry.world") {
9191
color: @text;
9292
}
9393

94-
.ui__header {
95-
border-bottom: none;
96-
}
97-
9894
.navigation-panel,
9995
.column-link {
10096
background: transparent;
@@ -266,10 +262,6 @@ domain("wetdry.world") {
266262
background: @surface0;
267263
}
268264

269-
.detailed-status__wrapper > div:first-child .detailed-status {
270-
border-top: none;
271-
}
272-
273265
.dismissable-banner {
274266
border-color: @surface1;
275267
background: @base;

styles/microsoft-word/catppuccin.user.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@
304304
> div:nth-child(1)
305305
> div:nth-child(1) {
306306
background-color: @surface0;
307-
border-top: 1px solid @surface1;
307+
border-top-color: @surface1;
308308
> div:nth-child(1)
309309
> div:nth-child(1)
310310
> div:nth-child(1)

styles/planet-minecraft/catppuccin.user.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,9 @@
282282
}
283283
}
284284

285-
.content-actions li:not(:only-child, :first-child) {
286-
border-top: none;
287-
}
285+
// .content-actions li:not(:only-child, :first-child) {
286+
// border-top: none;
287+
// }
288288

289289
.tipso_content,
290290
.member_profile_card_right {

styles/quizlet/catppuccin.user.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
.TopNavigation {
7070
background-color: @crust;
71-
border-bottom: none;
71+
// border-bottom: none;
7272
}
7373

7474
.s19dmjr1 {

0 commit comments

Comments
 (0)