Skip to content

feat: add default focus color token#10512

Merged
alisonailea merged 10 commits intodevfrom
astump/7180-focus-color
Oct 30, 2024
Merged

feat: add default focus color token#10512
alisonailea merged 10 commits intodevfrom
astump/7180-focus-color

Conversation

@alisonailea
Copy link
Copy Markdown
Contributor

@alisonailea alisonailea commented Oct 9, 2024

Related Issue: #7180 #10510

Summary

This adds calcite-color-focus to replace the deprecated calcite-ui-focus-color

@alisonailea alisonailea added the design-tokens Issues requiring design tokens. label Oct 9, 2024
@github-actions github-actions Bot added the enhancement Issues tied to a new feature or request. label Oct 9, 2024
Copy link
Copy Markdown
Member

@geospatialem geospatialem left a 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?

@jcfranco jcfranco changed the title feat: add default focus color feat: add default focus color token Oct 10, 2024
Copy link
Copy Markdown
Member

@jcfranco jcfranco left a 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).

Comment thread packages/calcite-design-tokens/src/$config.ts Outdated
@github-actions
Copy link
Copy Markdown
Contributor

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.

@github-actions github-actions Bot added the Stale Issues or pull requests that have not had recent activity. label Oct 28, 2024
@alisonailea alisonailea requested a review from jcfranco October 29, 2024 17:22
@alisonailea alisonailea added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Oct 29, 2024
Copy link
Copy Markdown
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

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

👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾
👾🪙👾👾👾🪙👾👾🪙🪙👾👾🪙🪙🪙👾👾🪙🪙🪙👾🪙🪙🪙🪙👾🪙👾
👾🪙🪙👾👾🪙👾🪙👾👾🪙👾👾🪙👾👾🪙👾👾👾👾🪙👾👾👾👾🪙👾
👾🪙👾🪙👾🪙👾🪙👾👾🪙👾👾🪙👾👾🪙👾👾👾👾🪙🪙🪙👾👾🪙👾
👾🪙👾👾🪙🪙👾🪙👾👾🪙👾👾🪙👾👾🪙👾👾👾👾🪙👾👾👾👾👾👾
👾🪙👾👾👾🪙👾👾🪙🪙👾👾🪙🪙🪙👾👾🪙🪙🪙👾🪙🪙🪙🪙👾🪙👾
👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾👾

@alisonailea alisonailea merged commit b78626c into dev Oct 30, 2024
@alisonailea alisonailea deleted the astump/7180-focus-color branch October 30, 2024 18:07
benelan pushed a commit that referenced this pull request Feb 8, 2025
**Related Issue:** #7180 #10510

## Summary

This adds `calcite-color-focus` to replace the deprecated
`calcite-ui-focus-color`
jcfranco added a commit that referenced this pull request Mar 7, 2025
**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.
jcfranco added a commit that referenced this pull request Mar 11, 2025
**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.
benelan pushed a commit that referenced this pull request Mar 26, 2025
**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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

design-tokens Issues requiring design tokens. enhancement Issues tied to a new feature or request. pr ready for visual snapshots Adding this label will run visual snapshot testing. Stale Issues or pull requests that have not had recent activity.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants