From 880766a74403eff71c50ada49b9042d0a94128a3 Mon Sep 17 00:00:00 2001 From: LEv145 Date: Thu, 13 Jul 2023 14:35:48 +0200 Subject: [PATCH] Fix for Lobe theme `modules.ui_components.ToolButton` don't work with properties `visible`, `variant` (https://github.com/canisminor1990/sd-webui-lobe-theme/blob/d4c4a48e8025d32b202716d4ab8d806580752256/src/styles/components/button.ts) --- style.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/style.css b/style.css index 865bc4b..5e42e33 100644 --- a/style.css +++ b/style.css @@ -34,3 +34,17 @@ button#arsp__arc_hide_logic_button { height: 22px; overflow: hidden !important; } + +/* Fix for Lobe theme */ +/* https://github.com/canisminor1990/sd-webui-lobe-theme/blob/d4c4a48e8025d32b202716d4ab8d806580752256/src/styles/components/button.ts */ +.hide.svelte-1ipelgc { + display: none !important; +} + +.primary.svelte-1ipelgc { + background: var(--button-primary-background-fill) !important; +} + +.secondary.svelte-1ipelgc { + background: var(--button-secondary-background-fill) !important; +}