Skip to content

[UIK-5351][theme] Add more variables to theme#3039

Open
j-mnizhek wants to merge 18 commits into
release/v18from
UIK-5351/add-more-variables-to-theme
Open

[UIK-5351][theme] Add more variables to theme#3039
j-mnizhek wants to merge 18 commits into
release/v18from
UIK-5351/add-more-variables-to-theme

Conversation

@j-mnizhek

@j-mnizhek j-mnizhek commented Jul 2, 2026

Copy link
Copy Markdown
Member

Changelog

@semcore/theme

Added

  • 81 new semantic variables
  • fallbacks for 12 renamed variables

Motivation and Context

  • Added 81 new variables to support upcoming changes and updates in the components styles
  • Added TODO comments to styles of some components
  • Added fallbacks for deprecated renamed variables
  • Updated variable name in the Tooltip example with custom background color (documentation)

How has this been tested?

Manually.

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).
  • Nice improve.

Checklist:

  • I have updated the documentation accordingly.
  • I have added new tests on added of fixed functionality.

Comment thread semcore/base-components/src/components/hint/style/hint.shadow.css Outdated
Comment thread semcore/base-trigger/src/style/base-trigger.shadow.css
Comment thread semcore/button/src/component/Button/button.shadow.css
Comment thread semcore/button/src/component/Button/button.shadow.css Outdated
Comment thread semcore/checkbox/src/style/checkbox.shadow.css
Comment thread semcore/slider/src/style/slider.shadow.css Outdated
Comment thread semcore/slider/src/style/slider.shadow.css Outdated
Comment thread semcore/tag/src/style/tag.shadow.css
Comment thread semcore/tooltip/src/style/tooltip.shadow.css
Comment thread semcore/wizard/src/style/wizard.shadow.css
Comment thread tools/theme/src/theme.ts Outdated
@j-mnizhek j-mnizhek removed the request for review from Valeria-Zimnitskaya July 3, 2026 14:14
@Valeria-Zimnitskaya

Copy link
Copy Markdown
Contributor

@j-mnizhek @ilyabrower i found a bug here
Disappeared stars on feedback-rating, could you please tae a look and fix

Here how it looks now:
Screenshot 2026-07-07 at 12 15 06

@j-mnizhek j-mnizhek marked this pull request as draft July 7, 2026 12:13
@j-mnizhek

j-mnizhek commented Jul 7, 2026

Copy link
Copy Markdown
Member Author

@j-mnizhek i found a bug here Disappeared stars on feedback-rating, could you please tae a look and fix

I fixed this, the reason: I was experimenting with moving some old variables to the control group (as Ilia proposed) and forgot to mark it as deprecated
image

@j-mnizhek j-mnizhek marked this pull request as ready for review July 7, 2026 18:07
j-mnizhek and others added 5 commits July 7, 2026 20:47
…elements (#3045)

## Changelog

### @semcore/dropdown-menu

#### Fixed

- `preventFocusByClick` handler - skip draggable elements.

<!--- Provide a general summary of your changes in the Title above -->

## Motivation and Context

<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## How has this been tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- For example: -->
<!--- I have added unit tests -->
<!--- I have added Voice Over tests -->
<!--- Code cannot be tested automatically so I have tested it only
manually -->

## Screenshots (if appropriate):

## Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->

- [X] Bug fix (non-breaking change which fixes an issue).
- [ ] New feature (non-breaking change which adds functionality).
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected).
- [ ] Nice improve.

## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes
that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->

- [ ] I have updated the documentation accordingly.
- [ ] I have added new tests on added of fixed functionality.

@ilyabrower ilyabrower left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the tokens are sorted alphabetically, but previously they were sorted by meaning. Were these changes necessary?

Comment thread tools/theme/src/theme.ts
@j-mnizhek

Copy link
Copy Markdown
Member Author

It looks like the tokens are sorted alphabetically, but previously they were sorted by meaning. Were these changes necessary?

Yep, it's necessary for now, alphabetical order is temporary, just for convenience during the updating styles

@ilyabrower ilyabrower changed the base branch from release/v17 to release/v18 July 13, 2026 07:46
@Valeria-Zimnitskaya

Copy link
Copy Markdown
Contributor

@ilyabrower @j-mnizhek after merge release/v17 i see that new wizard styled not applied

Actual:
-visual-Steps-and-buttons--95529-r-and-focus---small-state-1-actual

Expected: should be black
-visual-Steps-and-buttons--95529-r-and-focus---small-state-1-expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment