-
Notifications
You must be signed in to change notification settings - Fork 652
1193 font stack #31426
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
base: 25_2
Are you sure you want to change the base?
1193 font stack #31426
Conversation
…rm typography consistency
…mproved cross-platform typography consistency
…s-platform typography consistency
…graphy consistency
This reverts commit 7067602.
…and test files for consistency.
…cy across stylesheets and test files.
…ily declarations for consistency across stylesheets
There was a problem hiding this 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 font stack definitions across the codebase to use proper case for "BlinkMacSystemFont" (instead of lowercase "blinkmacsystemfont"). The change aligns with standard naming conventions where BlinkMacSystemFont is typically written in PascalCase.
Key Changes
- Updated font-family declarations across SCSS theme files (generic, material, fluent)
- Synchronized test expectations to match the new capitalization
- Disabled stylelint's
value-keyword-caserule to allow mixed-case font names
Reviewed Changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/devextreme/js/__internal/core/license/trial_panel.client.ts | Updated trial panel font stack with properly cased BlinkMacSystemFont |
| packages/devextreme-scss/scss/widgets/generic/_colors.scss | Corrected BlinkMacSystemFont capitalization in generic theme |
| packages/devextreme-scss/scss/widgets/material/_colors.scss | Corrected BlinkMacSystemFont capitalization in material theme |
| packages/devextreme-scss/scss/widgets/fluent/_colors.scss | Corrected BlinkMacSystemFont capitalization in fluent theme |
| packages/devextreme-scss/.stylelintrc.json | Disabled value-keyword-case rule to support mixed-case font names |
| .stylelintrc.json | Added root-level stylelint config with value-keyword-case disabled |
| packages/devextreme-themebuilder/tests/modules/compiler.test.ts | Updated test expectations for corrected font name |
| packages/devextreme-themebuilder/tests/modules/compile-manager.test.ts | Updated test expectations for corrected font name |
| packages/devextreme-themebuilder/tests/data/scss/widgets/generic/_colors.scss | Updated test fixture with corrected font name |
| packages/devextreme-themebuilder/tests/data/compilation-results/no-changes-meta.ts | Updated test data with corrected font name |
| packages/devextreme-themebuilder/tests/data/compilation-results/no-changes-css.ts | Updated test data with corrected font name |
packages/devextreme/js/__internal/core/license/trial_panel.client.ts
Outdated
Show resolved
Hide resolved
| /** | ||
| * $name 10. Font family | ||
| * $type text | ||
| */ |
Copilot
AI
Oct 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The stylelint disable comment was removed, but the line no longer violates value-keyword-case since the rule has been disabled in the stylelint configuration. The change is correct, but consider adding a comment explaining why mixed-case font names are intentionally used here (e.g., '// Using proper PascalCase for BlinkMacSystemFont').
| */ | |
| */ | |
| // Using proper casing for font family names as required by platforms (e.g., PascalCase for BlinkMacSystemFont) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.
packages/devextreme/js/__internal/core/license/trial_panel.client.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <[email protected]> Signed-off-by: Denis Malykh <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.
| * $type text | ||
| */ | ||
| $base-font-family: segoe ui, -apple-system, blinkmacsystemfont, avenir next, avenir, helvetica neue, adwaita sans, cantarell, ubuntu, roboto, noto, helvetica, arial, sans-serif !default; // stylelint-disable-line value-keyword-case | ||
| $base-font-family: segoe ui, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, adwaita sans, cantarell, ubuntu, roboto, noto, helvetica, arial, sans-serif !default; |
Copilot
AI
Oct 24, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The inline stylelint-disable comment was removed. Ensure this removal is intentional, as it may have been suppressing legitimate linting warnings for the lowercase 'segoe ui' value, which remains in the font stack.
| $base-font-family: segoe ui, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, adwaita sans, cantarell, ubuntu, roboto, noto, helvetica, arial, sans-serif !default; | |
| $base-font-family: Segoe UI, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, adwaita sans, cantarell, ubuntu, roboto, noto, helvetica, arial, sans-serif !default; |
No description provided.