Skip to content

Tint and Shade functions ignore the amount parameter #2

Description

@Johann13

The functions to create a tint or shade for a color have a paramater amount.

Currenly this is the library code

TinyColor tint([int amount = 10]) {
  return this.mix(input: Color.fromRGBO(255, 255, 255, 1.0));
}

TinyColor shade([int amount = 10]) {
  return this.mix(input: Color.fromRGBO(0, 0, 0, 1.0));
}

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