Default css

This commit is contained in:
Will McGugan
2022-09-02 09:56:04 +01:00
parent b6728a694f
commit e555b8512f
33 changed files with 64 additions and 50 deletions

View File

@@ -106,7 +106,7 @@ def test_stylesheet_apply_user_css_over_widget_css():
user_css = ".a {color: red; tint: yellow;}"
class MyWidget(Widget):
CSS = ".a {color: blue !important; background: lime;}"
DEFAULT_CSS = ".a {color: blue !important; background: lime;}"
node = MyWidget()
node.add_class("a")