Skip to content

Instantly share code, notes, and snippets.

@davidpiesse
Created March 1, 2017 14:52
Show Gist options
  • Save davidpiesse/deecfe5d06755f955973d7a1a4476537 to your computer and use it in GitHub Desktop.
Save davidpiesse/deecfe5d06755f955973d7a1a4476537 to your computer and use it in GitHub Desktop.
VueJS Switch Custom Style - SASS to CSS conversion
.vue-switcher-theme--custom.vue-switcher-color--green div {
background-color: #C8E6C9;
}
.vue-switcher-theme--custom.vue-switcher-color--green div:after {
background-color: #43A047;
}
.vue-switcher-theme--custom.vue-switcher-color--green.vue-switcher--unchecked div {
background-color: #E0E0E0;
}
.vue-switcher-theme--custom.vue-switcher-color--green.vue-switcher--unchecked div:after {
background-color: #F44336;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment