Skip to content

fix(typography): replace font-size numbers with mixins (#UIM-271) #360

Merged
merged 1 commit into from
Dec 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions packages/mosaic-dev/card/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ mc-card {
flex-direction: row;
}

.mc-upload-to-cloud_24 {
font-size: 32px;
}

.simple-content {
padding: 8px;
}
3 changes: 1 addition & 2 deletions packages/mosaic/datepicker/_datepicker-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
$mc-datepicker-selected-today-box-shadow-width: 1px;
$mc-datepicker-selected-fade-amount: 0.6;
$mc-datepicker-today-fade-amount: 0.2;
$mc-calendar-weekday-table-font-size: 11px !default;

@mixin _mc-datepicker-color($color) {
.mc-calendar__body_selected {
Expand Down Expand Up @@ -152,7 +151,7 @@ $mc-calendar-weekday-table-font-size: 11px !default;

.mc-calendar__table-header th {
font: {
size: $mc-calendar-weekday-table-font-size;
size: mc-font-size($config, caption);
weight: mc-font-weight($config, body);
}
}
Expand Down
1 change: 0 additions & 1 deletion packages/mosaic/popover/popover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ $mc-popover-large-width: 640px;
}

.mc-popover__container {
font-size: 15px;
border-radius: $border-radius-base;
border-width: $border-size;
border-style: solid;
Expand Down