Skip to content

Commit

Permalink
MOON-377: Remove borders import on all selectors & fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Eevolee committed Dec 30, 2024
1 parent 6435534 commit a04ea54
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 11 deletions.
2 changes: 0 additions & 2 deletions src/components/CardSelector/CardSelector.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@use "../../tokens/borders/borders" as *;

.moonstone-cardSelector {
width: 100%;
padding: var(--spacing-small);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@use "../../../tokens/borders/borders" as *;

.moonstone-emptyCardSelector {
gap: var(--spacing-nano);
width: 100%;
Expand Down
5 changes: 1 addition & 4 deletions src/components/Dropdown/Dropdown.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@use '../../utils/index' as *;
@use "../../tokens/spacings/spacings" as *;
@use "../../tokens/borders/borders" as *;

.moonstone-dropdown_container {
position: relative;
Expand Down Expand Up @@ -58,7 +57,7 @@
}

&.moonstone-opened {
border: var(--selector-border);
border: var(--selector-border_active);
}

&:hover {
Expand Down Expand Up @@ -87,8 +86,6 @@
&.moonstone-disabled {
color: var(--color-gray);

border: var(--selector-border);

background-color: var(--color-gray_light40);
}
}
2 changes: 1 addition & 1 deletion src/components/Input/BaseInput/BaseInput.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@use '../../../utils/index';
@use "../../../tokens/borders/borders" as *;

$default-size: 24px;
$big-size: 32px;
Expand Down Expand Up @@ -82,6 +81,7 @@ $border-radius: 2px;
// Reset Firefox invalid required input style
&:invalid {
border: none;
box-shadow: none;
}

&::placeholder {
Expand Down
2 changes: 0 additions & 2 deletions src/components/ListSelector/ValueList/ValueList.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@use "../../../tokens/borders/borders" as *;

.moonstone-valueList {
flex-grow: 1;
height: 300px;
Expand Down

0 comments on commit a04ea54

Please sign in to comment.