-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat(web): Introduce UNSTABLE_PartnerLogo component #DS-1356
- Loading branch information
Showing
6 changed files
with
224 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
packages/web-react/src/components/UNSTABLE_PartnerLogo/index.html
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 @@ | ||
{{> web-react/demo }} |
13 changes: 13 additions & 0 deletions
13
packages/web/src/scss/components/UNSTABLE_PartnerLogo/_UNSTABLE_PartnerLogo.scss
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,13 @@ | ||
@use 'theme' as theme; | ||
@use '../../tools/dictionaries'; | ||
|
||
.UNSTABLE_PartnerLogo { | ||
width: fit-content; | ||
background: theme.$background-color; | ||
} | ||
|
||
.UNSTABLE_PartnerLogo > svg { | ||
height: 100%; | ||
} | ||
|
||
@include dictionaries.generate-sizes('UNSTABLE_PartnerLogo', theme.$sizes); |
20 changes: 20 additions & 0 deletions
20
packages/web/src/scss/components/UNSTABLE_PartnerLogo/_theme.scss
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,20 @@ | ||
@use '@tokens' as tokens; | ||
|
||
$background-color: tokens.$background-basic; | ||
$sizes: ( | ||
small: ( | ||
height: 44px, | ||
padding-x: 6px, | ||
padding-y: 6px, | ||
), | ||
medium: ( | ||
height: tokens.$space-1100, | ||
padding-x: tokens.$space-400, | ||
padding-y: tokens.$space-400, | ||
), | ||
large: ( | ||
height: 84px, | ||
padding-x: tokens.$space-500, | ||
padding-y: tokens.$space-500, | ||
), | ||
); |
188 changes: 188 additions & 0 deletions
188
packages/web/src/scss/components/UNSTABLE_PartnerLogo/index.html
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
packages/web/src/scss/components/UNSTABLE_PartnerLogo/index.scss
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 @@ | ||
@forward 'UNSTABLE_PartnerLogo'; |
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