mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
* Wiring up Collectibles lists/items * wip * more wip * more more wip * yet more wip * wippp * more wipppp * closer * wroking * more wip * cleanup * cleanup * add-collectible form validation * update default ipfs-gateway * update refresh button * fix proptypes issue + add more padding to asset background * css tweaking * more cleanup * more cleanup * more cleanup * add migration * address feedback * fix migration + cleanup * bumping controllers version + adapting new collectiblesController shape * fix yarn dedupe
60 lines
1.0 KiB
SCSS
60 lines
1.0 KiB
SCSS
@use "design-system";
|
|
@use "sass:map";
|
|
|
|
.typography {
|
|
@include design-system.Paragraph;
|
|
|
|
& b,
|
|
& strong {
|
|
font-weight: 700;
|
|
}
|
|
|
|
@each $variant in map.keys(design-system.$typography-variants) {
|
|
&--#{$variant} {
|
|
@include design-system.typography($variant);
|
|
}
|
|
}
|
|
|
|
@each $variant, $color in design-system.$color-map {
|
|
&--color-#{$variant} {
|
|
color: $color;
|
|
}
|
|
}
|
|
|
|
@each $weight in design-system.$font-weight {
|
|
&--weight-#{$weight} {
|
|
font-weight: $weight;
|
|
}
|
|
}
|
|
|
|
@each $style in design-system.$font-style {
|
|
&--style-#{$style} {
|
|
font-style: $style;
|
|
}
|
|
}
|
|
|
|
@each $size in design-system.$font-size {
|
|
&--size-#{$size} {
|
|
font-size: $size;
|
|
}
|
|
}
|
|
|
|
@each $alignment in design-system.$text-align {
|
|
&--align-#{$alignment} {
|
|
text-align: $alignment;
|
|
}
|
|
}
|
|
|
|
@each $overflow in design-system.$overflow-wrap {
|
|
&--overflowwrap-#{$overflow} {
|
|
overflow-wrap: $overflow;
|
|
}
|
|
}
|
|
|
|
@for $i from 1 through 8 {
|
|
&--spacing-#{$i} {
|
|
margin: #{$i * 4}px auto;
|
|
}
|
|
}
|
|
}
|