Skip to content

Commit

Permalink
Feat(web): Unify FileUploaderInput and Attachment paddings with desig…
Browse files Browse the repository at this point in the history
…n #DS-859
  • Loading branch information
crishpeen authored and literat committed Jul 21, 2023
1 parent f71a8b0 commit 3840d0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
grid-template-columns: auto 1fr auto;
column-gap: theme.$attachment-column-gap;
align-items: center;
padding: theme.$attachment-padding-y theme.$attachment-padding-x;
padding: theme.$attachment-padding;
color: theme.$attachment-color;
border: theme.$attachment-border;
border-radius: theme.$attachment-border-radius;
Expand Down
5 changes: 2 additions & 3 deletions packages/web/src/scss/components/FileUploader/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

$row-gap: tokens.$space-600;

$input-drop-zone-padding: tokens.$space-700;
$input-drop-zone-padding: tokens.$space-600;
$input-drop-zone-column-gap: tokens.$space-600;
$input-drop-zone-border: tokens.$border-width-100 tokens.$border-style-100 tokens.$border-primary-default;
$input-drop-zone-draggable-border: tokens.$border-width-100 tokens.$border-style-200 tokens.$border-primary-default;
Expand All @@ -16,8 +16,7 @@ $input-drop-zone-label-color: tokens.$text-primary-default;
$input-drop-zone-icon-color: tokens.$action-link-primary-default;

$attachment-column-gap: tokens.$space-600;
$attachment-padding-x: tokens.$space-700;
$attachment-padding-y: tokens.$space-600;
$attachment-padding: tokens.$space-600;
$attachment-typography: tokens.$body-medium-text-regular;
$attachment-color: tokens.$text-primary-default;
$attachment-border: tokens.$border-width-100 tokens.$border-style-100 tokens.$border-primary-default;
Expand Down

0 comments on commit 3840d0a

Please sign in to comment.