Loading request...
Implement a way to dynamically load and unload CSS files, to allow for theme changing.
### Discussed in https://github.com/Textualize/textual/discussions/3907 <div type='discussions-op-text'> <sup>Originally posted by **kraanzu** December 20, 2023</sup> 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 </div>