mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
chore: hack the clippy button
This commit is contained in:
parent
79c4049300
commit
7f9827a4ee
1 changed files with 12 additions and 0 deletions
|
|
@ -86,6 +86,18 @@ $minimal-z-index: max($github-header-z-index, $github-pull-request-float-header-
|
|||
}
|
||||
}
|
||||
|
||||
// TODO: use react to render the button content and set color with CSS variables
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root[data-color-mode='auto'] .markdown-body .clippy .icon {
|
||||
filter: invert(0.7); // hack to make it looks like a normal color :P
|
||||
}
|
||||
}
|
||||
:root[data-color-mode='dark'] {
|
||||
.markdown-body .clippy .icon {
|
||||
filter: invert(0.7); // hack to make it looks like a normal color :P
|
||||
}
|
||||
}
|
||||
|
||||
.markdown-body {
|
||||
.clippy-wrapper {
|
||||
position: relative;
|
||||
|
|
|
|||
Loading…
Reference in a new issue