-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Objective
Uikit Themer does not provide customizations for related Gravity libraries (e.g., illustrations, navigation). Users need to set the CSS API for each additional library themselves using inconsistent README files and may choose non-optimal visual variants.
Solution Proposal
Add a list of options (checkboxes) under the Component preview on https://gravity-ui.com/themer for including themed pieces of CSS variables for selected packages in the Export theme result. The CSS variables should be filled based on the --g-color-private-brand-*** colors.
In particular, we need to define for:
- @gravity-ui/illustrations
How to match each of https://github.com/gravity-ui/illustrations/blob/6ef878711242fad116b5885a65b204fe66066a6b/styles/styles.scss#L3 СSS variables
--gil-color-object-base
…
--gil-color-object-danger
with the relevant --g-color-private-brand-*** to add them in the exported theme.
- @gravity-ui/navigation
How to fill the CSS API in https://github.com/gravity-ui/navigation/blob/deb12e1073b048ac0870b1e14446d096c0e55bcd/src/components/AsideHeader/README.md#css-api
based on brand colors.
i.e.--gn-aside-header-item-icon-color: var(--g-color-base-brand); ....
3)... other packages (which ones?)
Definition of done
Users can easily customize themes of related Gravity UI packages, keeping them in sync with the base Uikit branding.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status