Skip to content

Commit 96f9b90

Browse files
Merge pull request #146 from Digital-Alchemy-TS/client/settings
Initial Client/settings
2 parents a58d4be + 9098f53 commit 96f9b90

22 files changed

Lines changed: 2006 additions & 1292 deletions

apps/client/app.config.ts

Lines changed: 46 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,53 @@ type Section = {
1818
}
1919

2020
export const appConfig = {
21+
fontFamilies: [
22+
{
23+
name: "Monaspace Argon",
24+
local: "Monaspace Argon",
25+
src: "./public/fonts/Monaspace/MonaspaceArgonVar.woff2",
26+
},
27+
{
28+
name: "Monaspace Krypton",
29+
local: "Monaspace Krypton",
30+
src: "./public/fonts/Monaspace/MonaspaceKryptonVar.woff2",
31+
},
32+
{
33+
name: "Monaspace Neon",
34+
local: "Monaspace Neon",
35+
src: "./public/fonts/Monaspace/MonaspaceNeonVar.woff2",
36+
},
37+
{
38+
name: "Monaspace Radon",
39+
local: "Monaspace Radon",
40+
src: "./public/fonts/Monaspace/MonaspaceRadonVar.woff2",
41+
},
42+
{
43+
name: "Monaspace Xenon",
44+
local: "Monaspace Xenon",
45+
src: "./public/fonts/Monaspace/MonaspaceXenonVar.woff2",
46+
},
47+
] satisfies {
48+
name: string
49+
local: string
50+
src: string
51+
}[],
52+
// themes to load into the editor via shiki
53+
themes: [
54+
{ name: "Code Glue Light", theme: codeGlueLight },
55+
{ name: "Vitesse Dark", theme: "vitesse-dark" },
56+
{ name: "Vitesse Light", theme: "vitesse-light" },
57+
] satisfies {
58+
name: string
59+
theme: ThemeInput | "none" | StringLiteralUnion<BundledTheme, string>
60+
}[],
2161
editor: {
2262
tabSize: 2,
2363
printWidth: 80,
2464
defaultFontSize: 14,
25-
font: "Monaspace Argon",
26-
// themes to load into the editor via shiki
27-
themes: [codeGlueLight, "vitesse-dark", "vitesse-light"] satisfies (
28-
| ThemeInput
29-
| "none"
30-
| StringLiteralUnion<BundledTheme, string>
31-
)[],
65+
defaultFontWidth: 100,
66+
defaultFontWeight: 260,
67+
defaultFont: "Monaspace Argon",
3268
// languages that need to support the above themes
3369
languages: ["typescript", "javascript"] satisfies (
3470
| LanguageInput
@@ -38,7 +74,9 @@ export const appConfig = {
3874
},
3975
logs: {
4076
defaultFontSize: 14,
41-
font: "Monaspace Krypton",
77+
defaultFontWidth: 100,
78+
defaultFontWeight: 260,
79+
defaultFont: "Monaspace Krypton",
4280
},
4381
queries: {
4482
settings: parseAsBoolean.withDefault(false),
-1.34 MB
Binary file not shown.
-1.13 MB
Binary file not shown.
291 KB
Binary file not shown.
228 KB
Binary file not shown.
351 KB
Binary file not shown.
269 KB
Binary file not shown.
550 KB
Binary file not shown.
417 KB
Binary file not shown.
364 KB
Binary file not shown.

0 commit comments

Comments
 (0)