/* To add a sheet style: Add a CSS rule for .sheeet-color-setting-X ~ .sheet-wrapper , were X is the following number to the highest one from the available styles. Within it, set the CSS variables for the colors to use, use the existing styles as a baseline to simplify this. Add a color-setting element at the begging of the sheet HTML, directly before sheet-wrapper, using the same number X you've used on the CSS rule Increase by one the StyleCount variable at the start of the sheet worker at the begining of the sheet HTML (it should be one higher than X) Go to */ /* see: https://www.w3schools.com/howto/howto_css_switch.asp */ /* The switch - the box around the slider */ .sheet-custom-checkbox label { margin: 0; padding: 0; font-weight: normal; font-size: 1em; } .sheet-custom-checkbox .sheet-switch { position: relative; display: inline-block; width: 24px; height: 24px; } /* Hide default HTML checkbox */ .sheet-custom-checkbox .sheet-switch input { opacity: 0; width: 0; height: 0; } .sheet-custom-checkbox .sheet-switch .sheet-icon { position: absolute; top: 0; left: 0; width: 24px; height: 24px; } .sheet-custom-checkbox .sheet-switch .sheet-icon:before { font-family: "Pictos"; content: "~"; font-size: 24px; color: red; text-decoration: line-through dotted black; } .sheet-custom-checkbox .sheet-switch input:checked ~ .sheet-icon:before { color: blue; text-decoration: none; }