Skip to content

Commit

Permalink
fix(input): update placeholder colors
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaubree committed Aug 18, 2023
1 parent bf3a27e commit 6797af9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/input/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export interface Input {
export const input: Input = {
wrapper: 'relative',
base: 'relative block w-full disabled:cursor-not-allowed disabled:opacity-50 focus:outline-none border-0',
placeholder: 'placeholder-dark-100 placeholder-text-13px dark:placeholder-light-900',
placeholder: 'placeholder-dark-200 placeholder-text-13px dark:placeholder-light-700',
rounded: {
'2xs': 'rounded-3px',
'xs': 'rounded-3px',
Expand Down
4 changes: 3 additions & 1 deletion src/components/select/USelectMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ watch(container, value => value ? emit('open') : emit('close'))
</UTag>
</div>
<span v-else-if="!isMultiple && !!modelValue" class="block truncate">{{ typeof modelValue === 'string' ? modelValue : modelValue[optionAttribute] }}</span>
<span v-else class="block truncate" :class="config.placeholder">{{ placeholder || '&nbsp;' }}</span>
<UText v-else color="light" class="block truncate" :class="config.placeholder">
{{ placeholder || '&nbsp;' }}
</UText>
</slot>
<span v-if="(isTrailing && trailingIconName) || slots.trailing" :class="trailingWrapperIconClass">
<slot name="trailing" :is-disabled="isDisabled" :is-loading="isLoading">
Expand Down

0 comments on commit 6797af9

Please # to comment.