This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useEffect, useState } from 'react' | |
import Badge from '@/components/Badge' | |
interface SelectProps { | |
className?: string | |
id?: string | |
label?: string | |
hint?: string | |
options: any | |
defaultPlaceholder?: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"color": { | |
"amber": { | |
"amber1": { | |
"value": "hsl(39, 70.0%, 99.0%)", | |
"type": "color" | |
}, | |
"amber2": { | |
"value": "hsl(40, 100%, 96.5%)", | |
"type": "color" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"theme": { | |
"fontFamily": { | |
"display": { | |
"family": "DM Serif Display", | |
"fontWeight": { | |
"normal": "400" | |
} | |
}, | |
"sans": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const test = "hello world 3"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A script which creates Figma Color Styles from a JSON object (e.g. Tailwind colors config) | |
// From https://github.com/tailwindlabs/tailwindcss/blob/master/src/public/colors.js | |
const colorsObject = { | |
black: '#000000', | |
white: '#ffffff', | |
slate: { | |
50: '#f8fafc', | |
100: '#f1f5f9', | |
200: '#e2e8f0', |