@patreon/studio
Version:
Patreon Studio Design System
90 lines (89 loc) • 4.54 kB
TypeScript
import type { GeneratedColorPalette } from '~/types/color-system';
export declare function darkMode(props: GeneratedColorPalette): {
'--global-bg-base-default': `#${string}`;
'--global-bg-base-hover': `#${string}`;
'--global-bg-base-pressed': `#${string}`;
'--global-bg-baseAlt-default': `#${string}`;
'--global-bg-baseAlt-hover': `#${string}`;
'--global-bg-baseAlt-pressed': `#${string}`;
'--global-bg-elevated-default': `#${string}`;
'--global-bg-elevated-hover': `#${string}`;
'--global-bg-elevated-pressed': `#${string}`;
'--global-primary-surfaceMuted-default': `#${string}`;
'--global-primary-surfaceMuted-hover': `#${string}`;
'--global-primary-surfaceMuted-pressed': `#${string}`;
'--global-primary-surfaceSubtle-default': `#${string}`;
'--global-primary-surfaceSubtle-hover': `#${string}`;
'--global-primary-surfaceSubtle-pressed': `#${string}`;
'--global-bg-page-default': `#${string}`;
'--global-bg-page-hover': `#${string}`;
'--global-bg-page-pressed': `#${string}`;
'--global-bg-pageAlt-default': `#${string}`;
'--global-bg-pageAlt-hover': `#${string}`;
'--global-bg-pageAlt-pressed': `#${string}`;
'--global-primary-surface-default': `#${string}`;
'--global-primary-surface-hover': `#${string}`;
'--global-primary-surface-pressed': `#${string}`;
'--global-primary-onSurface-default': `#${string}`;
'--global-primary-onSurface-hover': `#${string}`;
'--global-primary-onSurface-pressed': `#${string}`;
'--global-content-primary-default': `#${string}`;
'--global-content-primary-hover': `#${string}`;
'--global-content-primary-pressed': `#${string}`;
'--global-rich-surface-default': `#${string}`;
'--global-rich-surface-hover': `#${string}`;
'--global-rich-surface-pressed': `#${string}`;
'--global-rich-surfaceAlt-default': `#${string}`;
'--global-rich-surfaceAlt-hover': `#${string}`;
'--global-rich-surfaceAlt-pressed': `#${string}`;
'--global-rich-action-default': `#${string}`;
'--global-rich-action-hover': `#${string}`;
'--global-rich-action-pressed': `#${string}`;
'--global-control-surface-default': `#${string}`;
'--global-control-surface-hover': `#${string}`;
'--global-control-surface-pressed': `#${string}`;
};
export declare function lightMode(props: GeneratedColorPalette): {
'--global-bg-base-default': `#${string}`;
'--global-bg-base-hover': `#${string}`;
'--global-bg-base-pressed': `#${string}`;
'--global-bg-baseAlt-default': `#${string}`;
'--global-bg-baseAlt-hover': `#${string}`;
'--global-bg-baseAlt-pressed': `#${string}`;
'--global-bg-elevated-default': `#${string}`;
'--global-bg-elevated-hover': `#${string}`;
'--global-bg-elevated-pressed': `#${string}`;
'--global-primary-surfaceMuted-default': `#${string}`;
'--global-primary-surfaceMuted-hover': `#${string}`;
'--global-primary-surfaceMuted-pressed': `#${string}`;
'--global-primary-surfaceSubtle-default': `#${string}`;
'--global-primary-surfaceSubtle-hover': `#${string}`;
'--global-primary-surfaceSubtle-pressed': `#${string}`;
'--global-bg-page-default': `#${string}`;
'--global-bg-page-hover': `#${string}`;
'--global-bg-page-pressed': `#${string}`;
'--global-bg-pageAlt-default': `#${string}`;
'--global-bg-pageAlt-hover': `#${string}`;
'--global-bg-pageAlt-pressed': `#${string}`;
'--global-primary-surface-default': `#${string}`;
'--global-primary-surface-hover': `#${string}`;
'--global-primary-surface-pressed': `#${string}`;
'--global-primary-onSurface-default': `#${string}`;
'--global-primary-onSurface-hover': `#${string}`;
'--global-primary-onSurface-pressed': `#${string}`;
'--global-content-primary-default': `#${string}`;
'--global-content-primary-hover': `#${string}`;
'--global-content-primary-pressed': `#${string}`;
'--global-rich-surface-default': `#${string}`;
'--global-rich-surface-hover': `#${string}`;
'--global-rich-surface-pressed': `#${string}`;
'--global-rich-surfaceAlt-default': `#${string}`;
'--global-rich-surfaceAlt-hover': `#${string}`;
'--global-rich-surfaceAlt-pressed': `#${string}`;
'--global-rich-action-default': `#${string}`;
'--global-rich-action-hover': `#${string}`;
'--global-rich-action-pressed': `#${string}`;
'--global-control-surface-default': `#${string}`;
'--global-control-surface-hover': `#${string}`;
'--global-control-surface-pressed': `#${string}`;
};