Skip to content

Commit 8ee3dd9

Browse files
committed
feat: consistent highlight colors
1 parent e09cd3e commit 8ee3dd9

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

site/src/components/BuildsTable/BuildsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const useStyles = makeStyles((theme) => ({
106106
},
107107

108108
"&:focus": {
109-
outline: `1px solid ${theme.palette.primary.dark}`,
109+
outline: `1px solid ${theme.palette.secondary.dark}`,
110110
},
111111
},
112112
}))

site/src/components/NavbarView/NavbarView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const useStyles = makeStyles((theme) => ({
116116
content: `" "`,
117117
bottom: 0,
118118
left: theme.spacing(3),
119-
background: "#C16800",
119+
background: theme.palette.secondary.dark,
120120
right: theme.spacing(3),
121121
height: 2,
122122
position: "absolute",

site/src/components/TabSidebar/TabSidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const useStyles = makeStyles((theme) => ({
6868
color: theme.palette.text.primary,
6969
},
7070
"&.active": {
71-
color: theme.palette.primary.dark,
71+
color: theme.palette.secondary.dark,
7272
},
7373

7474
"&.active, &:hover": {

site/src/components/UserDropdownContent/UserDropdownContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const useStyles = makeStyles((theme) => ({
127127
margin: theme.spacing(0.5),
128128
},
129129
chipRoot: {
130-
backgroundColor: "#7057FF",
130+
backgroundColor: theme.palette.secondary.dark,
131131
},
132132
link: {
133133
textDecoration: "none",

site/src/theme/palettes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export const darkPalette: PaletteOptions = {
1111
secondary: {
1212
main: "#008510",
1313
contrastText: "#f8f8f8",
14+
dark: "#7057FF",
1415
},
1516
background: {
1617
default: "#1F1F1F",

0 commit comments

Comments
 (0)