File size: 726 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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',
    },
  },
})