-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* comment * update: assets scss * update: auth components * update: notifications list * update: common components * update: stores and composables * update: navbar * update: toolbar * update: layout components * update: auth page * update: entry point component * update: tailwind configuration * update: dependencies * improve: components scss * chore: remove unnecessary code for now --------- Co-authored-by: Davide Di Modica <[email protected]>
- Loading branch information
1 parent
588735e
commit fc8d63d
Showing
66 changed files
with
1,600 additions
and
1,301 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
A simple little SCSS mixin for creating scrim gradients | ||
Inspired by Andreas Larson - https://github.com/larsenwork | ||
https://css-tricks.com/easing-linear-gradients/ | ||
*/ | ||
|
||
@function scrimGradient($startColor: $color-black, $direction: "to bottom") { | ||
$scrimCoordinates: ( | ||
0: 1, | ||
19: 0.738, | ||
34: 0.541, | ||
47: 0.382, | ||
56.5: 0.278, | ||
65: 0.194, | ||
73: 0.126, | ||
80.2: 0.075, | ||
86.1: 0.042, | ||
91: 0.021, | ||
95.2: 0.008, | ||
98.2: 0.002, | ||
100: 0 | ||
); | ||
|
||
$hue: hue($startColor); | ||
$saturation: saturation($startColor); | ||
$lightness: lightness($startColor); | ||
$stops: (); | ||
|
||
@each $colorStop, $alphaValue in $scrimCoordinates { | ||
$stop: hsla($hue, $saturation, $lightness, $alphaValue) percentage($colorStop/100); | ||
$stops: append($stops, $stop, comma); | ||
} | ||
|
||
@return linear-gradient(unquote($direction), $stops); | ||
} |
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.