Skip to content

Conversation

@Tucchhaa
Copy link
Contributor

No description provided.

@Tucchhaa Tucchhaa self-assigned this Jan 22, 2026
@Tucchhaa Tucchhaa marked this pull request as ready for review January 22, 2026 08:02
Copilot AI review requested due to automatic review settings January 22, 2026 08:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the React Storybook theming setup so that theme changes (including compact mode) correctly load the appropriate DevExtreme CSS and visually apply in the preview.

Changes:

  • Updated themeToolbarItems values for Material and Fluent themes to use hyphen-separated identifiers that are more suitable for Storybook globals.
  • Normalized the selected theme value by converting hyphens back to dots when constructing the DevExtreme theme CSS filename.
  • Added stateful tracking of the previous theme and compact globals in ThemeDecorator to force a full page reload when either changes, ensuring the new theme stylesheet is applied cleanly.

@Tucchhaa Tucchhaa merged commit 239c4cc into DevExpress:26_1 Jan 23, 2026
99 of 100 checks passed
@Tucchhaa Tucchhaa deleted the fix_storybook_26_1 branch January 23, 2026 07:58
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.

3 participants