full migration to scss

This commit is contained in:
Nate 2025-01-17 20:03:20 -03:00
parent d1750fff59
commit 62c6071395

View File

@ -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>