mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: change alpha badge color to violet (#10029)
- Makes it less scary.
This commit is contained in:
@@ -2,6 +2,7 @@ import type { PropsWithChildren, FC } from "react";
|
||||
import Tooltip from "@mui/material/Tooltip";
|
||||
import { type Interpolation, type Theme } from "@emotion/react";
|
||||
import { Stack } from "components/Stack/Stack";
|
||||
import { colors } from "theme/colors";
|
||||
|
||||
const styles = {
|
||||
badge: (theme) => ({
|
||||
@@ -109,10 +110,11 @@ export const AlphaBadge: FC = () => {
|
||||
<span
|
||||
css={[
|
||||
styles.badge,
|
||||
(theme) => ({
|
||||
border: `1px solid ${theme.palette.error.light}`,
|
||||
backgroundColor: theme.palette.error.dark,
|
||||
}),
|
||||
{
|
||||
border: `1px solid ${colors.violet[10]}`,
|
||||
backgroundColor: colors.violet[14],
|
||||
color: colors.violet[1],
|
||||
},
|
||||
]}
|
||||
>
|
||||
Alpha
|
||||
|
||||
Reference in New Issue
Block a user