Skip to content

Commit

Permalink
Harmony Text Input tweaks (design requests) (#6474)
Browse files Browse the repository at this point in the history
  • Loading branch information
DejayJD authored Oct 26, 2023
1 parent 97cdcda commit 260cd05
Showing 1 changed file with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,6 @@
border-color: var(--harmony-red);
}

/* disabled styles */
.contentContainer.disabled {
cursor: not-allowed;
& * {
cursor: not-allowed;
}
}

/* Actual input element */
.input {
padding: 0;
Expand Down Expand Up @@ -99,13 +91,16 @@
font-size: var(--harmony-font-l);
}

/* Placeholder and label text styles (they are the same for the most part) */
/* Placeholder and label text styles (they are the same minus color) */
.input::placeholder,
.label {
color: var(--harmony-text-default);
font-weight: var(--harmony-font-medium);
font-family: var(--harmony-font-family);
}
.input::placeholder {
color: var(--harmony-text-subdued);
}

/** Position the label in the center when unfocussed **/
.label {
Expand Down

0 comments on commit 260cd05

Please sign in to comment.