migration to scss

all tsx files adjusted
added root vars on _variables.scss
This commit is contained in:
Nate 2025-01-17 18:52:23 -03:00
parent ad330bd7a3
commit 691dba26af

View File

@ -1,6 +1,6 @@
import { useEffect, useState } from "react"; import { useEffect, useState } from "react";
import { SkeletonTheme } from "react-loading-skeleton"; import { SkeletonTheme } from "react-loading-skeleton";
import { vars } from "@renderer/theme.css"; import "../../scss/_variables.scss";
import "./editor.scss"; import "./editor.scss";
import { Editor as Monaco } from "@monaco-editor/react"; import { Editor as Monaco } from "@monaco-editor/react";
@ -34,7 +34,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>