Skip to content

Commit

Permalink
Display: Fix styles for autocomplete, buttons and cards components
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFQC committed Dec 11, 2024
1 parent e6c35ab commit 6c89a9e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion assets/css/scss/atoms/_autocomplete.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
@apply cursor-default inline-flex items-center flex-initial;

&-icon {
@apply cursor-pointer;
@apply cursor-pointer inline-flex;
}
}

Expand Down
10 changes: 5 additions & 5 deletions assets/css/scss/atoms/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

&:hover,
&:focus {
@apply bg-gray-30 border-gray-30 text-white;
@apply bg-gray-90 border-gray-90 text-white;
}
}

Expand Down Expand Up @@ -170,7 +170,7 @@ $border-color_12: #9333EA;
$textColor: 'white';

@if('warning' == $color) {
$textColor: 'gray-30';
$textColor: 'gray-90';
}

@apply bg-#{$color} text-#{$textColor};
Expand Down Expand Up @@ -199,7 +199,7 @@ $border-color_12: #9333EA;
@if ('warning' == $color) {
@apply bg-#{$color} border-#{$color} text-gray-90;
} @else if('black' == $color) {
@apply bg-gray-30 border-gray-30 text-white;
@apply bg-gray-90 border-gray-90 text-white;
} @else {
@apply bg-#{$color} border-#{$color} text-white;
}
Expand Down Expand Up @@ -326,7 +326,7 @@ $border-color_12: #9333EA;

// plain button
.p-button.p-button-plain {
@include filled-style('gray-30', 'black');
@include filled-style('gray-90', 'black');

&.p-button-outlined {
@include outlined-style('black');
Expand All @@ -339,7 +339,7 @@ $border-color_12: #9333EA;

.p-buttonset.p-button-plain {
> .p-button {
@include filled-style('gray-30', 'black');
@include filled-style('gray-90', 'black');

&.p-button-outlined {
@include outlined-style('black');
Expand Down
2 changes: 1 addition & 1 deletion assets/css/scss/organisms/_cards.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.p-card {
@apply rounded-lg shadow-lg;
@apply rounded-lg bg-white drop-shadow-lg;

.p-card-body {
@apply flex flex-col space-y-4 p-4;
Expand Down

0 comments on commit 6c89a9e

Please sign in to comment.