mirror of
https://github.com/wassname/talk.git
synced 2026-09-11 12:51:33 +08:00
Support standard css variables, dynamically set spacing-unit
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
@media (max-width: $breakpoints-sm) {
|
||||
:root {
|
||||
--spacing-unit: calc(0.5 * var(--spacing-unit));
|
||||
}
|
||||
}
|
||||
@@ -58,7 +58,7 @@ const variables = {
|
||||
},
|
||||
},
|
||||
/* gitter and spacing */
|
||||
spacingUnit: 5,
|
||||
spacingUnit: 10,
|
||||
/* Borders */
|
||||
roundCorners: "2px",
|
||||
/* Typography */
|
||||
|
||||
Reference in New Issue
Block a user