-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
use css as styling file #3686
Comments
I don't think there will ever be support for loading css file. I am not sure what you want to accomplish but Avalonia uses XAML markup language. |
Actually at some point there was some project that brought CSS to Avalonia, iv not seen it for a long time though now. There is currently no plans for Avalonia to change to a different dialect. However if the community wants to build this kind of thing its a great idea. |
In the design of Style, the design of XAML is very bad. It is highly redundant and difficult to read. I suggest adding support for CSS-3 directly. Use various advanced improvements made to CSS styles in the web . |
@sgf from your another comment:
It needs better reasoning than "smaller == better" and how it will work with bindings, templates and other features that don't exist in CSS. By adding CSS support it might end with the same situation of bloated syntax, but in other way. Also many CSS features (or even CSS-preprocessor features) can be ported to the Avalonia. Like inner styles. For some of them we already have feature requests, for other you can create new. |
@maxkatz6 |
how can i use css files instead of xaml files?
The text was updated successfully, but these errors were encountered: