Skip to content

Commit

Permalink
Feat(web): Introduce UNSTABLE_PartnerLogo component #DS-1356
Browse files Browse the repository at this point in the history
  • Loading branch information
curdaj committed Jun 28, 2024
1 parent 36f68bf commit f6eb6fb
Show file tree
Hide file tree
Showing 6 changed files with 224 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{> web-react/demo }}
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 packages/web/src/scss/components/UNSTABLE_PartnerLogo/_theme.scss
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 packages/web/src/scss/components/UNSTABLE_PartnerLogo/index.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@forward 'UNSTABLE_PartnerLogo';
1 change: 1 addition & 0 deletions packages/web/src/scss/components/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@
@forward 'UNSTABLE_Avatar';
@forward 'UNSTABLE_Divider';
@forward 'UNSTABLE_EmptyState';
@forward 'UNSTABLE_PartnerLogo';
@forward 'UNSTABLE_ProductLogo';
@forward 'UNSTABLE_Slider';

0 comments on commit f6eb6fb

Please sign in to comment.