-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(fpkit): extract card shadow styles into reusable utility cla…
…sses - moved card shadow styles from card component to dedicated shadow utility classes - added new shadow utility classes with different elevation levels (xs, sm, md, lg, xl) - set default card class to 'shadow' for consistent appearance - imported new shadow styles into main stylesheet - removed redundant shadow declarations from card component styles
- Loading branch information
1 parent
2ae7d90
commit 7eabafa
Showing
9 changed files
with
80 additions
and
11 deletions.
There are no files selected for viewing
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 @@ | ||
@use './styles/shadows'; |
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,34 @@ | ||
:root { | ||
--shadow: 0 0 0.525rem 0 rgba(0, 0, 0, 0.1); | ||
--shadow-xs: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.05); | ||
--shadow-sm: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.1), | ||
0 0.0625rem 0.125rem rgba(0, 0, 0, 0.06); | ||
--shadow-md: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1), | ||
0 0.125rem 0.25rem rgba(0, 0, 0, 0.06); | ||
--shadow-lg: 0 0.625rem 0.9375rem rgba(0, 0, 0, 0.1), | ||
0 0.25rem 0.375rem rgba(0, 0, 0, 0.08); | ||
--shadow-xl: 0 1.25rem 1.5625rem rgba(0, 0, 0, 0.1), | ||
0 0.625rem 0.625rem rgba(0, 0, 0, 0.08); | ||
} | ||
|
||
.shadow-none { | ||
box-shadow: none; | ||
} | ||
.shadow { | ||
box-shadow: var(--shadow); | ||
} | ||
.shadow-xs { | ||
box-shadow: var(--shadow-xs); | ||
} | ||
.shadow-sm { | ||
box-shadow: var(--shadow-sm); | ||
} | ||
.shadow-md { | ||
box-shadow: var(--shadow-md); | ||
} | ||
.shadow-lg { | ||
box-shadow: var(--shadow-lg); | ||
} | ||
.shadow-xl { | ||
box-shadow: var(--shadow-xl); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.