From 70bff5d549cd40ba1eb5f804006cf2864e7384b2 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Fri, 30 Oct 2026 23:31:54 -0700 Subject: [PATCH] refactor(bar): render.rs takes Colour and Rgb from komorebi-themes komorebi_client::Colour and ::Rgb are re-exports of komorebi_themes::colour::Colour and ::Rgb in both trees; naming the crate that defines them lets render.rs move into komorebi-bar-core, which must not depend on komorebi_client (D25). Both bars' render.rs change identically. No behaviour change. Verified: Windows cargo clippy --workspace --locked --all-targets -D warnings clean; macOS fake-CC cargo check --locked --workspace --all-targets finished, 0 errors. Types are the same re-exports, so no schema change. Not verified: rendering. --- komorebi-bar/src/render.rs | 4 ++-- komorebi-for-mac/komorebi-bar/src/render.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/komorebi-bar/src/render.rs b/komorebi-bar/src/render.rs index 4c7fd1dc..482e3b74 100644 --- a/komorebi-bar/src/render.rs +++ b/komorebi-bar/src/render.rs @@ -13,8 +13,8 @@ use eframe::egui::Margin; use eframe::egui::Shadow; use eframe::egui::TextStyle; use eframe::egui::Ui; -use komorebi_client::Colour; -use komorebi_client::Rgb; +use komorebi_themes::colour::Colour; +use komorebi_themes::colour::Rgb; use serde::Deserialize; use serde::Serialize; use std::num::NonZeroU32; diff --git a/komorebi-for-mac/komorebi-bar/src/render.rs b/komorebi-for-mac/komorebi-bar/src/render.rs index 6634a346..1840daa2 100644 --- a/komorebi-for-mac/komorebi-bar/src/render.rs +++ b/komorebi-for-mac/komorebi-bar/src/render.rs @@ -13,8 +13,8 @@ use eframe::egui::Margin; use eframe::egui::Shadow; use eframe::egui::TextStyle; use eframe::egui::Ui; -use komorebi_client::Colour; -use komorebi_client::Rgb; +use komorebi_themes::colour::Colour; +use komorebi_themes::colour::Rgb; use serde::Deserialize; use serde::Serialize; use std::num::NonZeroU32;