-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: ♻️ update all units to be one time in
global-variables
file
- Loading branch information
1 parent
ec00196
commit 6c5b32d
Showing
20 changed files
with
157 additions
and
397 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
@charset "UTF-8"; | ||
|
||
// @access public | ||
|
||
// @version 1.0.0 | ||
|
||
// @author Khaled Mohamed | ||
|
||
// @license MIT | ||
|
||
// @repository: https://github.com/ZexLabs/sass-pire | ||
|
||
// @namespace abstract | ||
|
||
// @module abstract/global-variables | ||
|
||
// stylelint-disable scss/dollar-variable-empty-line-before | ||
|
||
$all-units: ( | ||
cm, | ||
mm, | ||
in, | ||
px, | ||
pt, | ||
pc, | ||
"%", | ||
em, | ||
ex, | ||
ch, | ||
rem, | ||
vw, | ||
vh, | ||
vmin, | ||
vmax, | ||
dpi, | ||
dpcm, | ||
dppx, | ||
vw, | ||
svw, | ||
lvw, | ||
dvw, | ||
vh, | ||
lvh, | ||
dvh, | ||
vi, | ||
svi, | ||
lvi, | ||
vmin, | ||
svmin, | ||
lvmin, | ||
dvmin, | ||
vmax, | ||
svmax, | ||
lvmax, | ||
dvmax, | ||
vb, | ||
lvb, | ||
dvb) !default; | ||
|
||
$data-types: ( | ||
number, | ||
string, | ||
bool, | ||
list, | ||
color, | ||
map, | ||
null) !default; | ||
|
||
$angle-units: ( | ||
deg, | ||
turn, | ||
rad, | ||
grad) !default; | ||
|
||
$main-units: ( | ||
#{"%"}, | ||
rem, | ||
px, | ||
em) !default; | ||
|
||
$time-units: ( | ||
ms, | ||
s) !default; |
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
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
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
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
Oops, something went wrong.