Skip to content

Conversation

@dmalykh-devexpress
Copy link
Contributor

No description provided.

dmalykh-devexpress and others added 16 commits September 19, 2025 18:20
…mproved cross-platform typography consistency
…ily declarations for consistency across stylesheets
@Copilot Copilot AI review requested due to automatic review settings October 22, 2025 12:49
Copy link

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 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-case rule 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

/**
* $name 10. Font family
* $type text
*/
Copy link

Copilot AI Oct 22, 2025

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').

Suggested change
*/
*/
// Using proper casing for font family names as required by platforms (e.g., PascalCase for BlinkMacSystemFont)

Copilot uses AI. Check for mistakes.
@Copilot Copilot AI review requested due to automatic review settings October 23, 2025 07:48
Copy link

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

Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.

@Copilot Copilot AI review requested due to automatic review settings October 24, 2025 07:07
Copy link

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

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;
Copy link

Copilot AI Oct 24, 2025

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.

Suggested change
$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;

Copilot uses AI. Check for mistakes.
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.

4 participants