-
Notifications
You must be signed in to change notification settings - Fork 80
feat: add default focus color token #10512
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
Conversation
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.
@alisonailea Awesome! 💨 Can you also add in the more related #10510 to the issue context?
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.
Do we need to generate separate semantic
output for the default focus color to be added? This change is breaking as it removes exports from the global
files (causing this build failure).
packages/calcite-design-tokens/support/tests/__snapshots__/index.spec.ts.snap
Show resolved
Hide resolved
This PR has been automatically marked as stale because it has not had recent activity. Please close your PR if it is no longer relevant. Thank you for your contributions. |
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.
👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾
👾🪙👾👾👾🪙👾👾🪙🪙👾👾🪙🪙🪙👾👾🪙🪙🪙👾🪙🪙🪙🪙👾🪙👾
👾🪙🪙👾👾🪙👾🪙👾👾🪙👾👾🪙👾👾🪙👾👾👾👾🪙👾👾👾👾🪙👾
👾🪙👾🪙👾🪙👾🪙👾👾🪙👾👾🪙👾👾🪙👾👾👾👾🪙🪙🪙👾👾🪙👾
👾🪙👾👾🪙🪙👾🪙👾👾🪙👾👾🪙👾👾🪙👾👾👾👾🪙👾👾👾👾👾👾
👾🪙👾👾👾🪙👾👾🪙🪙👾👾🪙🪙🪙👾👾🪙🪙🪙👾🪙🪙🪙🪙👾🪙👾
👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾
**Related Issue:** #10510 ## Summary Removes the global focus color introduced in [#10512](#10512) to match the behavior of the deprecated `--calcite-ui-focus-color`. Previously, `--calcite-color-focus` was defined at `:root`, preventing it from inheriting updates to `--calcite-color-brand` (its fallback). This is **not** considered a breaking change because: * it only affects outputs that are not publicly documented * the default color will still be applied as expected * `--calcite-color-focus` remains available for overriding the focus color **Note**: #11713 will restore `--calcite-color-focus` after #11391 lands.
**Related Issue:** #10510 ## Summary Removes the global focus color introduced in [#10512](#10512) to match the behavior of the deprecated `--calcite-ui-focus-color`. Previously, `--calcite-color-focus` was defined at `:root`, preventing it from inheriting updates to `--calcite-color-brand` (its fallback). This is **not** considered a breaking change because: * it only affects outputs that are not publicly documented * the default color will still be applied as expected * `--calcite-color-focus` remains available for overriding the focus color **Note**: #11713 will restore `--calcite-color-focus` after #11391 lands.
**Related Issue:** #10510 ## Summary Removes the global focus color introduced in [#10512](#10512) to match the behavior of the deprecated `--calcite-ui-focus-color`. Previously, `--calcite-color-focus` was defined at `:root`, preventing it from inheriting updates to `--calcite-color-brand` (its fallback). This is **not** considered a breaking change because: * it only affects outputs that are not publicly documented * the default color will still be applied as expected * `--calcite-color-focus` remains available for overriding the focus color **Note**: #11713 will restore `--calcite-color-focus` after #11391 lands.
Related Issue: #7180 #10510
Summary
This adds
calcite-color-focus
to replace the deprecatedcalcite-ui-focus-color