From 0c349117dadcde569fd6f0cd1ca5e6501d8d6994 Mon Sep 17 00:00:00 2001 From: Sqaaakoi Date: Mon, 20 Jan 2025 05:31:16 +1300 Subject: [PATCH] ClientTheme, Styles: Partial styles and convert ClientTheme to use Styles API --- src/api/Styles.ts | 8 +++-- src/plugins/clientTheme/index.tsx | 56 +++++++++++++++---------------- 2 files changed, 33 insertions(+), 31 deletions(-) diff --git a/src/api/Styles.ts b/src/api/Styles.ts index 6f93ef6c6..40a5047c5 100644 --- a/src/api/Styles.ts +++ b/src/api/Styles.ts @@ -25,6 +25,8 @@ export interface Style { edit?(source: string): string; } +export type PartialStyle = Partial