Skip to content

Commit

Permalink
fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Jul 13, 2023
1 parent a511c8e commit b762926
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/thick-tools-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/primitives': patch
---

rename treeViewItem-leadingVisual-bgColor-rest to treeViewItem-leadingVisual-iconColor-rest
2 changes: 1 addition & 1 deletion docs/storybook/.storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ const tempTheme = deepmerge(theme, {
hoverBg: 'var(--control-transparent-bgColor-hover)',
},
directory: {
fill: 'var(--treeViewItem-leadingVisual-bgColor-rest)',
fill: 'var(--treeViewItem-leadingVisual-iconColor-rest)',
},
},
fg: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,6 @@
"background": "control-transparent-bgColor-hover"
},
"color-tree-view-item-directory-fill": {
"background": "treeViewItem-leadingVisual-bgColor-rest"
"background": "treeViewItem-leadingVisual-iconColor-rest"
}
}
2 changes: 1 addition & 1 deletion src/tokens/fallback/color-fallbacks.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
"--selectMenu-bgColor-active": "var(--color-select-menu-tap-focus-bg)",
"--sideNav-bgColor-selected": "var(--color-sidenav-selected-bg)",
"--timelineBadge-bgColor": "var(--color-timeline-badge-bg)",
"--treeViewItem-leadingVisual-bgColor-rest": "var(--color-tree-view-item-directory-fill)",
"--treeViewItem-leadingVisual-iconColor-rest": "var(--color-tree-view-item-directory-fill)",
"--underlineNav-borderColor-active": "var(--color-primer-border-active)",
"--underlineNav-borderColor-hover": "var(--color-underlinenav-border-hover)",
"--underlineNav-iconColor-rest": "var(--color-underlinenav-icon)",
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/functional/color/dark/patterns-dark.json5
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@
},
treeViewItem: {
leadingVisual: {
bgColor: {
iconColor: {
rest: {
$value: '{fgColor.muted}',
$type: 'color',
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/functional/color/light/patterns-light.json5
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@
},
treeViewItem: {
leadingVisual: {
bgColor: {
iconColor: {
rest: {
$value: '{base.color.blue.3}',
$type: 'color',
Expand Down

0 comments on commit b762926

Please sign in to comment.