On Friday, 30 December 2016 at 06:22:40 UTC, bauss wrote:
[...]

Yeah. I meant a subset. But widgets will not follow the DOM query syntax, it should use class attributes.

.button {
  border-color: red;
}

.container {
  ...
}

auto btn = new Button();
btn.addClass("button");
btn.addStyleFromFile("style.css");

...
container = new ...
container.addStyleFromSource(".container {…}");

Reply via email to