diff --git a/Auto-Image.js b/Auto-Image.js index 314869b..aef4768 100644 --- a/Auto-Image.js +++ b/Auto-Image.js @@ -242,22 +242,22 @@ } catch {} }; - // setVar('--wplace-primary', theme.primary); - // setVar('--wplace-secondary', theme.secondary); - // setVar('--wplace-accent', theme.accent); - // setVar('--wplace-text', theme.text); - // setVar('--wplace-highlight', theme.highlight); - // setVar('--wplace-success', theme.success); - // setVar('--wplace-error', theme.error); - // setVar('--wplace-warning', theme.warning); - // - // // Typography + look - // setVar('--wplace-font', theme.fontFamily || "'Segoe UI', Roboto, sans-serif"); - // setVar('--wplace-radius', '' + (theme.borderRadius || '12px')); - // setVar('--wplace-border-style', '' + (theme.borderStyle || 'solid')); - // setVar('--wplace-border-width', '' + (theme.borderWidth || '1px')); - // setVar('--wplace-backdrop', '' + (theme.backdropFilter || 'blur(10px)')); - // setVar('--wplace-border-color', 'rgba(255,255,255,0.1)'); + setVar('--wplace-primary', theme.primary); + setVar('--wplace-secondary', theme.secondary); + setVar('--wplace-accent', theme.accent); + setVar('--wplace-text', theme.text); + setVar('--wplace-highlight', theme.highlight); + setVar('--wplace-success', theme.success); + setVar('--wplace-error', theme.error); + setVar('--wplace-warning', theme.warning); + + // Typography + look + setVar('--wplace-font', theme.fontFamily || "'Segoe UI', Roboto, sans-serif"); + setVar('--wplace-radius', '' + (theme.borderRadius || '12px')); + setVar('--wplace-border-style', '' + (theme.borderStyle || 'solid')); + setVar('--wplace-border-width', '' + (theme.borderWidth || '1px')); + setVar('--wplace-backdrop', '' + (theme.backdropFilter || 'blur(10px)')); + setVar('--wplace-border-color', 'rgba(255,255,255,0.1)'); } const saveThemePreference = () => { @@ -3706,7 +3706,7 @@ Batch Mode - @@ -3769,7 +3769,7 @@ Generation Mode - @@ -3785,7 +3785,7 @@ Starting Direction - @@ -3923,10 +3923,7 @@ diff --git a/auto-image-styles.css b/auto-image-styles.css index 147a17f..896ade6 100644 --- a/auto-image-styles.css +++ b/auto-image-styles.css @@ -1923,15 +1923,3 @@ color: var(--wplace-icon-palette); margin-right: 6px; } - -.wplace-selector { - width: 100%; - padding: 10px 12px; - background: var(--wplace-bg-input); - color: var(--wplace-text); - border: 1px solid var(--wplace-border-subtle); - border-radius: 8px; - font-size: 13px; - outline: none; - cursor: pointer; -}