Skip to content

Commit 7547fcd

Browse files
committed
feat: design overhaul of landing and playground pages to premium Apple-inspired aesthetic
1 parent afaa768 commit 7547fcd

3 files changed

Lines changed: 571 additions & 484 deletions

File tree

playground/src/editor.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,15 @@ const posecodeStream = StreamLanguage.define<{ inStep: boolean }>({
138138
});
139139

140140
const posecodeHighlight = HighlightStyle.define([
141-
{ tag: t.keyword, color: "var(--accent)", fontWeight: "600" },
142-
{ tag: t.typeName, color: "#79c0ff" },
143-
{ tag: t.operatorKeyword, color: "#ffcc66" },
144-
{ tag: t.variableName, color: "#c0a7ff" },
145-
{ tag: t.atom, color: "#5cd0c0" },
146-
{ tag: t.number, color: "#ff9d6b" },
147-
{ tag: t.string, color: "#d8b48a" },
148-
{ tag: t.lineComment, color: "#5b6675", fontStyle: "italic" },
149-
{ tag: t.punctuation, color: "#6b7785" },
141+
{ tag: t.keyword, color: "var(--t-kw)", fontWeight: "600" },
142+
{ tag: t.typeName, color: "var(--t-kind)" },
143+
{ tag: t.operatorKeyword, color: "var(--t-act)" },
144+
{ tag: t.variableName, color: "var(--t-joint)" },
145+
{ tag: t.atom, color: "var(--t-atom)" },
146+
{ tag: t.number, color: "var(--t-num)" },
147+
{ tag: t.string, color: "var(--t-str)" },
148+
{ tag: t.lineComment, color: "var(--muted)", fontStyle: "italic" },
149+
{ tag: t.punctuation, color: "var(--t-punct)" },
150150
]);
151151

152152
// --- Language service bridges ----------------------------------------------

0 commit comments

Comments
 (0)