Skip to content

Commit

Permalink
add and use styles-reset mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
cansuaa committed Jun 26, 2024
1 parent 3fb5816 commit 1c261ae
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/avatar/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
$avatar-size: 28px;

.root {
// do we need this?
// @include styles.styles-reset;
@include shared.styles-reset;

color: cs.$color-text-avatar;
block-size: $avatar-size;
Expand Down
28 changes: 28 additions & 0 deletions src/internal/shared.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,31 @@
@content;
}
}

@mixin styles-reset {
border-collapse: separate;
border-spacing: 0;
box-sizing: border-box;
caption-side: top;
cursor: auto;
direction: inherit;
empty-cells: show;
font-family: serif;
font-size: medium;
font-style: normal;
font-variant: normal;
font-weight: 400;
font-stretch: normal;
line-height: normal;
hyphens: none;
letter-spacing: normal;
list-style: disc outside none;
tab-size: 8;
text-align: start;
text-indent: 0;
text-shadow: none;
text-transform: none;
visibility: visible;
white-space: normal;
word-spacing: normal;
}

0 comments on commit 1c261ae

Please sign in to comment.