Skip to content

Commit

Permalink
fix(governance): incorrect track background
Browse files Browse the repository at this point in the history
  • Loading branch information
yyyyaaa committed Feb 6, 2024
1 parent c161d13 commit 0b11c03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/styles/themes.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export const themeContractTemplate = {
progressBg: ``,
progressValue: ``,
progressCursor: ``,
trackBg: ``,
divider: ``,
menuItemBg: ``,
menuItemBgSelected: ``,
Expand Down Expand Up @@ -291,6 +292,7 @@ export const lightThemeClass = createTheme(themeVars, {
menuItemBgHovered: `#EEF2F8`,
menuItemBgActive: `#DDE4ED`,
skeletonBg: `#DDE4ED`,
trackBg: `#EBEFF5`,
...colors,
},
});
Expand Down Expand Up @@ -330,6 +332,7 @@ export const darkThemeClass = createTheme(themeVars, {
menuItemBgHovered: `#25292E`,
menuItemBgActive: `#2C3137`,
skeletonBg: `#3B434D`,
trackBg: `#49525E`,
...colors,
},
});
Expand Down Expand Up @@ -371,6 +374,7 @@ export const meshThemeClass = createTheme(themeVars, {
menuItemBgHovered: `#25292E`,
menuItemBgActive: `#2C3137`,
skeletonBg: `#3B434D`,
trackBg: `#49525E`,
// Override colors
gray50: "#F7FAFC",
gray100: "#E1DBEB",
Expand Down
2 changes: 1 addition & 1 deletion src/ui/governance/governance-vote-breakdown.lite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function GovernanceVoteBreakdown(

{/* Meter */}
<Box
backgroundColor="$inputBg"
backgroundColor="$trackBg"
width="100%"
height="$4"
borderRadius="$base"
Expand Down

0 comments on commit 0b11c03

Please sign in to comment.