Skip to content

[UIK-5273][theme] Add page-bg variable#2985

Draft
j-mnizhek wants to merge 4 commits into
release/v17from
UIK-5273/theme-add-page-bg-variable
Draft

[UIK-5273][theme] Add page-bg variable#2985
j-mnizhek wants to merge 4 commits into
release/v17from
UIK-5273/theme-add-page-bg-variable

Conversation

@j-mnizhek
Copy link
Copy Markdown
Member

@j-mnizhek j-mnizhek commented Jun 5, 2026

Changelog

@semcore/theme

Added

  • New page-bg variable.

Changed

  • Values for header group variables.

Motivation and Context

How has this been tested?

Manually. Updated our stories for theme:
image
image
image
image

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.

@j-mnizhek j-mnizhek marked this pull request as ready for review June 5, 2026 16:15
@j-mnizhek j-mnizhek marked this pull request as draft June 5, 2026 16:15
Comment thread tools/theme/src/theme.ts
header_border_secondary: { value: '{semanticTokens.colors.border.primary}' },
page_bg: { value: neutral.at(0.97),
description: 'Background fill for the whole product page.',
},
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.

what do you think about adding sidebar_nav_bg?

Copy link
Copy Markdown
Member Author

@j-mnizhek j-mnizhek Jun 5, 2026

Choose a reason for hiding this comment

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

I thought about this and several additional variables for the future (screenshot from our private repo), but then we with Lesha hought that, for now, we could add only this one.

Actually I'm not strongly against these several new ones. I worry only about their usage by teams
image

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants