This repository has been archived by the owner on Jul 14, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 425
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inherit undefined media grid properties from global neat-grid
- Loading branch information
Showing
4 changed files
with
26 additions
and
10 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@charset "UTF-8"; | ||
/// Apply Neat's default properties to undefined values within a map. | ||
/// | ||
/// @argument {map} $grid | ||
/// | ||
/// @return {map} | ||
/// | ||
/// @example scss | ||
/// _retrieve-neat-setting($neat-grid) | ||
/// | ||
/// @access private | ||
|
||
@function _neat-merge-defaults($grid) { | ||
$_merged-grid: map-merge(( | ||
columns: 12, | ||
gutter: 20px, | ||
media: null, | ||
color: rgba(#00d4ff, 0.25), | ||
direction: ltr, | ||
), $grid); | ||
|
||
@return $_merged-grid; | ||
} |
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
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