Skip to content

Commit

Permalink
Fix secondary hue bug in gr.themes.builder() (#5660)
Browse files Browse the repository at this point in the history
* fix: builder_app.py

* add changeset

* add changeset

---------

Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
  • Loading branch information
3 people committed Sep 22, 2023
1 parent 75ddeb3 commit d76555a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/few-nights-cheer.md
@@ -0,0 +1,5 @@
---
"gradio": minor
---

feat:Fix secondary hue bug in gr.themes.builder()
2 changes: 1 addition & 1 deletion gradio/themes/builder_app.py
Expand Up @@ -878,7 +878,7 @@ def load_color(color_name):
)
attach_rerender(
secondary_hue.select(
load_color, secondary_hue, secondary_hue, api_name=False
load_color, secondary_hue, secondary_hues, api_name=False
).then
)
attach_rerender(
Expand Down

0 comments on commit d76555a

Please sign in to comment.