feat(app): make server sdk + sync state global (#29285)

This commit is contained in:
Brendan Allan
2026-05-26 08:20:57 +08:00
committed by GitHub
parent 2b3ddf9f34
commit b0fcba5724
13 changed files with 248 additions and 182 deletions

View File

@@ -5,7 +5,6 @@
}
[data-component="icon-button-v2"] {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;

View File

@@ -37,6 +37,14 @@ const icons = {
viewBox: "0 0 16 16",
body: `<path d="M4.25 11.75L11.75 4.25M11.75 11.75L4.25 4.25" stroke="currentColor"/>`,
},
"outline-chevron-down": {
viewBox: "0 0 16 16",
body: `<path d="M5 6.5L8 9.5L11 6.5" stroke="currentColor"/>`,
},
"outline-dots": {
viewBox: "0 0 16 16",
body: `<path d="M2.5 7.5H3.5V8.5H2.5V7.5Z" stroke="currentColor"/><path d="M7.5 7.5H8.5V8.5H7.5V7.5Z" stroke="currentColor"/><path d="M12.5 7.5H13.5V8.5H12.5V7.5Z" stroke="currentColor"/>`,
},
}
const spriteID = "opencode-v2-icon-sprite"

View File

@@ -92,6 +92,8 @@
--v2-illustration-illustration-layer-01: var(--v2-grey-300);
--v2-illustration-illustration-layer-02: var(--v2-grey-400);
--v2-illustration-illustration-layer-03: var(--v2-grey-500);
--font-family-text: "Inter", sans-serif;
}
/* OS preference fallback (no JS needed) */