Skip to content

Allow the definition of colors through styling instead of configuration #36

@lehni

Description

@lehni

It would be nice if I could create the component in a way that would make it not set color styles from code, e.g.:

<toggle-button :color="null">
.vue-js-switch .v-switch-core {
  background: $color-grey
}
.vue-js-switch.toggled .v-switch-core {
  background: $color-active
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions