svelte-theme-picker 1.1.0 → 1.1.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/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # svelte-theme-picker
2
2
 
3
- A beautiful, customizable theme picker component for Svelte 5 applications.
3
+ A customizable theme picker component for Svelte 5 applications.
4
4
 
5
5
  ## Features
6
6
 
7
- - 10 beautiful built-in themes (dark and light modes)
7
+ - 10 built-in themes (dark and light modes)
8
8
  - Fully customizable - add your own themes
9
9
  - Persists selection to localStorage
10
10
  - Applies CSS variables to your document
@@ -51,8 +51,6 @@
51
51
  return generateFontPreloadLinks([...allFonts], fontConfig);
52
52
  });
53
53
 
54
- // No-transitions CSS
55
- const noTransitionsCSS = '.no-transitions,.no-transitions *,.no-transitions *::before,.no-transitions *::after{transition:none!important;animation:none!important}';
56
54
  </script>
57
55
 
58
56
  <svelte:head>
@@ -64,6 +62,6 @@
64
62
  {@html `<script>${blockingScript}</script>`}
65
63
  {#if preventTransitions}
66
64
  <!-- eslint-disable-next-line svelte/no-at-html-tags -->
67
- {@html `<style>${noTransitionsCSS}</style>`}
65
+ {@html '<style>.no-transitions,.no-transitions *,.no-transitions *::before,.no-transitions *::after{transition:none!important;animation:none!important}</style>'}
68
66
  {/if}
69
67
  </svelte:head>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-theme-picker",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "A beautiful, customizable theme picker component for Svelte applications",
5
5
  "license": "MIT",
6
6
  "type": "module",