Skip to content

Commit 2259bf4

Browse files
committed
client: modify the regex of the badge icons
1 parent e0b1152 commit 2259bf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/const.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { Card } from "./types";
22

3-
export const ICON_REGEX = /^[a-zA-Z]{3,32}$/;
3+
export const ICON_REGEX = /^[a-zA-Z-_ ]{2,32}$/;
44
export const HEX_COLOR_REGEX = /#[a-fA-F0-9]{6}$/;
55
export const INITIAL_CARD: Card = {
66
title: "My Tech Stack",
7-
theme: "github",
7+
theme: "github_dark",
88
align: "left",
99
titleAlign: "left",
1010
showBorder: true,

0 commit comments

Comments
 (0)