Skip to content

Commit

Permalink
feat(experimental Select): fix empty styles
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitano committed Jul 17, 2023
1 parent 2c97395 commit 20f5d84
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/select/src/Select.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ SearchableMultiple.args = {
clearable: true
};

export const Empty = Template.bind({});
Empty.args = {
items: []
};

export const Uncontrolled: Story<typeof Select> = (args) => ({
components: {
Select,
Expand Down
5 changes: 5 additions & 0 deletions packages/themes/src/morpheme/_select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@
--v-select-hint-color: var(--v-input-hint-color);
--v-select-hint-margin-top: var(--v-input-hint-margin-top);

// check selected
--v-select-option-check-selected-color: var(--color-primary-700);

// empty
--v-select-empty-color: var(--color-gray-600);
}

.v-select {
Expand Down Expand Up @@ -395,6 +399,7 @@
padding-bottom: 0.5rem /* 8px */;
padding-left: 1rem /* 16px */;
padding-right: 1rem /* 16px */;
font-size: var(--size-font-sm);
}

&-input {
Expand Down

0 comments on commit 20f5d84

Please sign in to comment.