Skip to content

Commit

Permalink
Update the Loadify mixin.
Browse files Browse the repository at this point in the history
  • Loading branch information
selfishprimate committed Jan 31, 2022
1 parent 879d241 commit 2e4f73e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Changelog
# Change Log
_Change is the essence._

## 1.2.4

### Updated

- Updated `extend` usage for Loadify mixin.
- Updated the title of `CHANGELOG.md` file.

## 1.2.3

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "Halil İbrahim Çakıroğlu",
"main": "scss/_gerillass.scss",
"license": "Apache-2.0",
"version": "1.2.3",
"version": "1.2.4",
"repository": {
"type": "git",
"url": "https://github.com/selfishprimate/gerillass"
Expand Down
4 changes: 2 additions & 2 deletions scss/_gerillass-prefix.scss
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@
backface-visibility: visible;
}
}
.loadify-static-rules {
%loadify {
opacity: 0;
visibility: hidden;
backface-visibility: hidden;
Expand All @@ -820,7 +820,7 @@
@error "Only one argument is allowed when you call this mixin at the root of your stylesheet! Please pass `init` as an argument to initialize the effect or do not pass any argument at all.";
}
} @else if & {
@extend .loadify-static-rules;
@extend %loadify;
@if length($params) == 0 {
animation-delay: 0.2s;
animation-duration: 0.5s;
Expand Down
4 changes: 2 additions & 2 deletions scss/library/_loadify.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
backface-visibility: visible;
}
}
.loadify-static-rules {
%loadify {
opacity: 0;
visibility: hidden;
backface-visibility: hidden;
Expand All @@ -23,7 +23,7 @@
@error "Only one argument is allowed when you call this mixin at the root of your stylesheet! Please pass `init` as an argument to initialize the effect or do not pass any argument at all.";
}
} @else if & {
@extend .loadify-static-rules;
@extend %loadify;
@if length($params) == 0 {
animation-delay: 0.2s;
animation-duration: 0.5s;
Expand Down

0 comments on commit 2e4f73e

Please sign in to comment.