Download react-spring/docs/app/components/Text/List.css.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 894 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-spring/docs/app/components/Text/List.css.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-spring/docs/app/components/Text/List.css.ts
-
curl -L -o List.css.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-spring/docs/app/components/Text/List.css.ts
894 Bytes
| import { globalStyle, style } from '@vanilla-extract/css' | |
| import { vars } from '../../styles/theme-contract.css' | |
| import { XS } from '../../styles/fontStyles.css' | |
| export const list = style({ | |
| paddingLeft: vars.space['20'], | |
| fontWeight: vars.fontWeights.default, | |
| }) | |
| globalStyle(`${list} code`, { | |
| backgroundColor: vars.colors.steel20, | |
| borderRadius: vars.radii.r4, | |
| padding: '0.2rem 0.5rem', | |
| }) | |
| export const descriptiveList = style([XS]) | |
| globalStyle(`${descriptiveList} code`, { | |
| backgroundColor: vars.colors.steel20, | |
| borderRadius: vars.radii.r4, | |
| padding: '0.2rem 0.5rem', | |
| }) | |
| globalStyle(`${descriptiveList} div`, { | |
| display: 'flex', | |
| gap: vars.space['5'], | |
| }) | |
| globalStyle(`${descriptiveList} dt`, { | |
| display: 'flex', | |
| gap: vars.space['5'], | |
| }) | |
| globalStyle(`${descriptiveList} dd`, { | |
| display: 'flex', | |
| margin: 0, | |
| gap: vars.space['5'], | |
| marginBottom: vars.space['15'], | |
| }) | |