feat: catppuccin loading gif, additional vars (#712)

This commit is contained in:
uncenter authored and GitHub committed 2024-03-25 09:22:13 -04:00
1 parent 5ae5ade89e
commit aa52245cd5
1 file changed
+23 -7
+23 -7
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.4.1
@version 1.5.0
@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
@@ -295,7 +295,7 @@
--control-bgColor-rest: #21262d;
--control-bgColor-hover: #292e36;
--control-bgColor-active: #31363e;
--control-bgColor-disabled: #21262db3;
--control-bgColor-disabled: fade(@mantle, 60%);
--control-bgColor-selected: #161b22;
--control-fgColor-rest: #c9d1d9;
--control-fgColor-placeholder: #484f58;
@@ -326,10 +326,10 @@
--control-checked-bgColor-disabled: #6e7681;
--control-checked-fgColor-rest: @text;
--control-checked-fgColor-disabled: #010409;
--control-checked-borderColor-rest: #1f6feb;
--control-checked-borderColor-hover: #2a7aef;
--control-checked-borderColor-active: #3685f3;
--control-checked-borderColor-disabled: #6e7681;
--control-checked-borderColor-rest: @blue;
--control-checked-borderColor-hover: @sapphire;
--control-checked-borderColor-active: @sky;
--control-checked-borderColor-disabled: @surface0;
--controlTrack-bgColor-rest: @surface0;
--controlTrack-bgColor-hover: @surface1;
--controlTrack-bgColor-active: @surface2;
@@ -425,7 +425,7 @@
--buttonCounter-danger-fgColor-hover: @text;
--buttonCounter-danger-fgColor-disabled: fade(@red, 50%);
--focus-outlineColor: @blue;
--menu-bgColor-active: #161b22;
--menu-bgColor-active: @mantle;
--overlay-bgColor: @mantle;
--overlay-borderColor: @surface0;
--overlay-backdrop-bgColor: #161b2266;
@@ -672,6 +672,22 @@
);
background-image: url("data:image/svg+xml,@{svg}");
}
picture:has(img[src="https://github.githubassets.com/assets/mona-loading-default-c3c7aad1282f.gif"])
{
justify-content: center;
display: flex;
img {
display: block;
box-sizing: border-box;
background: url("https://giscus.catppuccin.com/assets/loading_48x48.gif")
no-repeat;
width: 48px;
height: 48px;
padding-left: 48px;
}
}
}
}