contrast added

This commit is contained in:
Priec
2026-05-16 17:40:15 +02:00
parent 70920ede87
commit 08884536d7
2 changed files with 19 additions and 3 deletions

View File

@@ -38,6 +38,21 @@
<style>
/* Keep buttons static — disable daisyUI's press-shrink animation. */
.btn { --animation-btn: 0; --btn-focus-scale: 1; }
/* App-wide contrast. The daisyUI base palette is very low-contrast, so
panels, tables and form fields blend into the page. Tie their edges to
base-content so every region is easy to pick out by eye, on light and
dark alike. The calendar grid keeps its own stronger #cal rules. */
.border.border-base-300 { border-color: hsl(var(--bc) / 0.2); }
.navbar { border-bottom: 1px solid hsl(var(--bc) / 0.15); }
.input.input-bordered,
.select.select-bordered,
.textarea.textarea-bordered { border-color: hsl(var(--bc) / 0.3); }
.checkbox { border-color: hsl(var(--bc) / 0.3); }
.table thead th { background-color: hsl(var(--bc) / 0.08); }
.table tbody tr:not(:last-child) :where(th, td) {
border-bottom-color: hsl(var(--bc) / 0.18);
}
</style>
{% block head %}{% endblock head %}
</head>