Init AxoSwitch/AxoCheckbox & forced-colors mode

This commit is contained in:
Jamie Kyle
2025-09-10 13:25:46 -07:00
committed by GitHub
parent 53d1650844
commit 58f2dd94d2
27 changed files with 622 additions and 290 deletions

View File

@@ -6,9 +6,9 @@
*/
@custom-variant dark (&:where(.dark-theme, .dark-theme *));
@custom-variant hovered (&:hover:not(:disabled));
@custom-variant pressed (&:active:not(:disabled));
@custom-variant focused (.keyboard-mode &:focus);
@custom-variant hovered (&:where(:hover:not(:disabled)));
@custom-variant pressed (&:where(:active:not(:disabled)));
@custom-variant focused (:where(.keyboard-mode) &:where(:focus));
/**
* Color
@@ -325,6 +325,9 @@
/* box-shadow: inset */
--inset-shadow-*: initial; /* reset defaults */
--inset-shadow-on-color:
inset 0 0.5px 1px 0 --alpha(#000 / 12%);
/* filter: drop-shadow() */
--drop-shadow-*: initial; /* reset defaults */
--drop-shadow-elevation-0: var(--shadow-elevation-0);