-
Notifications
You must be signed in to change notification settings - Fork 815
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
CSS parsing breaks when using border: $text #3025
Comments
From the docs it looks like For example |
It's because the |
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
I wanted to create a widget with a border the same color as the text.
However, when I tried using
border: solid $text
I get this error:Other color names like
$primary
,$secondary
, etc; these work fine, but for some reason it breaks for$text
.Here is a simplified example that demonstrates the issue:
This should work, right?
The text was updated successfully, but these errors were encountered: