|
@@ -20,10 +20,19 @@ $config-global: (
|
|
"font": (
|
|
"font": (
|
|
/* Font Family */
|
|
/* Font Family */
|
|
"family": (
|
|
"family": (
|
|
- "primary": "\"Roboto Condensed\"\, -apple-system\, BlinkMacSystemFont\, \"Segoe UI\"\, \"Roboto\"\, \"Oxygen\"\, \"Ubuntu\"\, \"Cantarell\"\, \"Fira Sans\"\, \"Droid Sans\"\, \"Helvetica Neue\"\, sans-serif",
|
|
|
|
- "secondary": "Roboto\, -apple-system\, BlinkMacSystemFont\, \"Segoe UI\"\, \"Roboto\"\, \"Oxygen\"\, \"Ubuntu\"\, \"Cantarell\"\, \"Fira Sans\"\, \"Droid Sans\"\, \"Helvetica Neue\"\, sans-serif",
|
|
|
|
|
|
+ "primary": (
|
|
|
|
+ "fallback": "\"Roboto Condensed\"\, -apple-system\, BlinkMacSystemFont\, \"Segoe UI\"\, \"Roboto\"\, \"Oxygen\"\, \"Ubuntu\"\, \"Cantarell\"\, \"Fira Sans\"\, \"Droid Sans\"\, \"Helvetica Neue\"\, sans-serif",
|
|
|
|
+ "css-var": '--font-headings',
|
|
|
|
+ ),
|
|
|
|
+ "secondary": (
|
|
|
|
+ "fallback": "Roboto\, -apple-system\, BlinkMacSystemFont\, \"Segoe UI\"\, \"Roboto\"\, \"Oxygen\"\, \"Ubuntu\"\, \"Cantarell\"\, \"Fira Sans\"\, \"Droid Sans\"\, \"Helvetica Neue\"\, sans-serif",
|
|
|
|
+ "css-var": '--font-base',
|
|
|
|
+ ),
|
|
"code": "monospace, monospace",
|
|
"code": "monospace, monospace",
|
|
- "ui": "Roboto\, -apple-system\, BlinkMacSystemFont\, \"Segoe UI\"\, \"Roboto\"\, \"Oxygen\"\, \"Ubuntu\"\, \"Cantarell\"\, \"Fira Sans\"\, \"Droid Sans\"\, \"Helvetica Neue\"\, sans-serif",
|
|
|
|
|
|
+ "ui": (
|
|
|
|
+ "fallback": "Roboto\, -apple-system\, BlinkMacSystemFont\, \"Segoe UI\"\, \"Roboto\"\, \"Oxygen\"\, \"Ubuntu\"\, \"Cantarell\"\, \"Fira Sans\"\, \"Droid Sans\"\, \"Helvetica Neue\"\, sans-serif",
|
|
|
|
+ "css-var": '--font-base',
|
|
|
|
+ ),
|
|
),
|
|
),
|
|
/* Font Size */
|
|
/* Font Size */
|
|
"size": (
|
|
"size": (
|
|
@@ -137,7 +146,10 @@ $config-elements: (
|
|
),
|
|
),
|
|
// Fonts
|
|
// Fonts
|
|
"font": (
|
|
"font": (
|
|
- "family": map-deep-get($config-global, "font", "family", "secondary"),
|
|
|
|
|
|
+ "family": (
|
|
|
|
+ "fallback": map-deep-get($config-global, "font", "family", "secondary", "fallback"),
|
|
|
|
+ "css-var": map-deep-get($config-global, "font", "family", "secondary", "css-var"),
|
|
|
|
+ ),
|
|
"line-height": map-deep-get($config-global, "font", "line-height", "sm"),
|
|
"line-height": map-deep-get($config-global, "font", "line-height", "sm"),
|
|
"size": map-deep-get($config-global, "font", "size", "sm"),
|
|
"size": map-deep-get($config-global, "font", "size", "sm"),
|
|
"weight": bold,
|
|
"weight": bold,
|
|
@@ -164,7 +176,10 @@ $config-button: (
|
|
),
|
|
),
|
|
// Fonts
|
|
// Fonts
|
|
"font": (
|
|
"font": (
|
|
- "family": map-deep-get($config-global, "font", "family", "ui"),
|
|
|
|
|
|
+ "family": (
|
|
|
|
+ "fallback": map-deep-get($config-global, "font", "family", "ui", "fallback"),
|
|
|
|
+ "css-var": map-deep-get($config-global, "font", "family", "ui", "css-var"),
|
|
|
|
+ ),
|
|
"size": map-deep-get($config-global, "font", "size", "sm"),
|
|
"size": map-deep-get($config-global, "font", "size", "sm"),
|
|
"weight": 700,
|
|
"weight": 700,
|
|
"line-height": 1,
|
|
"line-height": 1,
|
|
@@ -197,7 +212,10 @@ $config-heading: (
|
|
// Fonts & Typography
|
|
// Fonts & Typography
|
|
"font": (
|
|
"font": (
|
|
// Family
|
|
// Family
|
|
- "family": map-deep-get($config-global, "font", "family", "primary"),
|
|
|
|
|
|
+ "family": (
|
|
|
|
+ "fallback": map-deep-get($config-global, "font", "family", "primary", "fallback"),
|
|
|
|
+ "css-var": map-deep-get($config-global, "font", "family", "primary", "css-var"),
|
|
|
|
+ ),
|
|
// Size
|
|
// Size
|
|
"size": (
|
|
"size": (
|
|
"h6": map-deep-get($config-global, "font", "size", "md"),
|
|
"h6": map-deep-get($config-global, "font", "size", "md"),
|
|
@@ -236,7 +254,10 @@ $config-heading: (
|
|
$config-list: (
|
|
$config-list: (
|
|
// Fonts
|
|
// Fonts
|
|
"font": (
|
|
"font": (
|
|
- "family": map-deep-get($config-global, "font", "family", "secondary"),
|
|
|
|
|
|
+ "family": (
|
|
|
|
+ "fallback": map-deep-get($config-global, "font", "family", "secondary", "fallback"),
|
|
|
|
+ "css-var": map-deep-get($config-global, "font", "family", "secondary", "css-var"),
|
|
|
|
+ ),
|
|
),
|
|
),
|
|
);
|
|
);
|
|
|
|
|
|
@@ -246,7 +267,10 @@ $config-list: (
|
|
$config-pullquote: (
|
|
$config-pullquote: (
|
|
// Font
|
|
// Font
|
|
"font": (
|
|
"font": (
|
|
- "family": #{map-deep-get($config-heading, "font", "family")},
|
|
|
|
|
|
+ "family": (
|
|
|
|
+ "fallback": #{map-deep-get($config-heading, "font", "family", "fallback")},
|
|
|
|
+ "css-var": #{map-deep-get($config-heading, "font", "family", "css-var")},
|
|
|
|
+ ),
|
|
),
|
|
),
|
|
// Border
|
|
// Border
|
|
"color": (
|
|
"color": (
|
|
@@ -265,7 +289,10 @@ $config-pullquote: (
|
|
$config-quote: (
|
|
$config-quote: (
|
|
// Font
|
|
// Font
|
|
"font": (
|
|
"font": (
|
|
- "family": #{map-deep-get($config-heading, "font", "family")},
|
|
|
|
|
|
+ "family": (
|
|
|
|
+ "fallback": #{map-deep-get($config-heading, "font", "family", "fallback")},
|
|
|
|
+ "css-var": #{map-deep-get($config-heading, "font", "family", "css-var")},
|
|
|
|
+ ),
|
|
),
|
|
),
|
|
);
|
|
);
|
|
|
|
|
|
@@ -292,7 +319,10 @@ $config-header: (
|
|
"title": (
|
|
"title": (
|
|
// Fonts
|
|
// Fonts
|
|
"font": (
|
|
"font": (
|
|
- "family": map-deep-get($config-global, "font", "family", "primary"),
|
|
|
|
|
|
+ "family": (
|
|
|
|
+ "fallback": map-deep-get($config-global, "font", "family", "primary", "fallback"),
|
|
|
|
+ "css-var": map-deep-get($config-global, "font", "family", "primary", "css-var"),
|
|
|
|
+ ),
|
|
"size": map-deep-get($config-global, "font", "size", "lg"),
|
|
"size": map-deep-get($config-global, "font", "size", "lg"),
|
|
"weight": 700,
|
|
"weight": 700,
|
|
"line-height": 1,
|
|
"line-height": 1,
|
|
@@ -302,7 +332,10 @@ $config-header: (
|
|
"description": (
|
|
"description": (
|
|
// Fonts
|
|
// Fonts
|
|
"font": (
|
|
"font": (
|
|
- "family": map-deep-get($config-global, "font", "family", "secondary"),
|
|
|
|
|
|
+ "family": (
|
|
|
|
+ "fallback": map-deep-get($config-global, "font", "family", "secondary", "fallback"),
|
|
|
|
+ "css-var": map-deep-get($config-global, "font", "family", "secondary", "css-var"),
|
|
|
|
+ ),
|
|
"size": map-deep-get($config-global, "font", "size", "sm"),
|
|
"size": map-deep-get($config-global, "font", "size", "sm"),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
@@ -317,8 +350,10 @@ $config-header: (
|
|
),
|
|
),
|
|
// Fonts
|
|
// Fonts
|
|
"font": (
|
|
"font": (
|
|
- "family": map-deep-get($config-global, "font", "family", "secondary"),
|
|
|
|
- "family-css-variable": '--font-base',
|
|
|
|
|
|
+ "family": (
|
|
|
|
+ "fallback": map-deep-get($config-global, "font", "family", "secondary", "fallback"),
|
|
|
|
+ "css-var": map-deep-get($config-global, "font", "family", "secondary", "css-var"),
|
|
|
|
+ ),
|
|
"size": map-deep-get($config-global, "font", "size", "base"),
|
|
"size": map-deep-get($config-global, "font", "size", "base"),
|
|
"weight": 400,
|
|
"weight": 400,
|
|
"line-height": 1,
|
|
"line-height": 1,
|
|
@@ -348,7 +383,10 @@ $config-footer: (
|
|
),
|
|
),
|
|
// Fonts
|
|
// Fonts
|
|
"font": (
|
|
"font": (
|
|
- "family": map-deep-get($config-global, "font", "family", "secondary"),
|
|
|
|
|
|
+ "family": (
|
|
|
|
+ "fallback": map-deep-get($config-global, "font", "family", "secondary", "fallback"),
|
|
|
|
+ "css-var": map-deep-get($config-global, "font", "family", "secondary", "css-var"),
|
|
|
|
+ ),
|
|
"size": map-deep-get($config-global, "font", "size", "sm"),
|
|
"size": map-deep-get($config-global, "font", "size", "sm"),
|
|
"line-height": map-deep-get($config-global, "font", "line-height", "sm"),
|
|
"line-height": map-deep-get($config-global, "font", "line-height", "sm"),
|
|
),
|
|
),
|