Skip to content

Commit c327d95

Browse files
authored
fix(github): mermaid diagrams (catppuccin#1495)
1 parent 8b450e6 commit c327d95

1 file changed

Lines changed: 22 additions & 2 deletions

File tree

styles/github/catppuccin.user.css

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@name GitHub Catppuccin
33
@namespace github.com/catppuccin/userstyles/styles/github
44
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/github
5-
@version 1.8.1
5+
@version 1.8.2
66
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/github/catppuccin.user.css
77
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agithub
88
@description Soothing pastel theme for GitHub
@@ -687,6 +687,16 @@
687687
--color-btn-counter-bg: @surface2;
688688
--color-btn-outline-text: @accent-color;
689689
--color-fg-muted: @subtext1;
690+
--button-default-fgColor-rest: @text;
691+
--button-default-bgColor-rest: @surface0;
692+
--button-default-bgColor-hover: @surface1;
693+
--button-default-bgColor-active: @surface2;
694+
--button-default-bgColor-selected: @surface2;
695+
--button-default-bgColor-disabled: fade(@surface0, 70%);
696+
--button-default-borderColor-rest: @surface1;
697+
--button-default-borderColor-hover: @surface1;
698+
--button-default-borderColor-active: @surface1;
699+
--button-default-borderColor-disabled: fade(@surface0, 70%);
690700

691701
#diagram {
692702
.node rect,
@@ -697,6 +707,11 @@
697707
fill: fade(@accent-color, 10%);
698708
stroke: @accent-color;
699709
}
710+
711+
.cluster rect {
712+
fill: @surface0;
713+
stroke: @surface2;
714+
}
700715

701716
.label text,
702717
span,
@@ -705,14 +720,19 @@
705720
color: @text;
706721
}
707722

708-
.flowchart-link,
723+
.flowchart-link {
724+
stroke: @subtext0;
725+
}
709726
.marker {
710727
stroke: @subtext0;
711728
fill: @subtext0;
712729
}
713730

714731
.edgeLabel {
715732
background-color: @crust;
733+
p {
734+
background-color: @surface2;
735+
}
716736
}
717737
}
718738

0 commit comments

Comments
 (0)