Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for overriding styles in a stylesheet held in the configuration directory #42

Open
davep opened this issue May 11, 2023 · 1 comment
Labels
enhancement New feature or request Textual Issue Issues that are really down to how Textual works

Comments

@davep
Copy link
Collaborator

davep commented May 11, 2023

Frogmouth's code holds all of the styling in the code, mostly in DEFAULT_CSS on the relevant widget, with a bit over "overall" styling in DEFAULT_CSS on the main screen.

It would be useful, however, if an end user, with some knowledge of the styling options, could override those styles in a stylesheet of their own; but not one that is shipped with and as part of the application, instead one that is optionally held outside of the installation directory (most likely held in the configuration directory -- ~/.config/textualize/frogmouth on most systems).

I need to check if this can be done as part of Textual's current stylesheet loading system (is it possible to attempt to load a stylesheet that doesn't exist without that being an error?), and if not perhaps explore the idea of adding such support to Textual.

@davep davep added the enhancement New feature or request label May 11, 2023
@davep
Copy link
Collaborator Author

davep commented Jun 9, 2023

See also #57

@davep davep added the Textual Issue Issues that are really down to how Textual works label Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Textual Issue Issues that are really down to how Textual works
Projects
None yet
Development

No branches or pull requests

1 participant