Download react-spring/docs/app/components/Text/GradientHeader.css.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 726 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-spring/docs/app/components/Text/GradientHeader.css.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-spring/docs/app/components/Text/GradientHeader.css.ts
-
curl -L -o GradientHeader.css.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-spring/docs/app/components/Text/GradientHeader.css.ts
726 Bytes
| import { style } from '@vanilla-extract/css' | |
| import { darkThemeClass } from '../../styles/dark-theme.css' | |
| import { vars } from '../../styles/theme-contract.css' | |
| export const gradientHeader = style({ | |
| display: 'inline', | |
| background: vars.colors.blueGreenGradient100, | |
| WebkitBackgroundClip: 'text', | |
| WebkitTextFillColor: 'transparent', | |
| backgroundClip: 'text', | |
| textFillColor: 'transparent', | |
| marginBottom: '0.4rem', | |
| selectors: { | |
| [`${darkThemeClass} &`]: { | |
| background: vars.colors.redYellowGradient100, | |
| WebkitBackgroundClip: 'text', | |
| WebkitTextFillColor: 'transparent', | |
| backgroundClip: 'text', | |
| // @ts-expect-error - this is a thing. | |
| textFillColor: 'transparent', | |
| }, | |
| }, | |
| }) | |