mirror of
https://github.com/catppuccin/gitea.git
synced 2026-03-11 14:44:23 +00:00
Update chroma import to use new upstream
This commit is contained in:
parent
bb79915028
commit
2f75c179b4
1 changed files with 1 additions and 5 deletions
|
|
@ -1,9 +1,5 @@
|
|||
@use "sass:color";
|
||||
|
||||
@mixin chroma($flavor) {
|
||||
@import url("https://raw.githubusercontent.com/catppuccin/chroma/012c54d4b3122128c1523fe7ca2d41e9e11be7e4/dist/#{$flavor}-chroma-style.css");
|
||||
}
|
||||
|
||||
// context-aware lighten: darkens if dark, lightens if light
|
||||
@function ctx_lighten($color, $amount) {
|
||||
$multiplier: if($isDark, -1, 1);
|
||||
|
|
@ -328,6 +324,6 @@ $lvl3: if($isDark, $base, $crust);
|
|||
background: color.change($accent, $alpha: 0.3) !important;
|
||||
}
|
||||
|
||||
@include chroma($flavor);
|
||||
@import "https://chroma.catppuccin.com/#{$flavor}-chroma-style.css";
|
||||
@import "codemirror";
|
||||
@import "monaco";
|
||||
|
|
|
|||
Loading…
Reference in a new issue