summaryrefslogtreecommitdiff
path: root/src/styles
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-04-08 10:12:31 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-04-08 10:12:31 +0700
commit0ca62faf89775496320025c170c942b2cb3e1a20 (patch)
tree4107119c58e82aedf3478c165741824ff9cd08c1 /src/styles
parente7383ff9601e47953c732fccf093e19993ec37cd (diff)
update theme color
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/globals.css76
1 files changed, 34 insertions, 42 deletions
diff --git a/src/styles/globals.css b/src/styles/globals.css
index d43dad1f..d27913a2 100644
--- a/src/styles/globals.css
+++ b/src/styles/globals.css
@@ -55,12 +55,12 @@ button {
}
.badge-red {
- @apply bg-red_r-5
- text-red_r-10;
+ @apply bg-danger-100
+ text-danger-600;
}
.badge-solid-red {
- @apply bg-red_r-10
+ @apply bg-danger-500
text-white;
}
@@ -70,8 +70,8 @@ button {
}
.badge-yellow {
- @apply bg-yellow_r-3
- text-yellow_r-11;
+ @apply bg-warning-200
+ text-warning-900;
}
.badge-blue {
@@ -80,12 +80,12 @@ button {
}
.badge-green {
- @apply bg-green_r-5
- text-green_r-10;
+ @apply bg-success-100
+ text-success-600;
}
.badge-solid-green {
- @apply bg-green_r-10
+ @apply bg-success-500
text-white;
}
@@ -105,20 +105,19 @@ button {
w-full
leading-none
focus:outline-none
- focus:border-yellow_r-9
+ focus:border-warning-500
disabled:bg-gray_r-5;
}
.form-input[aria-invalid] {
- @apply border-red_r-10
- focus:border-red_r-10;
+ @apply border-danger-500
+ focus:border-danger-500;
}
.btn-yellow,
.btn-light,
.btn-red,
- .btn-solid-red,
- .btn-green {
+ .btn-solid-red {
@apply block
w-fit
py-3
@@ -132,37 +131,29 @@ button {
}
.btn-yellow {
- @apply bg-yellow_r-9
- border-yellow_r-9
- hover:bg-yellow_r-10
+ @apply bg-warning-500
+ border-warning-500
+ hover:bg-warning-600
disabled:text-gray_r-10
- disabled:bg-yellow_r-7
- disabled:border-yellow_r-7;
+ disabled:bg-warning-200
+ disabled:border-warning-200;
}
.btn-red {
- @apply bg-red_r-3
- border-red_r-6
- text-red_r-11
- disabled:text-red_r-10
- disabled:bg-red_r-6;
+ @apply bg-danger-100
+ border-danger-300
+ text-danger-500
+ disabled:text-danger-400
+ disabled:bg-danger-200;
}
.btn-solid-red {
- @apply bg-red_r-11
- border-red_r-11
+ @apply bg-danger-500
+ border-danger-500
text-gray_r-1
disabled:text-gray_r-1
- disabled:bg-red_r-8
- disabled:border-red_r-8;
- }
-
- .btn-green {
- @apply bg-green_r-3
- border-green_r-6
- text-green_r-11
- disabled:text-green_r-10
- disabled:bg-green_r-6;
+ disabled:bg-danger-200
+ disabled:border-danger-200;
}
.btn-light {
@@ -333,7 +324,7 @@ button {
}
.swiper-pagination-bullet-active {
- @apply !bg-red_r-11;
+ @apply !bg-danger-500;
}
.pagination {
@@ -359,8 +350,9 @@ button {
}
.pagination-item--active {
- @apply border-yellow_r-9
- bg-yellow_r-9;
+ @apply border-warning-500
+ bg-warning-500
+ hover:bg-warning-500;
}
.pagination-dots {
@@ -391,7 +383,7 @@ button {
}
.form-select__control--menu-is-open {
- @apply !border-yellow_r-9;
+ @apply !border-warning-500;
}
.table-specification {
@@ -492,7 +484,7 @@ button {
gap-x-2
p-4
items-center
- bg-red_r-11
+ bg-danger-500
font-medium
!text-gray_r-1
rounded-none
@@ -594,7 +586,7 @@ button {
.category-mega-box__child-one {
@apply text-gray_r-12/80
- hover:text-red_r-11
+ hover:text-danger-500
transition-colors
ease-linear
duration-100
@@ -603,7 +595,7 @@ button {
.category-mega-box__child-two {
@apply text-gray_r-12/80
- hover:text-red_r-11
+ hover:text-danger-500
transition-colors
ease-linear
duration-100