We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is it possible to use common variables in constructed Styles and Texts?
The text was updated successfully, but these errors were encountered:
No - those are Rich objects and are unaware of Textual CSS.
Rich
You could grab the values from the variables like this:
self.app.get_css_variables()
Although internally in Textual we generally use component classes when bridging from Textual CSS to Rich objects.
Sorry, something went wrong.
Thank you!
Don't forget to star the repository!
Follow @textualizeio for Textual updates.
No branches or pull requests
Is it possible to use common variables in constructed Styles and Texts?
The text was updated successfully, but these errors were encountered: