fix: Fix dropdown item colors
This commit is contained in:
@@ -9,7 +9,6 @@ import {
|
|||||||
import VisuallyHidden from '@reach/visually-hidden';
|
import VisuallyHidden from '@reach/visually-hidden';
|
||||||
import { FunctionComponent } from 'preact';
|
import { FunctionComponent } from 'preact';
|
||||||
import { IconType, Icon } from './Icon';
|
import { IconType, Icon } from './Icon';
|
||||||
import '@reach/listbox/styles.css';
|
|
||||||
import { useState } from 'preact/hooks';
|
import { useState } from 'preact/hooks';
|
||||||
|
|
||||||
export type DropdownItem = {
|
export type DropdownItem = {
|
||||||
|
|||||||
@@ -156,6 +156,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&[data-current-nav] {
|
&[data-current-nav] {
|
||||||
|
color: var(--sn-stylekit-contrast-foreground-color);
|
||||||
@extend .bg-contrast;
|
@extend .bg-contrast;
|
||||||
@extend .hover\:color-text;
|
@extend .hover\:color-text;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user