Skip to content

Commit

Permalink
fix(arch-linux): replace fadeout and hsla with fade
Browse files Browse the repository at this point in the history
  • Loading branch information
claymorwan authored and uncenter committed Jan 5, 2025
1 parent a40639b commit c2d58c7
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions styles/arch-linux/catppuccin.user.less
Original file line number Diff line number Diff line change
Expand Up @@ -242,20 +242,20 @@
}

.archwiki-template-box-tip {
background-color: fadeout(hsla(90, 90%, 65%, 0.3), 10%) !important;
border-color: fadeout(hsla(90, 90%, 75%, 0.3), 10%);
background-color: fade(@green, 30%) !important;
border-color: fade(@green, 80%) !important;
color: @subtext1;
}

.archwiki-template-box-note {
background-color: fadeout(hsla(208, 100%, 61%, 0.3), 5%) !important;
border-color: fadeout(hsla(208, 100%, 81%, 0.3), 5%) !important;
background-color: fade(@blue, 25%) !important;
border-color: fade(@blue, 80%) !important;
color: @subtext1;
}

.archwiki-template-box-warning {
background-color: fadeout(hsla(7, 99%, 60%, 0.3), 5%) !important;
border-color: fadeout(hsla(7, 99%, 80%, 0.3), 05%) !important;
background-color: fade(@red, 40%) !important;
border-color: fade(@red, 80%) !important;
color: @subtext1;
}

Expand Down Expand Up @@ -400,6 +400,13 @@

.archwiki-template-meta-related-articles {
background-color: @surface0;
p {
background-color: @surface0 !important;
border-color: @accent !important;
}
ul {
background-color: @base !important;
}
}

.archwiki-template-meta-related-articles p {

Check failure on line 412 in styles/arch-linux/catppuccin.user.less

View workflow job for this annotation

GitHub Actions / lint

Unexpected duplicate selector ".archwiki-template-meta-related-articles p", first used at line 403 (no-duplicate-selectors)
Expand Down Expand Up @@ -938,8 +945,8 @@
}
}
#news pre {
background-color: fadeout(hsla(90, 90%, 65%, 0.3), 10%) !important;
border-color: fadeout(hsla(90, 90%, 75%, 0.3), 10%);
background-color: fade(@green, 30%) !important;
border-color: fade(@green, 10%);
code {
background-color: transparent;
color: @subtext1 !important;
Expand Down

0 comments on commit c2d58c7

Please sign in to comment.