Skip to content

Commit c74fa21

Browse files
committed
minor #1510 [Site] Fix TomSelect select colors in dark mode (smnandre)
This PR was merged into the 2.x branch. Discussion ---------- [Site] Fix TomSelect select colors in dark mode Fix this bug i had on my todo for a loong time 😶 ![image](https://github.com/symfony/ux/assets/1359581/e31ad727-3c3c-4e52-93ba-2086bc55e2be) (and remove a little closing tag trying to outsmart everyone) Commits ------- 701720c [Site] Fix TomSelect select colors in dark mode
2 parents 38144ed + 701720c commit c74fa21

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

ux.symfony.com/assets/styles/vendor/_tom-select.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.ts-dropdown, .ts-control, .ts-control input {
2-
color: var(--bs-body-color);
2+
color: var(--bs-body-color) !important;
33
}
44

55
.ts-dropdown, .ts-dropdown.form-control, .ts-dropdown.form-select {

ux.symfony.com/templates/liveDemoBase.html.twig

+1-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@
6868

6969
{% block aside %}
7070
<aside style="background-color: var(--bs-secondary-bg-subtle);" class="mt-5">
71-
7271
<twig:PrevNextDemo demo="{{ demo }}" />
73-
</aside>>
72+
</aside>
7473
{% endblock %}

0 commit comments

Comments
 (0)