I should point out that css code in my previous post is scss code, I’m adding // as comments to each line
ion-checkbox[customcolor] { // following rule applies to ion-checkbox elements with "customcolor" property
button { ... } // this applies to button element inside <ion-checkbox]
.button-inner {...} // this applies to element with .button-inner class inside <ion-checkbox>
}
You might not be familiar enough yet to CSS selectors and scss in general so you might want to spend some time there first because trying to explain how above code could ‘reach’ into the DOM tree and get the customization you wanted could easily turn into a css tutorial itself. plz do some homework to that respect.