-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rename `cssVars` action to `styleVars` and do not prefix properties with `--` by default (more flexible) * [SelectField] Fix toggling display of options menu using toggleIcon. Ignore toggling when clicking on SelectField border. Support hiding toggleIcon (`<SelectField toggleIcon={null} /> * [SelectField] Add `stepper` prop to iterate through options (like `MenuField`) * [MenuField] Expose `selected` option via prop (similar to `SelectField`) * [SelectField Add stepper example * Move `processThemeColors()` from tailwind plugin to $lib/styles/theme to allow calling at runtime (theme generator frontend). Add types * Update skeleton.ts to match skeleton.cjs (to be removed) * Beginning work of theme generator * Read themes from `themes.json` file for both tailwind config and theme selector. Remove daisy/skeleton commonjs modules. Add `getThemeNames` to split based on `color-scheme`. Ultimately simplifies a lot * Add "Copy all" daisy and skeleton options * Use <ThemeSelect> or <ThemeSwitch> based on more than 1 light/dark theme * Fix skeleton dark themes after refactor * Add explicit daisy themeName list to hopefully fix build (similar to skeleton) * Set initial theme selections (fix reactivity infinite loop) * [SelectField] Use `selectValue(...)` instead of `value = ...` so `change` is dispatched (and other consistent updating) * Change light/dark preview based on which input was last changed * Support overriding doc themes wtih generator (custom) themes * Fix setting `prefers-color-scheme: dark` override * Use a local copy of Skeleton themes to fix Cloudflare build (work around Node.js runtime issue) * Improve handling of `-50` shade when `-100` exists (ex. Skeleton) * Update site dark/light mode with preview for better experience (previewing and applying) * Support custom Ior exisitng) theme editing * Add state colors and support showing/hiding optoinal colors * Add "Copy all themes" menu item * [ColorField] Support `hex` entry * Register all themes (daisy + skeleton) * Format files (fix lint error) * Add changeset
- Loading branch information
Showing
43 changed files
with
4,286 additions
and
592 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"svelte-ux": patch | ||
--- | ||
|
||
[SelectField] Add `stepper` prop to iterate through options (like `MenuField`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"svelte-ux": patch | ||
--- | ||
|
||
[MenuField] Expose `selected` option via prop (similar to `SelectField`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"svelte-ux": minor | ||
--- | ||
|
||
Add theme selection/creation page and simplify loading themes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"svelte-ux": patch | ||
--- | ||
|
||
[SelectField] Fix toggling display of options menu using toggleIcon. Support hiding toggleIcon (`<SelectField toggleIcon={null} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'svelte-ux': minor | ||
--- | ||
|
||
Rename `cssVars` action to `styleVars` and do not prefix properties with `--` by default (more flexible) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.