Download react-spring/docs/app/components/Site/SiteThemePicker.css.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 832 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-spring/docs/app/components/Site/SiteThemePicker.css.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-spring/docs/app/components/Site/SiteThemePicker.css.ts
-
curl -L -o SiteThemePicker.css.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-spring/docs/app/components/Site/SiteThemePicker.css.ts
832 Bytes
| import { style } from '@vanilla-extract/css' | |
| import { vars } from '../../styles/theme-contract.css' | |
| export const themeGroup = style({ | |
| height: '4.6rem', | |
| width: '9.2rem', | |
| position: 'relative', | |
| backgroundColor: vars.colors.codeBackground, | |
| borderRadius: vars.radii.r8, | |
| zIndex: 0, | |
| }) | |
| export const themePicker = style({ | |
| background: 'transparent', | |
| border: 'none', | |
| width: '50%', | |
| height: '100%', | |
| display: 'inline-flex', | |
| justifyContent: 'center', | |
| alignItems: 'center', | |
| borderRadius: vars.radii.r8, | |
| padding: '0.2rem', | |
| cursor: 'pointer', | |
| position: 'relative', | |
| zIndex: 1, | |
| }) | |
| export const themeActiveBlob = style({ | |
| height: 42, | |
| backgroundColor: vars.colors.white, | |
| position: 'absolute', | |
| zIndex: 0, | |
| top: 2, | |
| borderRadius: vars.radii.r8, | |
| transition: 'left 400ms ease-out, right 400ms ease-out', | |
| }) | |