Skip to content

Commit

Permalink
Merge branch 'main' into elijbet/7761-update-color-picker-slider-scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Elijbet committed Feb 8, 2024
2 parents a7245a0 + 1d1b933 commit 4d9f710
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/calcite-components/calcite-preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,14 +258,17 @@ export default {
"outline-color": "transparent",
},
".focus-normal": {
outline: "2px solid var(--calcite-color-brand-hover, var(--calcite--color-brand))",
outline:
"2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite--color-brand)))",
},
".focus-outset": {
outline: "2px solid var(--calcite-color-brand)",
outline:
"2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite--color-brand)))",
"outline-offset": invert("2px", "--calcite-offset-invert-focus"),
},
".focus-inset": {
outline: "2px solid var(--calcite-color-brand)",
outline:
"2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite--color-brand)))",
"outline-offset": invert("-2px", "--calcite-offset-invert-focus"),
},
".focus-outset-danger": {
Expand Down

0 comments on commit 4d9f710

Please sign in to comment.