Skip to content

Commit

Permalink
Update select text color
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauritz-Tieste committed May 28, 2024
1 parent 5660952 commit c570267
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions components/input/Select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
v-for="option of options"
:key="option?.value ?? ''"
:value="option?.value ?? ''"
class="text-black bg-white"
>
{{ t(option?.label ?? '') }}
</option>
Expand Down Expand Up @@ -97,6 +98,9 @@ export default defineComponent({
.input-type select {
@apply pl-4 pr-12 py-3 text-base font-body text-white transition ease-out duration-500 rounded-md focus:outline-none ring-2 ring-tertiary focus:ring-offset-2 focus:ring-offset-tertiary focus:ring-accent;
}
.input-type select option {
@apply text-black bg-white;
}
.input-type.sm select {
@apply text-xs pl-3.5 pr-10 py-3;
}
Expand All @@ -114,6 +118,9 @@ export default defineComponent({
.btn-type select {
@apply text-base pl-4 pr-12 py-3 rounded border border-accent focus:ring-4 focus:ring-tertiary h-fit w-fit text-white font-medium font-body transition-basic outline-none;
}
.btn-type select option {
@apply text-black bg-white;
}
.btn-type.sm select {
@apply text-xs pl-3.5 pr-10 py-3;
}
Expand Down

0 comments on commit c570267

Please sign in to comment.