0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

🐛 Fix typographies in update modal

This commit is contained in:
Eva Marco 2024-03-13 13:17:39 +01:00
parent b41b3de46d
commit 18fc08d418
4 changed files with 17 additions and 10 deletions

View file

@ -32,6 +32,12 @@
background: var(--text-editor-selection-background-color);
color: var(--text-editor-selection-foreground-color);
}
::placeholder,
::-webkit-input-placeholder {
@include bodySmallTypography;
color: var(--input-placeholder-color);
}
}
// BUTTONS
@ -39,7 +45,7 @@
@include buttonStyle;
@include flexCenter;
@include focusPrimary;
@include uppercaseTitleTipography;
@include headlineSmallTypography;
background-color: var(--button-primary-background-color-rest);
border: $s-1 solid var(--button-primary-border-color-rest);
color: var(--button-primary-foreground-color-rest);
@ -303,7 +309,7 @@
}
.input-label {
@include uppercaseTitleTipography;
@include headlineSmallTypography;
@include flexCenter;
width: $s-20;
padding-left: $s-8;
@ -401,6 +407,7 @@
background-color: var(--input-background-color);
}
::placeholder {
@include bodySmallTypography;
color: var(--input-placeholder-color);
}
&:hover {

View file

@ -28,7 +28,7 @@
width: 100%;
.tab-container-tab-title {
@include flexCenter;
@include uppercaseTitleTipography;
@include headlineSmallTypography;
height: 100%;
width: 100%;
padding: 0 $s-8;

View file

@ -19,7 +19,7 @@
.title,
.title-only,
.inspect-title {
@include uppercaseTitleTipography;
@include headlineSmallTypography;
display: grid;
align-items: center;
justify-content: flex-start;

View file

@ -6,7 +6,7 @@
@import "refactor/common-refactor.scss";
// Library
// Library modal
.modal-overlay {
@extend .modal-overlay-base;
}
@ -122,8 +122,8 @@
}
.section-title {
@include bodyLargeTypography;
color: var(--modal-title-foreground-color);
@include headlineSmallTypography;
color: var(--title-foreground-color);
margin-bottom: $s-12;
}
@ -226,7 +226,7 @@
.item-update {
@extend .button-primary;
@include uppercaseTitleTipography;
@include headlineSmallTypography;
height: $s-32;
min-width: $s-92;
padding: $s-8 $s-24;
@ -238,7 +238,7 @@
}
.item-contents {
@include bodyLargeTypography;
@include bodyMediumTypography;
color: var(--library-content-foreground-color);
display: flex;
flex-wrap: wrap;
@ -310,6 +310,6 @@
.primary-button {
@extend .button-primary;
@include uppercaseTitleTipography;
@include headlineSmallTypography;
padding: $s-0 $s-16;
}