[UI] Extract our ColorSample and Tag components from twenty-front to twenty-ui. (#5543)

Two more components extracted out of twenty-front: `ColorSample` and
`Tag`.
This commit is contained in:
Abdullah
2024-05-23 10:46:31 +05:00
committed by GitHub
parent 6b1d4e0744
commit b8eef21343
21 changed files with 66 additions and 65 deletions

View File

@ -0,0 +1,7 @@
import { z } from 'zod';
import { MAIN_COLOR_NAMES, ThemeColor } from '@ui/theme';
export const themeColorSchema = z.enum(
MAIN_COLOR_NAMES as [ThemeColor, ...ThemeColor[]],
);