From dc7c709bfe9514c1958bb4ef6f4da10bdd3941f4 Mon Sep 17 00:00:00 2001 From: Misaki Kasumi Date: Fri, 1 Dec 2023 12:00:08 +0800 Subject: [PATCH] style.ts --- src/components/BrightnessPanel.vue | 5 +--- src/main.js | 1 + .../ColorProvider.vue => style.ts} | 25 +++++++------------ 3 files changed, 11 insertions(+), 20 deletions(-) rename src/{components/ColorProvider.vue => style.ts} (58%) diff --git a/src/components/BrightnessPanel.vue b/src/components/BrightnessPanel.vue index 5430264..026416a 100644 --- a/src/components/BrightnessPanel.vue +++ b/src/components/BrightnessPanel.vue @@ -1,10 +1,7 @@ diff --git a/src/main.js b/src/main.js index 03cb695..2976689 100644 --- a/src/main.js +++ b/src/main.js @@ -3,6 +3,7 @@ import { watchThrottled } from "./watchers"; import monitorManager from "./monitor"; import BrightnessPanel from "./components/BrightnessPanel.vue"; import panelState from "./wm"; +import "./style"; import "./style.global.sass"; createApp(BrightnessPanel).mount("#root"); diff --git a/src/components/ColorProvider.vue b/src/style.ts similarity index 58% rename from src/components/ColorProvider.vue rename to src/style.ts index 5bb6d54..14678ee 100644 --- a/src/components/ColorProvider.vue +++ b/src/style.ts @@ -1,8 +1,7 @@ - - -