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

Size theming #2636

Open
AlekseyManetov opened this issue Nov 14, 2024 · 0 comments · Fixed by #2606 or #2533
Open

Size theming #2636

AlekseyManetov opened this issue Nov 14, 2024 · 0 comments · Fixed by #2606 or #2533
Labels
feature New feature or request

Comments

@AlekseyManetov
Copy link
Collaborator

Description

UUI should have possibility to configure component sizes according to the different grid systems(e.g. 4px, 6px). Also we should give possibility to configure UUI component layout(paddings, margins, font-size, line-height and other) to match different brand looks

TODO:

  • Add css variables for layout properties of components
  • Make possibility to change component size typings. For example if we will use Button with 4px grid, it probably should have size: 32 prop, instead of size: 30 for 6px grid.
  • Rework UUI site to be able to work with different size grids. We should find solution how to use PE and all examples without explicit size usage. Size should come from selected theme.
  • Add 4px built-in UUI theme, like loveship-4px
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Backlog
1 participant