Updated UI

This commit is contained in:
2025-07-15 20:28:29 +02:00
parent 5c0bb602f5
commit 39006435b2
11 changed files with 139 additions and 63 deletions

View File

@@ -13,12 +13,12 @@
--text-xs--line-height: calc(1 / 0.75);
--text-sm: 0.875rem;
--text-sm--line-height: calc(1.25 / 0.875);
--text-lg: 1.125rem;
--text-lg--line-height: calc(1.75 / 1.125);
--text-xl: 1.25rem;
--text-xl--line-height: calc(1.75 / 1.25);
--text-2xl: 1.5rem;
--text-2xl--line-height: calc(2 / 1.5);
--text-3xl: 1.875rem;
--text-3xl--line-height: calc(2.25 / 1.875);
--font-weight-bold: 700;
--default-font-family: var(--font-sans);
--default-mono-font-family: var(--font-mono);
@@ -956,9 +956,18 @@
justify-content: flex-end;
gap: calc(0.25rem * 2);
}
.mt-2 {
margin-top: calc(var(--spacing) * 2);
}
.mt-3 {
margin-top: calc(var(--spacing) * 3);
}
.mr-1 {
margin-right: calc(var(--spacing) * 1);
}
.mr-3 {
margin-right: calc(var(--spacing) * 3);
}
.fieldset-legend {
margin-bottom: calc(0.25rem * -1);
display: flex;
@@ -1022,6 +1031,9 @@
.h-\[1\.2em\] {
height: 1.2em;
}
.h-\[92px\] {
height: 92px;
}
.h-full {
height: 100%;
}
@@ -1037,6 +1049,15 @@
.w-56 {
width: calc(var(--spacing) * 56);
}
.w-\[1\.5em\] {
width: 1.5em;
}
.w-\[1\.6em\] {
width: 1.6em;
}
.w-\[1\.7em\] {
width: 1.7em;
}
.w-full {
width: 100%;
}
@@ -1068,6 +1089,12 @@
.flex-wrap {
flex-wrap: wrap;
}
.items-center {
align-items: center;
}
.justify-center {
justify-content: center;
}
.gap-2 {
gap: calc(var(--spacing) * 2);
}
@@ -1100,20 +1127,21 @@
.p-3 {
padding: calc(var(--spacing) * 3);
}
.p-5 {
padding: calc(var(--spacing) * 5);
}
.py-2 {
padding-block: calc(var(--spacing) * 2);
}
.py-10 {
padding-block: calc(var(--spacing) * 10);
}
.pt-3 {
padding-top: calc(var(--spacing) * 3);
}
.pb-6 {
padding-bottom: calc(var(--spacing) * 6);
}
.pl-10 {
padding-left: calc(var(--spacing) * 10);
.text-2xl {
font-size: var(--text-2xl);
line-height: var(--tw-leading, var(--text-2xl--line-height));
}
.text-sm {
font-size: var(--text-sm);
@@ -1164,6 +1192,10 @@
--btn-color: var(--color-error);
--btn-fg: var(--color-error-content);
}
.btn-success {
--btn-color: var(--color-success);
--btn-fg: var(--color-success-content);
}
.hover\:cursor-pointer {
&:hover {
@media (hover: hover) {
@@ -1189,18 +1221,17 @@
}
}
}
h1 {
font-size: var(--text-3xl);
line-height: var(--tw-leading, var(--text-3xl--line-height));
}
h2 {
font-size: var(--text-2xl);
line-height: var(--tw-leading, var(--text-2xl--line-height));
}
h3 {
font-size: var(--text-xl);
line-height: var(--tw-leading, var(--text-xl--line-height));
}
h3 {
font-size: var(--text-lg);
line-height: var(--tw-leading, var(--text-lg--line-height));
}
.desc {
opacity: 80%;
}
@layer base {
:where(:root),:root:has(input.theme-controller[value=light]:checked),[data-theme=light] {
color-scheme: light;