Skip to content

Commit

Permalink
Merge pull request #2990 from Autodesk/feat/add-accordion-focus-state
Browse files Browse the repository at this point in the history
Feat/add accordion focus state
  • Loading branch information
wmui51 authored Apr 14, 2023
2 parents d626f79 + 9dc9525 commit d5b5c6c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions packages/theme-data/src/baseTheme/components/accordion.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,13 @@ export default {
type: LENGTH,
value: { ref: "density.spacings.small" },
},
"accordion.header.focus.haloWidth": {
type: LENGTH,
value: { ref: "basics.borderWidths.large" },
},
"accordion.header.focus.haloColor": {
type: COLOR,
value: { ref: "colorScheme.reference.accent" },
transform: { alpha: 0.35 },
},
};
2 changes: 1 addition & 1 deletion packages/theme-data/src/baseTheme/components/tile.js
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ export default {
"tile.gradient.end.backgroundColor": {
type: COLOR,
value: {
ref: "basics.colors.primary.charcoal.300",
ref: "basics.colors.primary.black",
},
transform: {
alpha: 0.0,
Expand Down

0 comments on commit d5b5c6c

Please sign in to comment.