Skip to content

Commit 2ffbfca

Browse files
committed
a couple tweaks
1 parent 000d3f4 commit 2ffbfca

File tree

4 files changed

+33
-33
lines changed

4 files changed

+33
-33
lines changed

site/src/components/Badges/Badges.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ export const EnterpriseBadge: FC = () => {
112112
css={[
113113
styles.badge,
114114
(theme) => ({
115-
backgroundColor: theme.roles.info.background,
116-
border: `1px solid ${theme.roles.info.outline}`,
117-
color: theme.roles.info.text,
115+
backgroundColor: theme.roles.notice.background,
116+
border: `1px solid ${theme.roles.notice.outline}`,
117+
color: theme.roles.notice.text,
118118
}),
119119
]}
120120
>
@@ -129,9 +129,9 @@ export const PremiumBadge: FC = () => {
129129
css={[
130130
styles.badge,
131131
(theme) => ({
132-
backgroundColor: theme.roles.info.background,
133-
border: `1px solid ${theme.roles.info.outline}`,
134-
color: theme.roles.info.text,
132+
backgroundColor: theme.roles.notice.background,
133+
border: `1px solid ${theme.roles.notice.outline}`,
134+
color: theme.roles.notice.text,
135135
}),
136136
]}
137137
>

site/src/pages/ManagementSettingsPage/UserTable/UserRoleCell.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ const styles = {
170170
borderColor: theme.roles.active.outline,
171171
}),
172172
ownerRoleBadge: (theme) => ({
173-
backgroundColor: theme.roles.info.background,
174-
borderColor: theme.roles.info.outline,
173+
backgroundColor: theme.roles.notice.background,
174+
borderColor: theme.roles.notice.outline,
175175
}),
176176
roleBadge: (theme) => ({
177177
backgroundColor: theme.experimental.l2.background,

site/src/theme/darkBlue/roles.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import colors from "../tailwindColors";
44
export default {
55
danger: {
66
background: colors.orange[950],
7-
outline: colors.orange[600],
7+
outline: colors.orange[500],
88
text: colors.orange[50],
99
fill: {
1010
solid: colors.orange[500],
@@ -34,11 +34,11 @@ export default {
3434
},
3535
error: {
3636
background: colors.red[950],
37-
outline: colors.red[500],
37+
outline: colors.red[600],
3838
text: colors.red[50],
3939
fill: {
40-
solid: colors.red[600],
41-
outline: colors.red[600],
40+
solid: colors.red[400],
41+
outline: colors.red[400],
4242
text: colors.white,
4343
},
4444
},
@@ -53,16 +53,6 @@ export default {
5353
},
5454
},
5555
notice: {
56-
background: colors.yellow[950],
57-
outline: colors.yellow[200],
58-
text: colors.yellow[50],
59-
fill: {
60-
solid: colors.yellow[500],
61-
outline: colors.yellow[500],
62-
text: colors.white,
63-
},
64-
},
65-
info: {
6656
background: colors.blue[950],
6757
outline: colors.blue[400],
6858
text: colors.blue[50],
@@ -72,6 +62,16 @@ export default {
7262
text: colors.white,
7363
},
7464
},
65+
info: {
66+
background: colors.zinc[950],
67+
outline: colors.zinc[400],
68+
text: colors.zinc[50],
69+
fill: {
70+
solid: colors.zinc[500],
71+
outline: colors.zinc[600],
72+
text: colors.white,
73+
},
74+
},
7575
success: {
7676
background: colors.green[950],
7777
outline: colors.green[500],
@@ -108,7 +108,7 @@ export default {
108108
text: colors.sky[50],
109109
fill: {
110110
solid: colors.sky[600],
111-
outline: colors.sky[600],
111+
outline: colors.sky[400],
112112
text: colors.white,
113113
},
114114
disabled: {

site/src/theme/light/roles.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,6 @@ export default {
5353
},
5454
},
5555
notice: {
56-
background: colors.yellow[50],
57-
outline: colors.yellow[600],
58-
text: colors.yellow[950],
59-
fill: {
60-
solid: colors.yellow[500],
61-
outline: colors.yellow[500],
62-
text: colors.white,
63-
},
64-
},
65-
info: {
6656
background: colors.blue[50],
6757
outline: colors.blue[400],
6858
text: colors.blue[950],
@@ -72,6 +62,16 @@ export default {
7262
text: colors.white,
7363
},
7464
},
65+
info: {
66+
background: colors.zinc[50],
67+
outline: colors.zinc[400],
68+
text: colors.zinc[950],
69+
fill: {
70+
solid: colors.zinc[700],
71+
outline: colors.zinc[600],
72+
text: colors.white,
73+
},
74+
},
7575
success: {
7676
background: colors.green[50],
7777
outline: colors.green[500],

0 commit comments

Comments
 (0)