Skip to content

Theme / styling with settings() #39

@techniq

Description

@techniq
  • Use classes like Svelte UX to pass class to underlying components
  • Add createTheme() support
  • Add .ComponentName classes
  • Use const { format } = settings() / $format instead of formatNumber() / formatDate() directly
  • Remove color prop (use rScale and fill / stroke / class / style?
    • Bars
    • Points
    • Pie
    • Link
    • Highlight
  • Support design tokens (css variables) (see Svelte UX issue)
    • Should wait till the Svelte UX issue is resolved
  • Remove all use of var(--color-xxx-xxx). Default to fill-accent-500 when possible (or possibly class="[--color:theme(colors.blue.500)]"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions