-
Notifications
You must be signed in to change notification settings - Fork 77
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
Enhancement: Focus outline inset #3392
Comments
We will need to examine how to allow this while ensuring focus is visible, for example a focus outline that is inset on a filled blue button is not perceivable. |
Reallocating this issue to tackle in February's priorities. |
Re-adjusting the timeline to accommodate upcoming Esri events and will tackle as part of the March priorities in coordination with #4633. |
Proposal to make this a system-wide customizationAdd two CSS variables for customization at the root or component level (actual text TBD):
|
Also related: #6588 |
Further research is needed to carry out the above proposal of two exposed CSS vars. In April we'll research further to assess a time estimate and priority prior to assigning to a future milestone for implementation. |
**Related Issue:** #3392 ## Summary Adds the following global CSS props: * `--calcite-ui-focus-color` * `--calcite-ui-focus-offset-invert` – inverts the applied offset when set to `1` or keeps as is when `0`
Installed and assigned for verification. |
Description
Allow specification of focus outline on components to be inset. Components like
calcite-action
andcalcite-input
utilize inset outlines when focused on whilecalcite-button
andcalcite-dropdown
utilize an outset outline. When the surrounding elements prevent overflow, outset outlines can be covered hidden.Acceptance Criteria
Which Component
calcite-button
calcite-stepper
calcite-tabs
possibly
calcite-switch
Example Use Case
The text was updated successfully, but these errors were encountered: