Skip to content

Commit

Permalink
fix(tom-select): fix colros for dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeejoee committed Nov 19, 2023
1 parent 43956df commit af17de2
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions webpack/src/css/_Forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
.Forms__file-state label {
/* clear btn */
@apply
lowercase btn btn-sm btn-link text-gray-700 rounded-none rounded-tr-sm
lowercase btn btn-sm btn-link text-base-content rounded-none rounded-tr-sm
px-1 md:px-2
;
}
Expand Down Expand Up @@ -166,7 +166,10 @@
.Forms__field--select .ts-dropdown,
.Forms__field--select .ts-control,
.Forms__field--select .ts-control input {
@apply text-inherit;
@apply
text-inherit
dark:!bg-base-300
;
}

.Forms__field--select .ts-control {
Expand All @@ -179,7 +182,7 @@
}

.Forms__field--select .ts-control .item {
@apply text-sm font-bold;
@apply text-sm;
line-height: 2;
}

Expand All @@ -191,6 +194,14 @@
.Forms__field--select .ts-dropdown .option {
@apply px-4 py-4
}

.Forms__field--select .ts-dropdown .active {
@apply
dark:!bg-base-300
dark:!text-primary

;
}
}

/* auto-generated by django, cannot be in component (or it's gonna be striped) */
Expand Down

0 comments on commit af17de2

Please sign in to comment.