@wasd/design-system-theme-frankfurt
v0.6.0
Published
High-contrast black, white, and grayscale WASD theme with light and dark color modes.
Readme
@wasd/design-system-theme-frankfurt
High-contrast black, white, and grayscale WASD theme with light and dark color modes.
Import @wasd/design-system-theme-frankfurt/css after @wasd/design-system/css
to use Frankfurt as the default theme, or set data-wasd-theme="frankfurt" when
an app needs to switch to Frankfurt at runtime.
Use data-wasd-theme="frankfurt" to select this theme. Set
data-wasd-color-scheme="light" or data-wasd-color-scheme="dark" to force a
mode; omit data-wasd-color-scheme to follow user color-scheme preferences.
Theme Exports
This package exports frankfurtTheme, frankfurtLightTheme,
frankfurtDarkTheme, frankfurtThemeModes, FrankfurtTheme, and the generic
WasdTheme / WasdThemeModes types from @wasd/design-system-theme.
The JS entry is pure theme data. Runtime CSS is only included by importing
@wasd/design-system-theme-frankfurt/css.
The CSS entry also provides theme-owned Roboto assets for sans typography and
Roboto Mono assets for code typography. Each family includes every subset
Google Fonts serves for that family; scripts outside those glyph ranges fall
through to the configured system fallbacks. Assets are copied into dist/assets
during the package build, so consumers only need the Frankfurt CSS import.
