Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
chore: lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
adil192 committed May 19, 2024
1 parent 01ac4d9 commit 945e7e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"value-no-vendor-prefix": null,
"declaration-block-no-duplicate-properties": null,
"scss/operator-no-newline-before": null,
"declaration-block-no-shorthand-property-overrides": null
"declaration-block-no-shorthand-property-overrides": null,
"shorthand-property-no-redundant-values": null
}
}
12 changes: 6 additions & 6 deletions src/styles/_globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ $shadow: rgba($primary, 0.10);

@function flatten-color($color, $background) {
@return rgba(
red($color) * alpha($color)
+ red($background) * (1 - alpha($color)),
green($color) * alpha($color)
+ green($background) * (1 - alpha($color)),
blue($color) * alpha($color)
+ blue($background) * (1 - alpha($color)),
color.red($color) * alpha($color)
+ color.red($background) * (1 - alpha($color)),
color.green($color) * alpha($color)
+ color.green($background) * (1 - alpha($color)),
color.blue($color) * alpha($color)
+ color.blue($background) * (1 - alpha($color)),
1
);
}
Expand Down

0 comments on commit 945e7e5

Please sign in to comment.