Skip to content

Commit

Permalink
fix: badge dark mode color
Browse files Browse the repository at this point in the history
  • Loading branch information
malangcat committed Jan 13, 2025
1 parent 66b8113 commit b38a4d3
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/public/rootage/components/badge.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"color": "$color.bg.neutral-solid"
},
"label": {
"color": "$color.palette.static-white"
"color": "$color.fg.neutral-inverted"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions docs/public/rootage/parsed.json
Original file line number Diff line number Diff line change
Expand Up @@ -10659,9 +10659,9 @@
"type": "token",
"group": [
"color",
"palette"
"fg"
],
"key": "static-white"
"key": "neutral-inverted"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion packages/rootage/components/badge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ data:
root:
color: $color.bg.neutral-solid
label:
color: $color.palette.static-white
color: $color.fg.neutral-inverted
tone=neutral, variant=outlined:
enabled:
root:
Expand Down
2 changes: 1 addition & 1 deletion packages/stylesheet/badge.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
background-color: var(--seed-v3-color-bg-neutral-solid)
}
.badge__label--tone_neutral-variant_solid {
color: var(--seed-v3-color-palette-static-white)
color: var(--seed-v3-color-fg-neutral-inverted)
}
.badge__root--tone_neutral-variant_outlined {
border-color: var(--seed-v3-color-stroke-neutral)
Expand Down
2 changes: 1 addition & 1 deletion packages/vars/lib/component/badge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export declare const vars: {
"color": "var(--seed-v3-color-bg-neutral-solid)"
},
"label": {
"color": "var(--seed-v3-color-palette-static-white)"
"color": "var(--seed-v3-color-fg-neutral-inverted)"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/vars/lib/component/badge.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const vars = {
"color": "var(--seed-v3-color-bg-neutral-solid)"
},
"label": {
"color": "var(--seed-v3-color-palette-static-white)"
"color": "var(--seed-v3-color-fg-neutral-inverted)"
}
}
},
Expand Down

0 comments on commit b38a4d3

Please sign in to comment.