mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
refactor(site): replace secondary by primary color (#10757)
This commit is contained in:
@@ -132,7 +132,7 @@ const styles = {
|
||||
width: "100%",
|
||||
bottom: 0,
|
||||
left: 0,
|
||||
backgroundColor: theme.palette.secondary.dark,
|
||||
backgroundColor: theme.palette.primary.main,
|
||||
position: "absolute",
|
||||
},
|
||||
}),
|
||||
|
||||
@@ -21,7 +21,7 @@ export const TimelineEntry = forwardRef(function TimelineEntry(
|
||||
outlineStyle: "solid",
|
||||
outlineOffset: -1,
|
||||
outlineWidth: 2,
|
||||
outlineColor: theme.palette.secondary.dark,
|
||||
outlineColor: theme.palette.primary.main,
|
||||
},
|
||||
"& td:before": {
|
||||
position: "absolute",
|
||||
|
||||
@@ -37,7 +37,7 @@ export const useClickableTableRow = ({
|
||||
cursor: "pointer",
|
||||
|
||||
"&:focus": {
|
||||
outline: `1px solid ${theme.palette.secondary.dark}`,
|
||||
outline: `1px solid ${theme.palette.primary.main}`,
|
||||
outlineOffset: -1,
|
||||
},
|
||||
|
||||
|
||||
@@ -216,7 +216,7 @@ const styles = {
|
||||
},
|
||||
|
||||
"&:focus": {
|
||||
outline: `1px solid ${theme.palette.secondary.dark}`,
|
||||
outline: `1px solid ${theme.palette.primary.main}`,
|
||||
},
|
||||
|
||||
"& .MuiTableCell-root:last-child": {
|
||||
|
||||
@@ -53,7 +53,7 @@ const SidebarNavItem: FC<
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
background-color: ${theme.palette.secondary.dark};
|
||||
background-color: ${theme.palette.primary.main};
|
||||
border-top-left-radius: 8px;
|
||||
border-bottom-left-radius: 8px;
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ const SidebarNavItem: FC<
|
||||
position: "absolute",
|
||||
left: 0,
|
||||
top: 0,
|
||||
backgroundColor: theme.palette.secondary.dark,
|
||||
backgroundColor: theme.palette.primary.main,
|
||||
borderTopLeftRadius: 8,
|
||||
borderBottomLeftRadius: 8,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user