Skip to content

chore(site): make info gray #14356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Aug 20, 2024
Prev Previous commit
Next Next commit
a couple tweaks
  • Loading branch information
aslilac committed Aug 19, 2024
commit 2ffbfcaad505f97dce78a9484108227a08dd3d18
12 changes: 6 additions & 6 deletions site/src/components/Badges/Badges.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ export const EnterpriseBadge: FC = () => {
css={[
styles.badge,
(theme) => ({
backgroundColor: theme.roles.info.background,
border: `1px solid ${theme.roles.info.outline}`,
color: theme.roles.info.text,
backgroundColor: theme.roles.notice.background,
border: `1px solid ${theme.roles.notice.outline}`,
color: theme.roles.notice.text,
}),
]}
>
Expand All @@ -129,9 +129,9 @@ export const PremiumBadge: FC = () => {
css={[
styles.badge,
(theme) => ({
backgroundColor: theme.roles.info.background,
border: `1px solid ${theme.roles.info.outline}`,
color: theme.roles.info.text,
backgroundColor: theme.roles.notice.background,
border: `1px solid ${theme.roles.notice.outline}`,
color: theme.roles.notice.text,
}),
]}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ const styles = {
borderColor: theme.roles.active.outline,
}),
ownerRoleBadge: (theme) => ({
backgroundColor: theme.roles.info.background,
borderColor: theme.roles.info.outline,
backgroundColor: theme.roles.notice.background,
borderColor: theme.roles.notice.outline,
}),
roleBadge: (theme) => ({
backgroundColor: theme.experimental.l2.background,
Expand Down
30 changes: 15 additions & 15 deletions site/src/theme/darkBlue/roles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import colors from "../tailwindColors";
export default {
danger: {
background: colors.orange[950],
outline: colors.orange[600],
outline: colors.orange[500],
text: colors.orange[50],
fill: {
solid: colors.orange[500],
Expand Down Expand Up @@ -34,11 +34,11 @@ export default {
},
error: {
background: colors.red[950],
outline: colors.red[500],
outline: colors.red[600],
text: colors.red[50],
fill: {
solid: colors.red[600],
outline: colors.red[600],
solid: colors.red[400],
outline: colors.red[400],
text: colors.white,
},
},
Expand All @@ -53,16 +53,6 @@ export default {
},
},
notice: {
background: colors.yellow[950],
outline: colors.yellow[200],
text: colors.yellow[50],
fill: {
solid: colors.yellow[500],
outline: colors.yellow[500],
text: colors.white,
},
},
info: {
background: colors.blue[950],
outline: colors.blue[400],
text: colors.blue[50],
Expand All @@ -72,6 +62,16 @@ export default {
text: colors.white,
},
},
info: {
background: colors.zinc[950],
outline: colors.zinc[400],
text: colors.zinc[50],
fill: {
solid: colors.zinc[500],
outline: colors.zinc[600],
text: colors.white,
},
},
success: {
background: colors.green[950],
outline: colors.green[500],
Expand Down Expand Up @@ -108,7 +108,7 @@ export default {
text: colors.sky[50],
fill: {
solid: colors.sky[600],
outline: colors.sky[600],
outline: colors.sky[400],
text: colors.white,
},
disabled: {
Expand Down
20 changes: 10 additions & 10 deletions site/src/theme/light/roles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,6 @@ export default {
},
},
notice: {
background: colors.yellow[50],
outline: colors.yellow[600],
text: colors.yellow[950],
fill: {
solid: colors.yellow[500],
outline: colors.yellow[500],
text: colors.white,
},
},
info: {
background: colors.blue[50],
outline: colors.blue[400],
text: colors.blue[950],
Expand All @@ -72,6 +62,16 @@ export default {
text: colors.white,
},
},
info: {
background: colors.zinc[50],
outline: colors.zinc[400],
text: colors.zinc[950],
fill: {
solid: colors.zinc[700],
outline: colors.zinc[600],
text: colors.white,
},
},
success: {
background: colors.green[50],
outline: colors.green[500],
Expand Down
Loading