yaxa-svelte 1.13.0 → 1.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/site/config.js +13 -16
- package/dist/theme/theme.svelte.js +3 -3
- package/package.json +1 -1
package/dist/site/config.js
CHANGED
|
@@ -67,15 +67,17 @@ export function defineSiteConfig(config) {
|
|
|
67
67
|
project: resolvedProject,
|
|
68
68
|
legal: {
|
|
69
69
|
refundDays: 14,
|
|
70
|
-
paymentProcessor: '
|
|
70
|
+
paymentProcessor: 'none',
|
|
71
71
|
morNotice: defaultMorNotice,
|
|
72
72
|
dpoEmail: config.legal?.dpoEmail || primaryEmail,
|
|
73
73
|
...config.legal,
|
|
74
74
|
links: {
|
|
75
75
|
privacy: '/privacy',
|
|
76
76
|
terms: '/terms',
|
|
77
|
-
refunds: '/refunds',
|
|
78
77
|
impressum: '/impressum',
|
|
78
|
+
...(config.legal?.paymentProcessor && config.legal?.paymentProcessor !== 'none'
|
|
79
|
+
? { refunds: '/refunds' }
|
|
80
|
+
: {}),
|
|
79
81
|
...config.legal?.links
|
|
80
82
|
}
|
|
81
83
|
},
|
|
@@ -98,31 +100,26 @@ export function defineSiteConfig(config) {
|
|
|
98
100
|
};
|
|
99
101
|
}
|
|
100
102
|
export const DEFAULT_SITE_CONFIG = defineSiteConfig({
|
|
101
|
-
name: '
|
|
102
|
-
title: '
|
|
103
|
-
description: 'A
|
|
104
|
-
url: '
|
|
105
|
-
email: '
|
|
103
|
+
name: 'App',
|
|
104
|
+
title: 'My Application',
|
|
105
|
+
description: 'A modern web application built with Svelte 5 and Tailwind CSS v4.',
|
|
106
|
+
url: 'http://localhost:5173',
|
|
107
|
+
email: 'contact@example.com',
|
|
106
108
|
logo: '/favicon.svg',
|
|
107
109
|
project: {
|
|
108
110
|
license: 'MIT',
|
|
109
111
|
type: 'open-source',
|
|
110
|
-
pricingModel: '
|
|
111
|
-
repositoryUrl: 'https://github.com/FuntionalFrost/yaxa'
|
|
112
|
+
pricingModel: 'free'
|
|
112
113
|
},
|
|
113
114
|
theme: {
|
|
114
115
|
primaryColor: '#ff3e00',
|
|
115
116
|
neutralColor: '#71717a',
|
|
116
|
-
defaultMode: '
|
|
117
|
+
defaultMode: 'system'
|
|
117
118
|
},
|
|
118
119
|
seo: {
|
|
119
|
-
titleTemplate: '%s ·
|
|
120
|
+
titleTemplate: '%s · App',
|
|
120
121
|
defaultOgImage: '/api/og',
|
|
121
122
|
twitterCard: 'summary_large_image'
|
|
122
123
|
},
|
|
123
|
-
nav: [
|
|
124
|
-
{ label: 'Docs', href: '/docs' },
|
|
125
|
-
{ label: 'Components', href: '/docs/comp-buttons' },
|
|
126
|
-
{ label: 'SEO Suite', href: '/docs/seo-og' }
|
|
127
|
-
]
|
|
124
|
+
nav: []
|
|
128
125
|
});
|
|
@@ -235,7 +235,7 @@ class ThemeStore {
|
|
|
235
235
|
fontFamily = $state('sans');
|
|
236
236
|
radius = $state('default');
|
|
237
237
|
fontSize = $state('base');
|
|
238
|
-
accentScrollbar = $state(
|
|
238
|
+
accentScrollbar = $state(false);
|
|
239
239
|
constructor() {
|
|
240
240
|
if (browser) {
|
|
241
241
|
const storedMode = localStorage.getItem('yaxa-theme');
|
|
@@ -267,7 +267,7 @@ class ThemeStore {
|
|
|
267
267
|
this.accentScrollbar = storedScrollbar === 'true';
|
|
268
268
|
}
|
|
269
269
|
else {
|
|
270
|
-
this.accentScrollbar =
|
|
270
|
+
this.accentScrollbar = false;
|
|
271
271
|
}
|
|
272
272
|
this.applyAllStyles();
|
|
273
273
|
// Listen for system theme changes
|
|
@@ -365,7 +365,7 @@ class ThemeStore {
|
|
|
365
365
|
this.setFontFamily('sans');
|
|
366
366
|
this.setRadius('default');
|
|
367
367
|
this.setFontSize('base');
|
|
368
|
-
this.setAccentScrollbar(
|
|
368
|
+
this.setAccentScrollbar(false);
|
|
369
369
|
}
|
|
370
370
|
applyAllStyles() {
|
|
371
371
|
this.updateResolvedTheme();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yaxa-svelte",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.1",
|
|
4
4
|
"description": "The Intuitive Svelte UI Library — Nuxt UI v4 equivalent for SvelteKit 2.7+ & Svelte 5 with automated SEO, dynamic OpenGraph cards, sitemaps, robots.txt, and Tailwind CSS v4.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://yaxa.vercel.app",
|