-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* color variations * outline and inverse * remove import * inverse buttons * outlines and cleanup * loading disabled states * prop cleanup * reorder stories * add more stories for chromatic coverage * disabled outline buttons * Card prototype design * dot notation * default padding for Card Header, Section and Footer * add card child component prop tables * make sure radius corners aren't hidden by background color * wip * organize * more examples and styling * card with table story * tests, proptypes and documentation * fix childGap type * Update Card.stories.mdx * minor refactor, fixing tests * keying improvements * Update Card.stories.mdx * Update Card.test.jsx * cleanup * DisplayType * Update CardFooter.test.jsx * use DisplayType in Box Co-authored-by: Juan Fabrega <[email protected]>
- Loading branch information
1 parent
06a3c17
commit 508e0db
Showing
19 changed files
with
716 additions
and
28 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,14 @@ | ||
.card { | ||
box-shadow: | ||
0 1px 5px 0 rgba(0, 0, 0, 0.05), | ||
0 1px 2px rgba(0, 0, 0, 0.05), | ||
0 4px 6px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
.card-section+.card-section { | ||
border-top: 1px solid var(--card-border-color); | ||
} | ||
|
||
.card-footer { | ||
border-top: 1px solid var(--card-border-color); | ||
} |
Oops, something went wrong.