Skip to content

Commit 86e1f36

Browse files
committed
cleanup old colors to use ds ones
1 parent 18f1149 commit 86e1f36

File tree

5 files changed

+4
-12
lines changed

5 files changed

+4
-12
lines changed

src/components/AssetDownload/AssetDownloadArtist.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,8 @@ const AssetDownloadArtist = ({
1818
}: AssetDownloadArtistProps) => {
1919
const { t } = useTranslation("page-assets")
2020
return (
21-
<Flex
22-
className={cn(
23-
"mb-4 border border-t-0 border-[#e5e5e5]",
24-
"rounded-b-[4px] px-4 py-2"
25-
)}
26-
>
27-
<Flex className="me-2 text-md text-text-300">
21+
<Flex className={cn("mb-4 border border-t-0", "rounded-b px-4 py-2")}>
22+
<Flex className="me-2">
2823
<Emoji text=":artist_palette:" className="me-2 text-2xl" />
2924
{t("page-assets-download-artist")}
3025
</Flex>

src/components/AssetDownload/AssetDownloadImage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface AssetDownloadImageProps {
99
}
1010

1111
const AssetDownloadImage = ({ image, alt }: AssetDownloadImageProps) => (
12-
<Center className="w-full border border-[#e5e5e5] p-8">
12+
<Center className="w-full border p-8">
1313
<TwImage src={image} alt={alt} className="w-full self-center" />
1414
</Center>
1515
)

src/components/AssetDownload/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type AssetDownloadProps = {
2020
artistUrl?: string
2121
image: ImageProps["src"]
2222
svgUrl?: string
23-
} & BaseHTMLAttributes<HTMLDivElement> & { asChild?: boolean }
23+
} & BaseHTMLAttributes<HTMLDivElement>
2424

2525
const AssetDownload = ({
2626
alt,

src/styles/global.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
rgba(145, 234, 228, 0.2) 100%
4444
);
4545
--search-background: var(--background);
46-
--text-300: #4c4c4c;
4746
}
4847

4948
[data-theme="dark"] {
@@ -72,7 +71,6 @@
7271
rgba(134, 253, 232, 0.08) 100%
7372
);
7473
--search-background: #4c4c4c;
75-
--text-300: #cccccc;
7674
}
7775
}
7876

tailwind.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ const config = {
202202
"tooltip-shadow": "var(--tooltip-shadow)",
203203
"hub-hero-content": "var(--hub-hero-content)",
204204
"search-background": "var(--search-background)",
205-
"text-300": "var(--text-300)",
206205
},
207206

208207
backgroundImage: {

0 commit comments

Comments
 (0)