Skip to content

Commit 20c2dda

Browse files
refactor(site): replace secondary by primary color (coder#10757)
1 parent b508c32 commit 20c2dda

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

site/src/components/TemplateFiles/TemplateFiles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ const styles = {
132132
width: "100%",
133133
bottom: 0,
134134
left: 0,
135-
backgroundColor: theme.palette.secondary.dark,
135+
backgroundColor: theme.palette.primary.main,
136136
position: "absolute",
137137
},
138138
}),

site/src/components/Timeline/TimelineEntry.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const TimelineEntry = forwardRef(function TimelineEntry(
2121
outlineStyle: "solid",
2222
outlineOffset: -1,
2323
outlineWidth: 2,
24-
outlineColor: theme.palette.secondary.dark,
24+
outlineColor: theme.palette.primary.main,
2525
},
2626
"& td:before": {
2727
position: "absolute",

site/src/hooks/useClickableTableRow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const useClickableTableRow = ({
3737
cursor: "pointer",
3838

3939
"&:focus": {
40-
outline: `1px solid ${theme.palette.secondary.dark}`,
40+
outline: `1px solid ${theme.palette.primary.main}`,
4141
outlineOffset: -1,
4242
},
4343

site/src/pages/GroupsPage/GroupsPageView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ const styles = {
216216
},
217217

218218
"&:focus": {
219-
outline: `1px solid ${theme.palette.secondary.dark}`,
219+
outline: `1px solid ${theme.palette.primary.main}`,
220220
},
221221

222222
"& .MuiTableCell-root:last-child": {

site/src/pages/TemplateSettingsPage/Sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const SidebarNavItem: FC<
5353
position: absolute;
5454
left: 0;
5555
top: 0;
56-
background-color: ${theme.palette.secondary.dark};
56+
background-color: ${theme.palette.primary.main};
5757
border-top-left-radius: 8px;
5858
border-bottom-left-radius: 8px;
5959
}

site/src/pages/WorkspaceSettingsPage/Sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const SidebarNavItem: FC<
4747
position: "absolute",
4848
left: 0,
4949
top: 0,
50-
backgroundColor: theme.palette.secondary.dark,
50+
backgroundColor: theme.palette.primary.main,
5151
borderTopLeftRadius: 8,
5252
borderBottomLeftRadius: 8,
5353
},

0 commit comments

Comments
 (0)