AtlatestRenderedmarkdown
Readme

sigil-web-styles

Design system and theme library for Sigil web applications. Provides palettes, typography, component styles, and layouts for a consistent look across Sigil apps with customizable color themes.

Built on top of sigil-css.

Usage

(import (sigil web styles))

;; Get the full stylesheet with the default black+gold theme
(theme-stylesheet)

;; Or customize the palette
(theme-stylesheet palette: (make-palette
  background: "#0a0a1a"
  primary: "#4a90d9"
  ...))

Default Theme

Black and gold with subtle gradients:

  • Background: #0d0d0d (near-black)
  • Surface: #1a1a1a (cards, panels) with subtle top-to-bottom gradient
  • Accent: #d4a017 (gold) with gradient shine on buttons
  • Text: #e8e8e8 (off-white)

Modules

ModulePurpose
(sigil web styles)Main entry — re-exports everything
(sigil web styles palette)Color palettes and customization
(sigil web styles typography)Font stacks, type scale, weights
(sigil web styles components)Cards, tables, badges, buttons, nav, inputs
(sigil web styles layout)Page shell, grid system, responsive breakpoints

Apps Using This Theme

Dependencies

  • sigil-css
  • sigil-stdlib

Build

sigil deps install
sigil build
sigil test

License

BSD-3-Clause