mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
use style core
This commit is contained in:
parent
c593d8c390
commit
2e5dffa538
@ -16,7 +16,7 @@ export default class ThemeDebug extends React.Component {
|
||||
|
||||
setValues = async () => {
|
||||
const currentVariant = document.documentElement.style.getPropertyValue("--themeVariant")
|
||||
const rootVariables = window.app.ThemeController.getRootVariables()
|
||||
const rootVariables = window.app.cores.style.getRootVariables()
|
||||
|
||||
this.setState({ currentVariant, rootVariables })
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user