This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a | |
abbr | |
acronym | |
address | |
align | |
alt | |
area | |
aria-controls | |
aria-current | |
aria-describedby |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a | |
abbr | |
acronym | |
address | |
align | |
alt | |
area | |
aria-controls | |
aria-current | |
aria-describedby |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
--wp--preset--color--black: #000000; | |
--wp--preset--color--cyan-bluish-gray: #abb8c3; | |
--wp--preset--color--white: #ffffff; | |
--wp--preset--color--pale-pink: #f78da7; | |
--wp--preset--color--vivid-red: #cf2e2e; | |
--wp--preset--color--luminous-vivid-orange: #ff6900; | |
--wp--preset--color--luminous-vivid-amber: #fcb900; | |
--wp--preset--color--light-green-cyan: #7bdcb5; | |
--wp--preset--color--vivid-green-cyan: #00d084; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Convert px to rem | |
/// @group Main | |
/// @param {Number | Map} $values - Value values to convert | |
/// @param {Number} $context [$fs-base-font-size] - Base font size | |
/// @return {*} - Converted value or list of values | |
/// @require {variable} $fs-base-font-size - Base font size | |
@function rem($values) { | |
// Placeholder list for converted values | |
$output: (); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Convert px to rem | |
/// @group Main | |
/// @param {Number | Map} $values - Value values to convert | |
/// @param {Number} $context [$fs-base-font-size] - Base font size | |
/// @return {*} - Converted value or list of values | |
/// @require {variable} $fs-base-font-size - Base font size | |
@function fs-rem($values) { | |
// Placeholder list for converted values | |
$output: (); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$grid-columns: 1; | |
$layoutBreakPoints: ( | |
"med-small" : 580px, | |
); | |
@each $name, $width in $layoutBreakPoints { | |
.u-col { | |
@for $col from 1 through $grid-columns { | |
&-test { | |
background: red ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-family: system-ui, Segoe UI, sans-serif; | |
} | |
/* Month and week row */ | |
[class*="ShaperHeaderCell_innerContainer"] { | |
justify-content: center; | |
} | |
/* Month text */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var ua = navigator.userAgent, | |
d = document.documentElement, | |
classes = d.className; | |
// Replace 'no-js' class name with 'js' (optional) | |
classes = classes.replace('no-js', 'js'); | |
// Detect iOS user-agent string | |
// http://stackoverflow.com/questions/9038625/detect-if-device-is-ios/9039885#9039885 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fs-base-font-size: 16px !default; | |
@function fs-em($values, $context: $fs-base-font-size) { | |
// Ensure context size is in pixels | |
@if unit($context) != 'px' { | |
@error '🔴 #{$context} size must be in pixels'; | |
} | |
// Placeholder list for converted values |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$foo: "foo"; | |
$map: ( | |
key: value, | |
text: "Lorem ipsum", | |
$foo: "bar", | |
color: #f00, | |
320px: 16px, | |
); |
NewerOlder