Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update select text color #129

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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