mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
migration to scss
all tsx files adjusted added root vars on _variables.scss
This commit is contained in:
parent
ad330bd7a3
commit
691dba26af
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue