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
3 changes: 0 additions & 3 deletions core/http/react-ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>LocalAI</title>
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Geist:wght@300..700&family=Geist+Mono:wght@300..700&display=swap" rel="stylesheet" />
</head>
<body>
<div id="root"></div>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
30 changes: 15 additions & 15 deletions core/http/react-ui/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -923,14 +923,14 @@
.resource-bar-container {
height: 4px;
background: var(--color-bg-primary);
border-radius: 2px;
border-radius: 0;
overflow: hidden;
}

.resource-bar {
height: 100%;
background: var(--color-primary);
border-radius: 2px;
border-radius: 0;
transition: width 500ms ease;
}

Expand Down Expand Up @@ -2789,7 +2789,7 @@ select.input {
.chat-list::-webkit-scrollbar-track { background: transparent; }
.chat-list::-webkit-scrollbar-thumb {
background: var(--color-border-subtle);
border-radius: 2px;
border-radius: 0;
}

.chat-list-item {
Expand Down Expand Up @@ -2897,7 +2897,7 @@ select.input {
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb {
background: var(--color-border-subtle);
border-radius: 3px;
border-radius: 0;
}
.chat-messages::-webkit-scrollbar-thumb:hover {
background: var(--color-border-default);
Expand Down Expand Up @@ -3111,7 +3111,7 @@ select.input {
padding: 0 10px;
background: transparent;
border: 1px solid var(--color-border-subtle);
border-radius: 999px;
border-radius: 0;
color: var(--color-text-muted);
font-family: inherit;
font-size: 0.75rem;
Expand Down Expand Up @@ -3148,7 +3148,7 @@ select.input {
height: 16px;
padding: 0 5px;
margin-left: 2px;
border-radius: 999px;
border-radius: 0;
background: var(--color-primary);
color: var(--color-primary-text);
font-size: 0.65rem;
Expand Down Expand Up @@ -3177,7 +3177,7 @@ select.input {
padding: 0 10px;
background: transparent;
border: 1px solid var(--color-border-subtle);
border-radius: 999px;
border-radius: 0;
color: var(--color-text-muted);
font-family: inherit;
font-size: 0.75rem;
Expand Down Expand Up @@ -3385,13 +3385,13 @@ select.input {
flex: 1;
height: 4px;
background: var(--color-bg-tertiary);
border-radius: 2px;
border-radius: 0;
overflow: hidden;
}
.chat-staging-bar {
height: 100%;
background: var(--color-primary);
border-radius: 2px;
border-radius: 0;
transition: width 300ms ease;
}
.chat-staging-pct {
Expand Down Expand Up @@ -3919,7 +3919,7 @@ select.input {
display: inline-block;
margin-left: 6px;
padding: 0 5px;
border-radius: 999px;
border-radius: 0;
background: var(--color-bg-tertiary);
font-size: 0.6rem;
color: var(--color-text-muted);
Expand Down Expand Up @@ -4166,7 +4166,7 @@ select.input {
min-width: 18px;
height: 18px;
padding: 0 5px;
border-radius: 9px;
border-radius: 0;
background: rgba(255,255,255,0.25);
font-size: 0.7rem;
font-weight: 600;
Expand Down Expand Up @@ -4458,7 +4458,7 @@ select.input {
appearance: none;
-webkit-appearance: none;
background: var(--color-border-default);
border-radius: 2px;
border-radius: 0;
outline: none;
}
.chat-slider::-webkit-slider-thumb {
Expand Down Expand Up @@ -5059,7 +5059,7 @@ select.input {
align-items: center;
gap: 4px;
padding: 4px 10px;
border-radius: 999px;
border-radius: 0;
border: 1px solid var(--color-border-subtle);
background: transparent;
color: var(--color-text-secondary);
Expand Down Expand Up @@ -6326,7 +6326,7 @@ select.input {
.biometrics-bbox__box {
position: absolute;
border: 2px solid var(--color-accent);
border-radius: 2px;
border-radius: 0;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 0 12px rgba(232, 168, 124, 0.35);
pointer-events: none;
transition: border-color var(--duration-fast);
Expand Down Expand Up @@ -6673,7 +6673,7 @@ select.input {
width: 12px;
transform: translateX(-6px);
background: var(--color-text-primary);
border-radius: 2px;
border-radius: 0;
border: 2px solid var(--color-surface-raised);
transition: left var(--duration-normal) var(--ease-default);
box-shadow: var(--shadow-sm);
Expand Down
48 changes: 31 additions & 17 deletions core/http/react-ui/src/index.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
/* Font face declarations — RezusCloud Design System */
@font-face {
font-family: "Silkscreen";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("/fonts/Silkscreen-Regular.woff2") format("woff2");
}
@font-face {
font-family: "Silkscreen";
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("/fonts/Silkscreen-Bold.woff2") format("woff2");
}
@font-face {
font-family: "VT323";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("/fonts/VT323-Regular.woff2") format("woff2");
unicode-range: U+0020-007F, U+2713;
}

/* Reset */
*, *::before, *::after {
box-sizing: border-box;
Expand All @@ -16,8 +40,6 @@ body {
font-size: var(--text-base);
font-weight: var(--font-weight-regular);
line-height: var(--leading-normal);
font-feature-settings: "ss01", "ss03", "cv11";
letter-spacing: -0.005em;
min-height: 100%;
background-color: var(--color-bg-primary);
color: var(--color-text-primary);
Expand All @@ -30,36 +52,32 @@ body {
min-height: 100dvh;
}

/* Global selection + focus */
::selection {
background: var(--color-primary-light);
color: var(--color-text-primary);
}

/* Scrollbar — slightly wider, warmer thumb */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
background: var(--color-border-default);
border-radius: var(--radius-sm);
border: 2px solid var(--color-bg-primary);
}
::-webkit-scrollbar-thumb:hover { background: var(--color-border-strong); }
* { scrollbar-width: thin; scrollbar-color: var(--color-border-default) transparent; }

/* Typography — editorial hierarchy */
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-sans);
font-family: var(--font-display);
color: var(--color-text-primary);
line-height: var(--leading-tight);
}
h1 { font-size: var(--text-3xl); font-weight: var(--font-weight-medium); letter-spacing: -0.02em; }
h2 { font-size: var(--text-2xl); font-weight: var(--font-weight-medium); letter-spacing: -0.015em; }
h3 { font-size: var(--text-xl); font-weight: var(--font-weight-medium); letter-spacing: -0.01em; }
h4 { font-size: var(--text-lg); font-weight: var(--font-weight-medium); letter-spacing: -0.005em; }
h5 { font-size: var(--text-base);font-weight: var(--font-weight-semibold); }
h1 { font-size: var(--text-3xl); font-weight: var(--font-weight-bold); }
h2 { font-size: var(--text-2xl); font-weight: var(--font-weight-bold); }
h3 { font-size: var(--text-xl); font-weight: var(--font-weight-bold); }
h4 { font-size: var(--text-lg); font-weight: var(--font-weight-bold); }
h5 { font-size: var(--text-base);font-weight: var(--font-weight-bold); }
h6 {
font-size: var(--text-xs); font-weight: var(--font-weight-semibold);
font-size: var(--text-xs); font-weight: var(--font-weight-bold);
text-transform: uppercase; letter-spacing: 0.12em;
color: var(--color-text-muted);
}
Expand All @@ -75,7 +93,6 @@ kbd {
font-weight: var(--font-weight-medium);
background: var(--color-bg-tertiary);
border: 1px solid var(--color-border-default);
border-radius: var(--radius-sm);
color: var(--color-text-secondary);
line-height: 1.4;
}
Expand All @@ -89,7 +106,6 @@ a:hover {
color: var(--color-primary-hover);
}

/* Honor prefers-reduced-motion globally */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
Expand All @@ -98,5 +114,3 @@ a:hover {
scroll-behavior: auto !important;
}
}

/* Utility classes */
Loading