|
@ -9,7 +9,12 @@ const roboto = Roboto({ |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
const getCssVariableValue = (variable: string): string => { |
|
|
const getCssVariableValue = (variable: string): string => { |
|
|
return getComputedStyle(document.documentElement).getPropertyValue(variable); |
|
|
|
|
|
|
|
|
if (typeof window !== "undefined") { |
|
|
|
|
|
return getComputedStyle(document.documentElement).getPropertyValue( |
|
|
|
|
|
variable |
|
|
|
|
|
); |
|
|
|
|
|
} |
|
|
|
|
|
return ""; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
const theme = createTheme({ |
|
|
const theme = createTheme({ |
|
|