Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Adjust primary text color
  • Loading branch information
BrunoQuaresma committed Sep 13, 2022
commit 44ed42c0823edda31d97f8ecbcfa55ed4658082a
2 changes: 1 addition & 1 deletion site/src/components/NavbarView/NavbarView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ const useStyles = makeStyles((theme) => ({
// NavLink adds this class when the current route matches.
"&.active": {
position: "relative",
color: theme.palette.primary.contrastText,
color: theme.palette.text.primary,
fontWeight: "bold",

"&::before": {
Expand Down
1 change: 0 additions & 1 deletion site/src/theme/overrides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export const getOverrides = ({ palette, breakpoints }: Theme): Overrides => {
backgroundImage: `linear-gradient(to right bottom, ${palette.background.default}, ${colors.gray[17]})`,
backgroundRepeat: "no-repeat",
backgroundAttachment: "fixed",
letterSpacing: "-0.015em",
},
":root": {
colorScheme: palette.type,
Expand Down
2 changes: 1 addition & 1 deletion site/src/theme/palettes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const darkPalette: PaletteOptions = {
paper: colors.gray[16],
},
text: {
primary: colors.gray[4],
primary: colors.gray[1],
secondary: colors.gray[5],
},
divider: colors.gray[13],
Expand Down