File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { cssVars } from "@bosonprotocol/react-kit" ;
2- import { createGlobalStyle } from "styled-components" ;
2+ import { createGlobalStyle , RuleSet } from "styled-components" ;
33
44import barlowRegular from "../../assets/fonts/Barlow-Regular.ttf" ;
55import neuropolitical_rg from "../../assets/fonts/neuropolitical_rg.ttf" ;
@@ -103,7 +103,24 @@ const GlobalStyle = createGlobalStyle<{
103103 : colors . white } ;
104104
105105 // eslint-disable-next-line @typescript-eslint/no-explicit-any
106- ${ cssVars } ;
106+ ${
107+ cssVars as RuleSet < {
108+ $withBosonStyles ?: boolean ;
109+ $headerBgColor ?: string ;
110+ $headerTextColor ?: string ;
111+ $primaryBgColor ?: string ;
112+ $secondaryBgColor ?: string ;
113+ $accentColor ?: string ;
114+ $textColor ?: string ;
115+ $footerBgColor ?: string ;
116+ $footerTextColor ?: string ;
117+ $fontFamily ?: string ;
118+ $buttonBgColor ?: string ;
119+ $buttonTextColor ?: string ;
120+ $upperCardBgColor ?: string ;
121+ $lowerCardBgColor ?: string ;
122+ } >
123+ } ;
107124
108125 font-size: 0.75rem;
109126 ${ breakpoint . xs } {
You can’t perform that action at this time.
0 commit comments