Skip to content

Commit

Permalink
🔧 chore(blur.scss): Remove duplicate generation of blur util classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Spiderpig86 committed Aug 5, 2023
1 parent 753dac2 commit c60a237
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 205 deletions.
134 changes: 0 additions & 134 deletions dist/cirrus-all.css
Original file line number Diff line number Diff line change
Expand Up @@ -17625,140 +17625,6 @@ ul .divider::after {
filter: var(--cirrus-blur);
}

@media screen and (min-width: 640px) {
.u-blur-none-sm {
--cirrus-blur: blur(0);
filter: var(--cirrus-blur);
}
.u-blur-xs-sm {
--cirrus-blur: blur(0.25rem);
filter: var(--cirrus-blur);
}
.u-blur-sm-sm {
--cirrus-blur: blur(0.5rem);
filter: var(--cirrus-blur);
}
.u-blur-md-sm {
--cirrus-blur: blur(1rem);
filter: var(--cirrus-blur);
}
.u-blur-lg-sm {
--cirrus-blur: blur(1.5rem);
filter: var(--cirrus-blur);
}
.u-blur-xl-sm {
--cirrus-blur: blur(3rem);
filter: var(--cirrus-blur);
}
}
@media screen and (min-width: 768px) {
.u-blur-none-md {
--cirrus-blur: blur(0);
filter: var(--cirrus-blur);
}
.u-blur-xs-md {
--cirrus-blur: blur(0.25rem);
filter: var(--cirrus-blur);
}
.u-blur-sm-md {
--cirrus-blur: blur(0.5rem);
filter: var(--cirrus-blur);
}
.u-blur-md-md {
--cirrus-blur: blur(1rem);
filter: var(--cirrus-blur);
}
.u-blur-lg-md {
--cirrus-blur: blur(1.5rem);
filter: var(--cirrus-blur);
}
.u-blur-xl-md {
--cirrus-blur: blur(3rem);
filter: var(--cirrus-blur);
}
}
@media screen and (min-width: 1024px) {
.u-blur-none-lg {
--cirrus-blur: blur(0);
filter: var(--cirrus-blur);
}
.u-blur-xs-lg {
--cirrus-blur: blur(0.25rem);
filter: var(--cirrus-blur);
}
.u-blur-sm-lg {
--cirrus-blur: blur(0.5rem);
filter: var(--cirrus-blur);
}
.u-blur-md-lg {
--cirrus-blur: blur(1rem);
filter: var(--cirrus-blur);
}
.u-blur-lg-lg {
--cirrus-blur: blur(1.5rem);
filter: var(--cirrus-blur);
}
.u-blur-xl-lg {
--cirrus-blur: blur(3rem);
filter: var(--cirrus-blur);
}
}
@media screen and (min-width: 1280px) {
.u-blur-none-xl {
--cirrus-blur: blur(0);
filter: var(--cirrus-blur);
}
.u-blur-xs-xl {
--cirrus-blur: blur(0.25rem);
filter: var(--cirrus-blur);
}
.u-blur-sm-xl {
--cirrus-blur: blur(0.5rem);
filter: var(--cirrus-blur);
}
.u-blur-md-xl {
--cirrus-blur: blur(1rem);
filter: var(--cirrus-blur);
}
.u-blur-lg-xl {
--cirrus-blur: blur(1.5rem);
filter: var(--cirrus-blur);
}
.u-blur-xl-xl {
--cirrus-blur: blur(3rem);
filter: var(--cirrus-blur);
}
}
.u-blur-none {
--cirrus-blur: blur(0);
filter: var(--cirrus-blur);
}

.u-blur-xs {
--cirrus-blur: blur(0.25rem);
filter: var(--cirrus-blur);
}

.u-blur-sm {
--cirrus-blur: blur(0.5rem);
filter: var(--cirrus-blur);
}

.u-blur-md {
--cirrus-blur: blur(1rem);
filter: var(--cirrus-blur);
}

.u-blur-lg {
--cirrus-blur: blur(1.5rem);
filter: var(--cirrus-blur);
}

.u-blur-xl {
--cirrus-blur: blur(3rem);
filter: var(--cirrus-blur);
}

@media screen and (min-width: 640px) {
.u-blur-none-sm {
--cirrus-blur: blur(0);
Expand Down
30 changes: 0 additions & 30 deletions dist/cirrus-core.css
Original file line number Diff line number Diff line change
Expand Up @@ -14284,36 +14284,6 @@ ul .divider::after {
filter: var(--cirrus-blur);
}

.u-blur-none {
--cirrus-blur: blur(0);
filter: var(--cirrus-blur);
}

.u-blur-xs {
--cirrus-blur: blur(0.25rem);
filter: var(--cirrus-blur);
}

.u-blur-sm {
--cirrus-blur: blur(0.5rem);
filter: var(--cirrus-blur);
}

.u-blur-md {
--cirrus-blur: blur(1rem);
filter: var(--cirrus-blur);
}

.u-blur-lg {
--cirrus-blur: blur(1.5rem);
filter: var(--cirrus-blur);
}

.u-blur-xl {
--cirrus-blur: blur(3rem);
filter: var(--cirrus-blur);
}

.u-border-0 {
border-width: 0px !important;
}
Expand Down
30 changes: 0 additions & 30 deletions dist/cirrus.css
Original file line number Diff line number Diff line change
Expand Up @@ -14285,36 +14285,6 @@ ul .divider::after {
filter: var(--cirrus-blur);
}

.u-blur-none {
--cirrus-blur: blur(0);
filter: var(--cirrus-blur);
}

.u-blur-xs {
--cirrus-blur: blur(0.25rem);
filter: var(--cirrus-blur);
}

.u-blur-sm {
--cirrus-blur: blur(0.5rem);
filter: var(--cirrus-blur);
}

.u-blur-md {
--cirrus-blur: blur(1rem);
filter: var(--cirrus-blur);
}

.u-blur-lg {
--cirrus-blur: blur(1.5rem);
filter: var(--cirrus-blur);
}

.u-blur-xl {
--cirrus-blur: blur(3rem);
filter: var(--cirrus-blur);
}

.u-border-0 {
border-width: 0px !important;
}
Expand Down
11 changes: 0 additions & 11 deletions src/utils/blur.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,6 @@
}

@if should-generate-classes($BLUR) {
@include generate-styles-with-viewports($generate-viewports: #{get-viewport-flag($BLUR)}) using ($viewport) {
$suffix: if($viewport != '', '-#{$viewport}', '');

@each $class, $property-map in $blurs {
.u-blur-#{$class}#{$suffix} {
@include explode-properties($property-map);
filter: var(--cirrus-blur);
}
}
}

$transformed: _transformed();
@include utility(
$class-value-pairs: $transformed,
Expand Down

0 comments on commit c60a237

Please sign in to comment.