fix: default Khanegi modular palette to Niazi colors

Header #0a1b37, accent #e0be7f, background #ffffff.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-10 11:42:31 +03:30
co-authored by Cursor
parent be4931047d
commit c7947fc668
+6 -6
View File
@@ -15,9 +15,9 @@ const domain = ref('')
const uiVariant = ref<'modular' | 'newTheme'>('modular') const uiVariant = ref<'modular' | 'newTheme'>('modular')
const brand = reactive({ const brand = reactive({
primaryColor: '#ffffff', primaryColor: '#0a1b37',
secondaryColor: '#2563EB', secondaryColor: '#e0be7f',
backgroundColor: '#fafafa', backgroundColor: '#ffffff',
}) })
const NAV_ITEMS = ['خانه', 'خرید و فروش', 'کیف پول', 'تراکنش‌ها', 'پروفایل'] const NAV_ITEMS = ['خانه', 'خرید و فروش', 'کیف پول', 'تراکنش‌ها', 'پروفایل']
@@ -45,9 +45,9 @@ function textOn(bg: string) {
} }
const palette = computed(() => ({ const palette = computed(() => ({
header: swatchHex(brand.primaryColor, '#ffffff'), header: swatchHex(brand.primaryColor, '#0a1b37'),
accent: swatchHex(brand.secondaryColor, '#2563EB'), accent: swatchHex(brand.secondaryColor, '#e0be7f'),
page: swatchHex(brand.backgroundColor, '#fafafa'), page: swatchHex(brand.backgroundColor, '#ffffff'),
})) }))
const previewChrome = computed(() => { const previewChrome = computed(() => {