Skip to content

Commit

Permalink
fix(style): fix border dark style
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee committed Jun 25, 2023
1 parent 18656a3 commit b20aa59
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
25 changes: 25 additions & 0 deletions niapi/domain/web/resources/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1439,6 +1439,31 @@ select {
outline-color: #dc2626;
}

:is(.dark .dark\:border-neutral-300\/10) {
border-color: rgb(212 212 212 / 0.1);
}

:is(.dark .dark\:border-neutral-300) {
--tw-border-opacity: 1;
border-color: rgb(212 212 212 / var(--tw-border-opacity));
}

:is(.dark .dark\:border-neutral-300\/60) {
border-color: rgb(212 212 212 / 0.6);
}

:is(.dark .dark\:border-neutral-300\/40) {
border-color: rgb(212 212 212 / 0.4);
}

:is(.dark .dark\:border-neutral-300\/20) {
border-color: rgb(212 212 212 / 0.2);
}

:is(.dark .dark\:border-neutral-300\/30) {
border-color: rgb(212 212 212 / 0.3);
}

:is(.dark .dark\:bg-blue-900) {
--tw-bg-opacity: 1;
background-color: rgb(30 58 138 / var(--tw-bg-opacity));
Expand Down
4 changes: 2 additions & 2 deletions niapi/domain/web/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<form id="calculator" method="post">
<div class="space-y-12">
<div class="border-b border-gray-900/10 pb-12">
<div class="border-b border-gray-900/10 dark:border-neutral-300/30 pb-12">
<h2
class="text-base font-semibold leading-7 text-gray-900 dark:text-neutral-200"
>
Expand Down Expand Up @@ -68,7 +68,7 @@
</div>
</div>

<div class="border-b border-gray-900/10 pb-12">
<div class="border-b border-gray-900/10 dark:border-neutral-300/30 pb-12">
<h2
class="text-base font-semibold leading-7 text-gray-900 dark:text-neutral-200"
>
Expand Down

0 comments on commit b20aa59

Please sign in to comment.