fix(github): mermaid diagrams (#1495)

This commit is contained in:
Cookie authored and GitHub committed 2024-12-15 20:47:11 -05:00
1 parent 8b450e602b
commit c327d9517c
1 file changed
+22 -2
+22 -2
View File
@@ -2,7 +2,7 @@
@name GitHub Catppuccin
@namespace github.com/catppuccin/userstyles/styles/github
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/github
@version 1.8.1
@version 1.8.2
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/github/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agithub
@description Soothing pastel theme for GitHub
@@ -687,6 +687,16 @@
--color-btn-counter-bg: @surface2;
--color-btn-outline-text: @accent-color;
--color-fg-muted: @subtext1;
--button-default-fgColor-rest: @text;
--button-default-bgColor-rest: @surface0;
--button-default-bgColor-hover: @surface1;
--button-default-bgColor-active: @surface2;
--button-default-bgColor-selected: @surface2;
--button-default-bgColor-disabled: fade(@surface0, 70%);
--button-default-borderColor-rest: @surface1;
--button-default-borderColor-hover: @surface1;
--button-default-borderColor-active: @surface1;
--button-default-borderColor-disabled: fade(@surface0, 70%);
#diagram {
.node rect,
@@ -697,6 +707,11 @@
fill: fade(@accent-color, 10%);
stroke: @accent-color;
}
.cluster rect {
fill: @surface0;
stroke: @surface2;
}
.label text,
span,
@@ -705,7 +720,9 @@
color: @text;
}
.flowchart-link,
.flowchart-link {
stroke: @subtext0;
}
.marker {
stroke: @subtext0;
fill: @subtext0;
@@ -713,6 +730,9 @@
.edgeLabel {
background-color: @crust;
p {
background-color: @surface2;
}
}
}