Package-level declarations
Types
The user-selectable accent hue. One sharp colour carries primary (and the rest of the primary family) in both the light and dark schemes, paired with the content colour drawn on top of it — onAccent is ink for light accents, white for saturated ones, picked to clear WCAG AA on the fill. The neutral ramps in Color.kt are fixed; only this hue changes.
Backed by multiplatform-settings, mirroring SettingsThemeModeStore — the same cross-platform persistence the app's wasmJs target requires.
Backed by multiplatform-settings rather than androidx.datastore: DataStore's non-Android/web targets are not yet shipped, while this library has full wasmJs support (Web Storage-backed), which this app's target list requires.
The single source of truth for every icon the app and the designsheet draw. UI code never references Icons.* directly — it names the purpose (Back, BookmarkFilled, ReadingTime) and this object decides which glyph that purpose gets, so swapping an icon set or a single glyph is a one-file change.
Shape tokens that have no slot in Material 3's Shapes, so they cannot live in SkimbyteShapes.
Receives the theme SkimbyteTheme actually resolved (after ThemeMode.System is decided), so hosts that paint native chrome outside the Compose canvas — the macOS title bar on desktop — can keep it in step with the app's surface color.
Properties
The accent, tuned to stay legible as text on the card surface.
Only the outermost SkimbyteTheme reports to this: the theme consumes the listener by re-providing the no-op to its content, so the nested light/dark sections that previews and the designsheet catalog render can't repaint the host window.
Functions
M3 Expressive theme: MaterialExpressiveTheme with MotionScheme.expressive gives every Material component spring-based motion physics (per the Compose-first Expressive rollout); both schemes are Skimbyte's own, specified role-by-role in SkimbyteDarkColors and SkimbyteLightColors, re-tinted with the user's accent.
Keeps the macOS title bar on the theme's surface color instead of the stock white strip.