Sépale
Components Docs Theme generator Prefix About GitHub npm
  • Family
  • Family
  • Theme

  • Guide
  • Getting started
  • Families and themes
  • Components and classes
  • Svelte components
  • Motion
  • Your own styles
  • Class prefix
  • Family
  • Description
  • Theme generator
  • Components
  • All components
    • Button
    • Link
    • Join
    • Input
    • Textarea
    • Select
    • Combobox
    • Number input
    • Date picker
    • Calendar
    • Color picker
    • File input
    • File dropzone
    • Checkbox
    • Radio
    • Toggle
    • Switch
    • Range
    • Rating
    • Chips input
    • Editable
    • Label
    • Floating label
    • Fieldset
    • Validator
    • Text
    • Avatar
    • Badge
    • Chip
    • Swatch
    • Bubble
    • Card
    • Stat
    • Carousel
    • Alert
    • Toast
    • Loading
    • Progress
    • Radial progress
    • Skeleton
    • Empty state
    • Data handler
    • Data control
    • Table
    • Grid
    • List
    • Kanban
    • File explorer
    • Menu
    • Tabs
    • Breadcrumbs
    • Steps
    • Pagination
    • Dock
    • Navbar
    • Sidebar
    • Drawer
    • Footer
    • Hero
    • Divider
    • Collapse
    • Accordion
    • Dialog
    • Dropdown
    • Tooltip
    • Mobile frame
    • Window frame
    • Laptop frame

Swatch

A sample of one colour, passed in as --swatch-color. The colour is data written at the call site, never a theme value.

ClassEffectType
.swatch
A sample of one colour, passed in as --swatch-color. The colour is data written at the call site, never a theme value. root
.swatch-circle
Sets shape, one class per value. axis shape
.swatch-primary.swatch-neutral.swatch-info.swatch-success.swatch-warning.swatch-error
Sets color, one class per value. axis color
.swatch-xs.swatch-sm.swatch-md.swatch-lg.swatch-xl
Sets size, one class per value. axis size
.swatch-active
Written by the active prop. flag
.swatch-disabled
Drawn by the component; you never opt into it. part