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

Text

The typographic scale, delivered as classes — no frame, no state. Three components in one file, `text`, `title` and `subtitle`, because separating them would buy nothing. Size and weight are two axes, and each of the three carries the eight semantic colours.

ClassEffectType
.title
The page's one title. root
.subtitle-primary.subtitle-neutral.subtitle-info.subtitle-success.subtitle-warning.subtitle-error
Sets color, one class per value. axis color
.subtitle-s1.subtitle-s2
Sets s, one class per value.
  • .subtitle-s1 A subtitle, first step down from the title.
  • .subtitle-s2 A subtitle, second step down.
axis s
.text-b1.text-b2.text-b3
Sets b, one class per value.
  • .text-b1 Weight 1.
  • .text-b2 Weight 2.
  • .text-b3 Weight 3.
axis b
.text-primary.text-neutral.text-info.text-success.text-warning.text-error
Sets color, one class per value. axis color
.text-s1.text-s2.text-s3.text-s4
Sets s, one class per value.
  • .text-s1 Size step 1, with its leading.
  • .text-s2 Size step 2, with its leading.
  • .text-s3 Size step 3, with its leading.
  • .text-s4 Size step 4, with its leading.
axis s
.title-primary.title-neutral.title-info.title-success.title-warning.title-error
Sets color, one class per value. axis color