You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by kraanzu December 20, 2023
I'm trying to make a theme changer and I'm currently using classes (like .theme-name) to override the color/styles in a widget but is there a way to dynamically load/unload css files?
I looked into the action_toggle_dark which also uses classnames.
Textual is able to determine any file changes in the CSS file, but It'd be great if I can change the CSS_PATH on demand :D
The text was updated successfully, but these errors were encountered:
Discussed in #3907
Originally posted by kraanzu December 20, 2023
I'm trying to make a theme changer and I'm currently using classes (like
.theme-name
) to override the color/styles in a widget but is there a way to dynamically load/unload css files?I looked into the
action_toggle_dark
which also uses classnames.Textual is able to determine any file changes in the CSS file, but It'd be great if I can change the
CSS_PATH
on demand :DThe text was updated successfully, but these errors were encountered: