style(next): rename CSS variable

This commit is contained in:
Adorian Doran 2025-03-27 15:43:33 +02:00
parent 01004ac425
commit 4ab70fcb8a
4 changed files with 5 additions and 5 deletions

View File

@ -191,7 +191,7 @@
--right-pane-item-hover-color: white; --right-pane-item-hover-color: white;
--scrollbar-thumb-color: #fdfdfd5c; --scrollbar-thumb-color: #fdfdfd5c;
--scrollbar-thumb-color-hover: #ffffff7d; --scrollbar-thumb-hover-color: #ffffff7d;
--scrollbar-border-color: unset; /* Deprecated */ --scrollbar-border-color: unset; /* Deprecated */
--scrollbar-background-color: unset; /* Deprecated */ --scrollbar-background-color: unset; /* Deprecated */

View File

@ -190,7 +190,7 @@
--right-pane-item-hover-color: inherit; --right-pane-item-hover-color: inherit;
--scrollbar-thumb-color: #0000005c; --scrollbar-thumb-color: #0000005c;
--scrollbar-thumb-color-hover: #00000066; --scrollbar-thumb-hover-color: #00000066;
--scrollbar-border-color: unset; /* Deprecated */ --scrollbar-border-color: unset; /* Deprecated */
--scrollbar-background-color: unset; /* Deprecated */ --scrollbar-background-color: unset; /* Deprecated */

View File

@ -707,7 +707,7 @@ input[type="range"] {
::-webkit-scrollbar-thumb:hover { ::-webkit-scrollbar-thumb:hover {
--s-thumb-thickness: var(--scrollbar-thumb-hover-thickness); --s-thumb-thickness: var(--scrollbar-thumb-hover-thickness);
--s-thumb-color: var(--scrollbar-thumb-color-hover); --s-thumb-color: var(--scrollbar-thumb-hover-color);
} }
/* Scrollbar's increment/decrement buttons (repurposed as a scrollbar start/end gap) */ /* Scrollbar's increment/decrement buttons (repurposed as a scrollbar start/end gap) */
@ -724,7 +724,7 @@ input[type="range"] {
* Firefox scrollbars * Firefox scrollbars
* *
* Unsupported features: --scrollbar-thumb-thickness, --scrollbar-thumb-hover-thickness, * Unsupported features: --scrollbar-thumb-thickness, --scrollbar-thumb-hover-thickness,
* --scrollbar-start-end-gap, --scrollbar-thumb-color-hover. * --scrollbar-start-end-gap, --scrollbar-thumb-hover-color.
*/ */
:root { :root {

View File

@ -44,7 +44,7 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child {
.ck-content pre code { .ck-content pre code {
--scrollbar-thumb-color: gray; --scrollbar-thumb-color: gray;
--scrollbar-thumb-color-hover: gray; --scrollbar-thumb-hover-color: gray;
} }
.ck-content pre code::-webkit-scrollbar-track, .ck-content pre code::-webkit-scrollbar-track,