Skip to content

Commit 1cd4405

Browse files
authored
fix: change alpha badge color to violet (#10029)
- Makes it less scary.
1 parent 03c377b commit 1cd4405

File tree

1 file changed

+6
-4
lines changed
  • site/src/components/DeploySettingsLayout

1 file changed

+6
-4
lines changed

site/src/components/DeploySettingsLayout/Badges.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import type { PropsWithChildren, FC } from "react";
22
import Tooltip from "@mui/material/Tooltip";
33
import { type Interpolation, type Theme } from "@emotion/react";
44
import { Stack } from "components/Stack/Stack";
5+
import { colors } from "theme/colors";
56

67
const styles = {
78
badge: (theme) => ({
@@ -109,10 +110,11 @@ export const AlphaBadge: FC = () => {
109110
<span
110111
css={[
111112
styles.badge,
112-
(theme) => ({
113-
border: `1px solid ${theme.palette.error.light}`,
114-
backgroundColor: theme.palette.error.dark,
115-
}),
113+
{
114+
border: `1px solid ${colors.violet[10]}`,
115+
backgroundColor: colors.violet[14],
116+
color: colors.violet[1],
117+
},
116118
]}
117119
>
118120
Alpha

0 commit comments

Comments
 (0)