Skip to content

Commit

Permalink
fix css syntax error (#9731)
Browse files Browse the repository at this point in the history
* fix css syntax error

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
  • Loading branch information
pngwn and gradio-pr-bot authored Oct 16, 2024
1 parent d0b2ce8 commit ea283e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/stale-jobs-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"gradio": patch
---

fix:fix css syntax error
2 changes: 1 addition & 1 deletion gradio/themes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def repl_func(match):
dark_css_code = (
"\n:root .dark {\n"
+ "\n".join([f" --{attr}: {val};" for attr, val in dark_css.items()])
+ "\n}\n}"
+ "\n}"
)

font_css = "\n".join(self._font_css)
Expand Down

0 comments on commit ea283e7

Please sign in to comment.