always calc rem for border-radius

This commit is contained in:
Sérgio Ramos 2016-10-31 14:59:17 +00:00
parent 7be25cf921
commit c89d11b621
3 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@
:root {
--border-checked: ~boxes.border.checked;
--border-unchecked: ~boxes.border.unchecked;
--border-radius: ~boxes.borderRadius;
--border-radius: remCalc(~boxes.borderRadius);
--bottom-shaddow: ~boxes.bottomShaddow;
}

View File

@ -5,7 +5,7 @@
:root {
--border-unchecked: ~boxes.border.unchecked;
--border-radius: ~boxes.borderRadius;
--border-radius: remCalc(~boxes.borderRadius);
--bottom-shaddow: ~boxes.bottomShaddow;
}

View File

@ -11,14 +11,14 @@
--background-confirmed: ~colors.confirmation;
--border-confirmed: ~boxes.border.confirmed;
--border-unchecked: ~boxes.border.unchecked;
--border-radius: ~boxes.borderRadius;
--border-radius: remCalc(~boxes.borderRadius);
--bottom-shaddow: ~boxes.bottomShaddow;
}
.toggle {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
color: #464646;
border-radius: 4px;
border-radius: var(--border-radius);
width: 5rem;
height: 2.5rem;