Skip to content

Commit

Permalink
🔧 chore: Removed quotes on SCSS variables causing incorrect values us…
Browse files Browse the repository at this point in the history
…ed when importing SCSS
  • Loading branch information
Spiderpig86 committed Jan 19, 2021
1 parent 91098be commit 967222d
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 36 deletions.
17 changes: 4 additions & 13 deletions dist/cirrus-core.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Cirrus 0.6.0
* Cirrus 0.6.1
* Stanley Lim, Copyright 2021
* https://spiderpig86.github.io/Cirrus
*/
Expand Down Expand Up @@ -829,15 +829,6 @@ h6 {
line-height: 1.2;
margin-bottom: 1rem; }

/* Silent header Deprecated 0.5.6
h1 .silent,
h2 .silent,
h3 .silent,
h4 .silent,
h5 .silent,
h6 .silent {
color: #788196;
} */
h1 {
letter-spacing: 0.025rem; }

Expand Down Expand Up @@ -951,13 +942,13 @@ mark,

/* Text Transformations */
.uppercase {
text-transform: "uppercase"; }
text-transform: uppercase; }

.lowercase {
text-transform: "lowercase"; }
text-transform: lowercase; }

.capitalize {
text-transform: "capitalize"; }
text-transform: capitalize; }

.rtl {
direction: rtl; }
Expand Down
2 changes: 1 addition & 1 deletion dist/cirrus-core.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 4 additions & 13 deletions dist/cirrus.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Cirrus 0.6.0
* Cirrus 0.6.1
* Stanley Lim, Copyright 2021
* https://spiderpig86.github.io/Cirrus
*/
Expand Down Expand Up @@ -829,15 +829,6 @@ h6 {
line-height: 1.2;
margin-bottom: 1rem; }

/* Silent header Deprecated 0.5.6
h1 .silent,
h2 .silent,
h3 .silent,
h4 .silent,
h5 .silent,
h6 .silent {
color: #788196;
} */
h1 {
letter-spacing: 0.025rem; }

Expand Down Expand Up @@ -951,13 +942,13 @@ mark,

/* Text Transformations */
.uppercase {
text-transform: "uppercase"; }
text-transform: uppercase; }

.lowercase {
text-transform: "lowercase"; }
text-transform: lowercase; }

.capitalize {
text-transform: "capitalize"; }
text-transform: capitalize; }

.rtl {
direction: rtl; }
Expand Down
2 changes: 1 addition & 1 deletion dist/cirrus.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/core/font.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $font-weights: (
'semibold': 600,
'bold': 700,
);
$font-transformations: 'uppercase', 'lowercase', 'capitalize';
$font-transformations: uppercase, lowercase, capitalize;

/* Headers */
@for $index from 1 through 6 {
Expand Down
2 changes: 1 addition & 1 deletion src/core/utils/clearfix.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$clears: 'left', 'right', 'both';
$clears: left, right, both;

@each $clear in $clears {
.u-clear-#{$clear} {
Expand Down
2 changes: 1 addition & 1 deletion src/core/utils/display.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import '../../../helpers/_size';

$display-utils-config: 'none', 'inline', 'inline-block', 'block', 'table', 'table-row', 'table-column', 'table-cell';
$display-utils-config: none, inline, inline-block, block, table, table-row, table-column, table-cell;

@each $display in $display-utils-config {
.u-#{$display} {
Expand Down
6 changes: 3 additions & 3 deletions src/core/utils/flex.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
$flex-directions: 'row', 'row-reverse', 'column', 'column-reverse';
$flex-directions: row, row-reverse, column, column-reverse;

$justify-content: 'flex-start', 'center', 'flex-end', 'space-between', 'space-around', 'space-evenly';
$justify-content: flex-start, center, flex-end, space-between, space-around, space-evenly;

$align-items: 'stretch', 'flex-start', 'center', 'flex-end', 'baseline';
$align-items: stretch, flex-start, center, flex-end, baseline;

.u-flex {
display: flex !important;
Expand Down
2 changes: 1 addition & 1 deletion src/core/utils/position.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$positions: 'static', 'fixed', 'absolute', 'relative', 'sticky';
$positions: static, fixed, absolute, relative, sticky;

@each $position in $positions {
.u-position-#{$position} {
Expand Down
2 changes: 1 addition & 1 deletion src/ext/modifiers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ button.btn--circle,

/* GLOBAL THEME SELECTORS */
/* v1 */
$themes: 'primary', 'success', 'warning', 'danger', 'light', 'dark', 'link', 'link-dark', 'info';
$themes: primary, success, warning, danger, light, dark, link, link-dark, info;

@each $theme in $themes {
.bg-#{$theme} {
Expand Down

0 comments on commit 967222d

Please sign in to comment.