mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-22 04:40:40 +00:00
fix mixed code copy color (#699)
This commit is contained in:
parent
ce62f7bc44
commit
327d1a5b25
@ -116,8 +116,8 @@
|
|||||||
--code-font-color: #{$code-font-color-dark};
|
--code-font-color: #{$code-font-color-dark};
|
||||||
|
|
||||||
--code-copy-background: #{$code-background-dark};
|
--code-copy-background: #{$code-background-dark};
|
||||||
--code-copy-font-color: #{$code-font-color-dark};
|
--code-copy-font-color: #{darken($code-font-color-dark, 15)};
|
||||||
--code-copy-border-color: #{$code-font-color-dark};
|
--code-copy-border-color: #{darken($code-font-color-dark, 20)};
|
||||||
--code-copy-success-color: #{scale-color(map.get($hint-colors, "ok"), $alpha: -55%)};
|
--code-copy-success-color: #{scale-color(map.get($hint-colors, "ok"), $alpha: -55%)};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -130,7 +130,7 @@
|
|||||||
--code-font-color: #{$code-font-color};
|
--code-font-color: #{$code-font-color};
|
||||||
|
|
||||||
--code-copy-background: #{$code-background};
|
--code-copy-background: #{$code-background};
|
||||||
--code-copy-font-color: #{$code-font-color};
|
--code-copy-font-color: #{lighten($code-font-color, 15)};
|
||||||
--code-copy-border-color: #{lighten($body-font-color, 48)};
|
--code-copy-border-color: #{lighten($code-font-color, 20)};
|
||||||
--code-copy-success-color: #{map.get($hint-colors, "ok")};
|
--code-copy-success-color: #{map.get($hint-colors, "ok")};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user