Skip to content

Set default values in .CSS instead of .dart #18

@pa7

Description

@pa7

e.g. <b-loading>:
Remove

  String _defaultColor = "#505050";

  void attached() {
    // Setting the color to the default color in case no color
    // has been provided through the color attribute.
    if (color == null) {
      updateColor(_defaultColor);
    }
  }

and set default color in .CSS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions