feat(appearance): add accessible display preferences
This commit is contained in:
@@ -24,9 +24,21 @@ export {
|
||||
type AppearanceSettingsProps,
|
||||
} from "./components/appearance-settings"
|
||||
export {
|
||||
CompactLayoutField,
|
||||
type CompactLayoutFieldProps,
|
||||
} from "./components/compact-layout-field"
|
||||
BrightnessField,
|
||||
type BrightnessFieldProps,
|
||||
} from "./components/brightness-field"
|
||||
export {
|
||||
ColorVisionModeField,
|
||||
type ColorVisionModeFieldProps,
|
||||
} from "./components/color-vision-mode-field"
|
||||
export {
|
||||
MotionModeField,
|
||||
type MotionModeFieldProps,
|
||||
} from "./components/motion-mode-field"
|
||||
export {
|
||||
TextScaleField,
|
||||
type TextScaleFieldProps,
|
||||
} from "./components/text-scale-field"
|
||||
export {
|
||||
ThemeColorPicker,
|
||||
ThemeColorSwatchButton,
|
||||
@@ -58,10 +70,36 @@ export {
|
||||
type ThemeToggleButtonProps,
|
||||
type ThemeToggleProps,
|
||||
} from "./components/theme-toggle-button"
|
||||
export {
|
||||
COLOR_VISION_ATTRIBUTE,
|
||||
colorVisionModes,
|
||||
colorVisionPalettes,
|
||||
getColorVisionCssVariables,
|
||||
isColorVisionMode,
|
||||
type ColorVisionMode,
|
||||
} from "./color-vision"
|
||||
export {
|
||||
BRIGHTNESS_ATTRIBUTE,
|
||||
MOTION_ATTRIBUTE,
|
||||
TEXT_SCALE_ATTRIBUTE,
|
||||
applyBrightnessToTheme,
|
||||
brightnessModes,
|
||||
isBrightness,
|
||||
isMotionMode,
|
||||
isTextScale,
|
||||
motionModes,
|
||||
textScales,
|
||||
type Brightness,
|
||||
type MotionMode,
|
||||
type ResolvedMotionMode,
|
||||
type TextScale,
|
||||
} from "./display"
|
||||
export {
|
||||
applyAppearancePreferenceEffect,
|
||||
applyAppearancePreferences,
|
||||
appearancePreferenceEffect,
|
||||
subscribeSystemAppearancePreferenceEffect,
|
||||
subscribeSystemMotionPreferenceEffect,
|
||||
subscribeSystemThemePreferenceEffect,
|
||||
} from "./effects"
|
||||
export {
|
||||
|
||||
Reference in New Issue
Block a user