Add URL params to control fonts
This was also a good chance to switch to the semantic font size names used in Compound.
This commit is contained in:
parent
e6e18dd3f9
commit
acc41c532e
19 changed files with 156 additions and 58 deletions
|
|
@ -32,7 +32,7 @@
|
|||
.inputField input,
|
||||
.inputField textarea {
|
||||
font-weight: 400;
|
||||
font-size: 15px;
|
||||
font-size: var(--font-size-body);
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
padding: 12px 9px 10px 9px;
|
||||
|
|
@ -73,7 +73,7 @@
|
|||
top 0.25s ease-out 0.1s, background-color 0.25s ease-out 0.1s;
|
||||
color: var(--tertiary-content);
|
||||
background-color: transparent;
|
||||
font-size: 15px;
|
||||
font-size: var(--font-size-body);
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
|
|
@ -104,7 +104,7 @@
|
|||
background-color: var(--system);
|
||||
transition: font-size 0.25s ease-out 0s, color 0.25s ease-out 0s,
|
||||
top 0.25s ease-out 0s, background-color 0.25s ease-out 0s;
|
||||
font-size: 10px;
|
||||
font-size: var(--font-size-micro);
|
||||
top: -13px;
|
||||
padding: 0 2px;
|
||||
pointer-events: auto;
|
||||
|
|
@ -125,7 +125,7 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
flex-grow: 1;
|
||||
font-size: 15px;
|
||||
font-size: var(--font-size-body);
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
|
|
@ -174,7 +174,7 @@
|
|||
|
||||
.errorMessage {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
font-size: var(--font-size-caption);
|
||||
color: var(--alert);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
.label {
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
font-size: var(--font-size-subtitle);
|
||||
margin-top: 0;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
background-color: var(--background);
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--quinary-content);
|
||||
font-size: 15px;
|
||||
font-size: var(--font-size-body);
|
||||
color: var(--primary-content);
|
||||
height: 40px;
|
||||
max-width: 100%;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue