Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/ui/preact/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}

.nav-logo {
font-size: 1.25rem;
font-size: var(--font-size-xl);
font-weight: 600;
color: var(--color-text-dark);
display: flex;
Expand Down Expand Up @@ -81,7 +81,7 @@
border: 1px solid var(--color-border);
border-radius: var(--radius-button);
cursor: pointer;
font-size: 0.875rem;
font-size: var(--font-size-s);
color: var(--color-text-dark);
transition: background-color var(--transition);
-webkit-appearance: none;
Expand Down Expand Up @@ -113,7 +113,7 @@
}

.system-config-title {
font-size: 1.125rem;
font-size: var(--font-size-l);
font-weight: 600;
color: var(--color-text-dark);
margin: 0 0 var(--spacing) 0;
Expand Down Expand Up @@ -154,7 +154,7 @@
}

.dashboard-card-title {
font-size: 1.125rem;
font-size: var(--font-size-l);
font-weight: 600;
color: var(--color-text-dark);
margin: 0 0 var(--spacing) 0;
Expand Down
8 changes: 4 additions & 4 deletions src/ui/preact/form_config_component.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
.config-title {
margin: 0 0 1.25rem 0;
color: var(--color-text);
font-size: 1rem;
font-size: var(--font-size-m);
font-weight: 600;
}

Expand Down Expand Up @@ -64,7 +64,7 @@
}

.form-label {
font-size: 0.875rem;
font-size: var(--font-size-s);
font-weight: 600;
color: var(--color-text-dark);
text-align: right;
Expand All @@ -75,7 +75,7 @@
padding: var(--spacing-small) 0.75rem;
border: 2px solid var(--config-border-input);
border-radius: var(--radius-small);
font-size: 0.875rem;
font-size: var(--font-size-s);
background-color: var(--color-white);
transition: all var(--transition);
font-family: inherit;
Expand Down Expand Up @@ -107,7 +107,7 @@
border: none;
border-radius: var(--radius-button);
cursor: pointer;
font-size: 0.875rem;
font-size: var(--font-size-s);
font-weight: 600;
transition: all var(--transition);
min-width: 5rem;
Expand Down
15 changes: 1 addition & 14 deletions src/ui/preact/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,12 @@ a:hover {
color: var(--color-link-hover);
}

/* Typography */
h1 {
font-size: 3.2rem;
line-height: 1.1;
}

/* Buttons */
button {
border-radius: var(--radius-small);
border: 1px solid var(--color-border-transparent);
padding: var(--spacing-button);
font-size: 1rem;
font-size: var(--font-size-m);
font-weight: var(--font-weight-medium);
font-family: inherit;
background-color: var(--color-button-bg);
Expand All @@ -80,10 +74,3 @@ button:focus,
button:focus-visible {
outline: var(--outline-width) auto -webkit-focus-ring-color;
}

/* Mobile Responsive */
@media (max-width: 768px) {
h1 {
font-size: 2rem;
}
}
6 changes: 3 additions & 3 deletions src/ui/preact/markdown_component.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
right: var(--spacing);
background: none;
border: none;
font-size: 1.5rem;
font-size: var(--font-size-2xl);
cursor: pointer;
color: var(--color-text-secondary);
z-index: 1001;
Expand All @@ -52,7 +52,7 @@
overflow-y: auto;
line-height: 1.6;
text-align: left;
font-size: 1.25rem;
font-size: var(--font-size-xl);
}

.markdown-content h1, .markdown-content h2, .markdown-content h3 {
Expand Down Expand Up @@ -88,6 +88,6 @@

.markdown-content {
padding: var(--spacing);
font-size: 1rem;
font-size: var(--font-size-m);
}
}
4 changes: 2 additions & 2 deletions src/ui/preact/notification_component.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
}

.notification-message {
font-size: 0.9375rem;
font-size: var(--font-size-m);
color: var(--notification-text);
font-weight: 500;
line-height: 1.4;
Expand Down Expand Up @@ -129,7 +129,7 @@
border: none;
border-radius: var(--radius-small);
cursor: pointer;
font-size: 0.875rem;
font-size: var(--font-size-s);
font-weight: 500;
transition: all var(--transition);
min-width: 4.5rem;
Expand Down