Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Themes: Document theme utilities #58

Open
paveldedik opened this issue Jun 3, 2024 · 0 comments
Open

Themes: Document theme utilities #58

paveldedik opened this issue Jun 3, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@paveldedik
Copy link
Member

paveldedik commented Jun 3, 2024

Motivation

It is possible to do the following:

  • theme.sizes.xl * 0.8
  • theme.colors.primary.darken(2)
  • etc.

It is also possible to define multiple kinds of color schemes:

  • Color("fff") or ColorRange(["#276662", "#4ecdc4", "#dbf5f3"])
  • Size(1, "em") or SizeClamp(2, 1.5, 3.3)

Both is not documented anywhere.

@paveldedik paveldedik added the documentation Improvements or additions to documentation label Jun 3, 2024
@paveldedik paveldedik added this to the 0.5 milestone Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant