Skip to content

Commit 7977bc7

Browse files
committed
fix(web-awesome): remove color swatches from ColorSchemePicker
1 parent 14aeda6 commit 7977bc7

2 files changed

Lines changed: 1 addition & 22 deletions

File tree

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
import type { ThemeFamilyOption } from "@/stores/colorScheme";
22

3-
import * as styles from "./styles.scss";
4-
53
interface ColorSchemeItemProps {
64
option: ThemeFamilyOption;
75
}
86

9-
export const ColorSchemeItem = ({ option }: ColorSchemeItemProps) => (
10-
<span className={styles.item}>
11-
<span className={styles.swatch} style={option.preview ? { background: option.preview } : undefined} />
12-
{option.label}
13-
</span>
14-
);
7+
export const ColorSchemeItem = ({ option }: ColorSchemeItemProps) => <span>{option.label}</span>;
Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +0,0 @@
1-
.item {
2-
display: flex;
3-
align-items: center;
4-
gap: 8px;
5-
}
6-
7-
.swatch {
8-
width: 12px;
9-
height: 12px;
10-
border-radius: 3px;
11-
border: 1px solid var(--color-border-default);
12-
flex-shrink: 0;
13-
background: var(--color-bg-canvas);
14-
}

0 commit comments

Comments
 (0)