ui/pager: extract colors as CSS variables
Some checks failed
Checks / main (push) Has been cancelled

This commit is contained in:
Adorian Doran 2026-02-17 12:12:34 +02:00
parent 827bb9a32f
commit 0621dfbac7

View File

@ -1,6 +1,9 @@
:where(.note-list-pager) {
--note-list-pager-page-button-width: 40px;
--note-list-pager-ellipsis-width: 20px;
--note-list-pager-current-page-button-background-color: var(--active-item-background-color);
--note-list-pager-current-page-button-text-color: var(--muted-text-color);
}
.note-list-pager-container {
@ -37,8 +40,8 @@
padding-block: 4px;
&.note-list-pager-page-button-current {
background: var(--active-item-background-color);
color: var(--muted-text-color);
background: var(--note-list-pager-current-page-button-background-color);
color: var(--note-list-pager-current-page-button-text-color);
font-weight: bold;
opacity: unset;
}