diff --git a/CLAUDE.md b/CLAUDE.md
index 848e296..b36739c 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -18,7 +18,7 @@ A developer-facing visual theming system for Saucebase. Lets the SaaS owner desi
- Google Fonts — loaded on-demand via `` injection; font classes injected per-var
- Theme picker with animated ripple transition between themes
- Theme persistence via `localStorage` key `sb-theme-theme`
-- Save button is a **dropdown**: "Save" (update existing custom theme) / "Save as new theme" (create new)
+- Save button is a **dropdown**: "Save" (update existing custom theme) / "Save as" (create new)
---
diff --git a/resources/js/components/ThemePanel.vue b/resources/js/components/ThemePanel.vue
index d5244a6..5f9486b 100644
--- a/resources/js/components/ThemePanel.vue
+++ b/resources/js/components/ThemePanel.vue
@@ -822,12 +822,12 @@ const dialogCommandOpen = ref(false);
{{ $t('Theme customizer') }}
- {{ $t('Adjust colors, font, and radius.') }}
+ {{ $t('Add your own flavor') }}
- {{ $t('Adjust colors, font, and radius.') }}
+ {{ $t('Add your own flavor') }}
-
+
-
+
- {{ $t('Save as new theme') }}
+ {{ $t('Save as') }}
@@ -1116,7 +1116,7 @@ const dialogCommandOpen = ref(false);
@click="dialogSaveOpen = true"
>
- {{ $t('Save as new theme') }}
+ {{ $t('Save as') }}
diff --git a/tests/e2e/themes-config.spec.ts b/tests/e2e/themes-config.spec.ts
index 02b1034..7ea6f7a 100644
--- a/tests/e2e/themes-config.spec.ts
+++ b/tests/e2e/themes-config.spec.ts
@@ -3,26 +3,25 @@ import { expect, test } from '@e2e/fixtures';
test.describe('Themes config flags', () => {
test.beforeEach(async ({ laravel }) => {
await laravel.callFunction('Modules\\Themes\\Tests\\Support\\ThemesTestHelper::cleanUserThemes');
- // Restore defaults after any config overrides
- await laravel.callFunction('Modules\\Themes\\Tests\\Support\\ThemesTestHelper::resetConfig');
+ await laravel.config('themes.enabled', true);
});
test.afterEach(async ({ laravel }) => {
await laravel.callFunction('Modules\\Themes\\Tests\\Support\\ThemesTestHelper::cleanUserThemes');
- await laravel.callFunction('Modules\\Themes\\Tests\\Support\\ThemesTestHelper::resetConfig');
+ await laravel.config('themes.enabled', true);
});
// ── themes.enabled ────────────────────────────────────────────────────────
test('theme panel trigger is hidden when themes.enabled is false', async ({ page, laravel }) => {
- await laravel.callFunction('Modules\\Themes\\Tests\\Support\\ThemesTestHelper::setEnabled', [false]);
+ await laravel.config('themes.enabled', false);
await page.goto('/');
await expect(page.getByTestId('theme-panel-trigger')).not.toBeVisible();
});
test('theme panel trigger is visible when themes.enabled is true', async ({ page, laravel }) => {
- await laravel.callFunction('Modules\\Themes\\Tests\\Support\\ThemesTestHelper::setEnabled', [true]);
+ await laravel.config('themes.enabled', true);
await page.goto('/');
await expect(page.getByTestId('theme-panel-trigger')).toBeVisible();