$switch-width: 40px; $switch-height: 20px; $switch-border: 2px; $switch-outline: 3px; $switch-border-radius: ($switch-height + $switch-border * 2) / 2; $switch-outline-radius: $switch-border-radius + $switch-outline; // All the greys in Wagtail are really dark or really bright $switch-color-middle-grey: #777; .switch { display: inline-flex; align-items: center; margin: 5px 0; // Disable forms styling that's applied to the