Skip to content

Commit

Permalink
Update the text area colors (#5034)
Browse files Browse the repository at this point in the history
* Update the text area colors

* Add disabled styles
  • Loading branch information
obulat authored Oct 18, 2024
1 parent 9c22fce commit 71ca8dc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions frontend/src/components/VButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,20 @@ a.button {
@apply border-tx bg-tertiary text-over-dark hover:border-hover;
}
.filled-pink-8[aria-disabled="true"],
.filled-gray[aria-disabled="true"],
.filled-dark[aria-disabled="true"] {
@apply bg-disabled;
}
.filled-pink-8[aria-disabled="true"],
.filled-dark[aria-disabled="true"] {
@apply text-over-negative;
}
.filled-gray[aria-disabled="true"],
.filled-white[aria-disabled="true"] {
@apply text-disabled;
}
.icon-only {
@apply flex-none;
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/VContentReport/VReportDescForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const isRequired = computed(() => props.reason === OTHER)
<textarea
id="description"
v-model="text"
class="mt-2 h-20 w-full border border-default p-2 placeholder-gray-8"
class="placeholder-text-secondary mt-2 h-20 w-full rounded-sm border border-tertiary bg-default p-2 text-default focus-visible:border-focus disabled:bg-surface"
:placeholder="$t(`mediaDetails.contentReport.form.${reason}.placeholder`)"
:required="isRequired"
:minlength="isRequired ? 20 : 0"
Expand Down

0 comments on commit 71ca8dc

Please sign in to comment.