mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 00:33:49 +03:00
full migration to scss
This commit is contained in:
parent
d1750fff59
commit
62c6071395
@ -1,7 +1,7 @@
|
|||||||
import { useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
import { SkeletonTheme } from "react-loading-skeleton";
|
import { SkeletonTheme } from "react-loading-skeleton";
|
||||||
import { vars } from "@renderer/theme.css";
|
|
||||||
import "./editor.scss";
|
import "./editor.scss";
|
||||||
|
import "../../scss/_variables.scss";
|
||||||
|
|
||||||
export default function Editor() {
|
export default function Editor() {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@ -9,7 +9,7 @@ export default function Editor() {
|
|||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SkeletonTheme baseColor={vars.color.background} highlightColor="#444">
|
<SkeletonTheme baseColor="var(--background-color)" highlightColor="#444">
|
||||||
<div className="editor-header">
|
<div className="editor-header">
|
||||||
<div className="editor-header-title">
|
<div className="editor-header-title">
|
||||||
<h1>CSS Editor</h1>
|
<h1>CSS Editor</h1>
|
||||||
|
Loading…
Reference in New Issue
Block a user