Skip to content

Commit

Permalink
Adding support for custom placeholder color in input fields (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
liarco authored Jun 8, 2022
1 parent 8a1610a commit bc865ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions minting-dapp/src/styles/components/general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ input[type=text] {
@apply cursor-not-allowed;
}
}

&::placeholder {
@apply text-txt_input-placeholder_txt;
@apply opacity-50;
}
}

label {
Expand Down
1 change: 1 addition & 0 deletions minting-dapp/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ module.exports = {
focus_txt: colors.indigo[600],
focus_bg: colors.slate[50],
focus_border: colors.indigo[300],
placeholder_txt: colors.indigo[600],
},

// Whitelist proof widget
Expand Down

0 comments on commit bc865ae

Please sign in to comment.