chore: bumped chroma in sipp f52cea0b
Steve · 2026-05-21 20:22 3 file(s) · +11 −76
apps/sipp/go.mod +2 −2
6 6
	charm.land/bubbles/v2 v2.1.0
7 7
	charm.land/bubbletea/v2 v2.0.6
8 8
	charm.land/lipgloss/v2 v2.0.3
9 -
	github.com/alecthomas/chroma/v2 v2.14.0
9 +
	github.com/alecthomas/chroma/v2 v2.24.1
10 10
	github.com/atotto/clipboard v0.1.4
11 11
	github.com/stevedylandev/andromeda/pkg/auth v0.0.0
12 12
	github.com/stevedylandev/andromeda/pkg/config v0.0.0
27 27
	github.com/charmbracelet/x/windows v0.2.2 // indirect
28 28
	github.com/clipperhouse/displaywidth v0.11.0 // indirect
29 29
	github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
30 -
	github.com/dlclark/regexp2 v1.11.0 // indirect
30 +
	github.com/dlclark/regexp2 v1.12.0 // indirect
31 31
	github.com/dustin/go-humanize v1.0.1 // indirect
32 32
	github.com/google/uuid v1.6.0 // indirect
33 33
	github.com/lucasb-eyer/go-colorful v1.4.0 // indirect
apps/sipp/go.sum +8 −8
8 8
github.com/BurntSushi/toml v1.6.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho=
9 9
github.com/MakeNowJust/heredoc v1.0.0 h1:cXCdzVdstXyiTqTvfqk9SDHpKNjxuom+DOlyEeQ4pzQ=
10 10
github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE=
11 -
github.com/alecthomas/assert/v2 v2.7.0 h1:QtqSACNS3tF7oasA8CU6A6sXZSBDqnm7RfpLl9bZqbE=
12 -
github.com/alecthomas/assert/v2 v2.7.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k=
13 -
github.com/alecthomas/chroma/v2 v2.14.0 h1:R3+wzpnUArGcQz7fCETQBzO5n9IMNi13iIs46aU4V9E=
14 -
github.com/alecthomas/chroma/v2 v2.14.0/go.mod h1:QolEbTfmUHIMVpBqxeDnNBj2uoeI4EbYP4i6n68SG4I=
15 -
github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc=
16 -
github.com/alecthomas/repr v0.4.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4=
11 +
github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0=
12 +
github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k=
13 +
github.com/alecthomas/chroma/v2 v2.24.1 h1:m5ffpfZbIb++k8AqFEKy9uVgY12xIQtBsQlc6DfZJQM=
14 +
github.com/alecthomas/chroma/v2 v2.24.1/go.mod h1:l+ohZ9xRXIbGe7cIW+YZgOGbvuVLjMps/FYN/CwuabI=
15 +
github.com/alecthomas/repr v0.5.2 h1:SU73FTI9D1P5UNtvseffFSGmdNci/O6RsqzeXJtP0Qs=
16 +
github.com/alecthomas/repr v0.5.2/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4=
17 17
github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4=
18 18
github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI=
19 19
github.com/aymanbagabas/go-udiff v0.4.1 h1:OEIrQ8maEeDBXQDoGCbbTTXYJMYRCRO1fnodZ12Gv5o=
36 36
github.com/clipperhouse/displaywidth v0.11.0/go.mod h1:bkrFNkf81G8HyVqmKGxsPufD3JhNl3dSqnGhOoSD/o0=
37 37
github.com/clipperhouse/uax29/v2 v2.7.0 h1:+gs4oBZ2gPfVrKPthwbMzWZDaAFPGYK72F0NJv2v7Vk=
38 38
github.com/clipperhouse/uax29/v2 v2.7.0/go.mod h1:EFJ2TJMRUaplDxHKj1qAEhCtQPW2tJSwu5BF98AuoVM=
39 -
github.com/dlclark/regexp2 v1.11.0 h1:G/nrcoOa7ZXlpoa/91N3X7mM3r8eIlMBBJZvsz/mxKI=
40 -
github.com/dlclark/regexp2 v1.11.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8=
39 +
github.com/dlclark/regexp2 v1.12.0 h1:0j4c5qQmnC6XOWNjP3PIXURXN2gWx76rd3KvgdPkCz8=
40 +
github.com/dlclark/regexp2 v1.12.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8=
41 41
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
42 42
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
43 43
github.com/google/pprof v0.0.0-20250317173921-a4b03ec1a45e h1:ijClszYn+mADRFY17kjQEVQ1XRhq2/JR1M3sGqeJoxs=
apps/sipp/server/server.go +1 −66
30 30
//go:embed templates/*.html static/*
31 31
var appFS embed.FS
32 32
33 -
var siteStyle = chroma.MustNewStyle("site", chroma.StyleEntries{
34 -
	chroma.Background:               "#c1c1c1 bg:#121113",
35 -
	chroma.Comment:                  "italic #444444",
36 -
	chroma.CommentHashbang:          "italic #444444",
37 -
	chroma.CommentMultiline:         "italic #444444",
38 -
	chroma.CommentSingle:            "italic #444444",
39 -
	chroma.CommentSpecial:           "italic #444444",
40 -
	chroma.CommentPreproc:           "italic #444444",
41 -
	chroma.Keyword:                  "#999999",
42 -
	chroma.KeywordConstant:          "#e78a52",
43 -
	chroma.KeywordDeclaration:       "#999999",
44 -
	chroma.KeywordNamespace:         "#e78a52",
45 -
	chroma.KeywordPseudo:            "#999999",
46 -
	chroma.KeywordReserved:          "#999999",
47 -
	chroma.KeywordType:              "#c1c1c1",
48 -
	chroma.LiteralString:            "#fbcb96",
49 -
	chroma.LiteralStringAffix:       "#fbcb96",
50 -
	chroma.LiteralStringBacktick:    "#fbcb96",
51 -
	chroma.LiteralStringChar:        "#fbcb96",
52 -
	chroma.LiteralStringDelimiter:   "#fbcb96",
53 -
	chroma.LiteralStringDoc:         "#fbcb96",
54 -
	chroma.LiteralStringDouble:      "#fbcb96",
55 -
	chroma.LiteralStringEscape:      "#c1c1c1",
56 -
	chroma.LiteralStringHeredoc:     "#fbcb96",
57 -
	chroma.LiteralStringInterpol:    "#fbcb96",
58 -
	chroma.LiteralStringOther:       "#fbcb96",
59 -
	chroma.LiteralStringRegex:       "#c1c1c1",
60 -
	chroma.LiteralStringSingle:      "#fbcb96",
61 -
	chroma.LiteralStringSymbol:      "#c1c1c1",
62 -
	chroma.LiteralNumber:            "#c1c1c1",
63 -
	chroma.LiteralNumberBin:         "#c1c1c1",
64 -
	chroma.LiteralNumberFloat:       "#c1c1c1",
65 -
	chroma.LiteralNumberHex:         "#c1c1c1",
66 -
	chroma.LiteralNumberInteger:     "#c1c1c1",
67 -
	chroma.LiteralNumberIntegerLong: "#c1c1c1",
68 -
	chroma.LiteralNumberOct:         "#c1c1c1",
69 -
	chroma.NameFunction:             "#aaabab",
70 -
	chroma.NameFunctionMagic:        "#aaabab",
71 -
	chroma.NameClass:                "#e78a52",
72 -
	chroma.NameNamespace:            "#e78a52",
73 -
	chroma.NameConstant:             "#e78a52",
74 -
	chroma.NameDecorator:            "#e78a52",
75 -
	chroma.NameBuiltin:              "#c1c1c1",
76 -
	chroma.NameBuiltinPseudo:        "#e78a52",
77 -
	chroma.NameAttribute:            "#c1c1c1",
78 -
	chroma.NameTag:                  "#5f8787",
79 -
	chroma.NameVariable:             "#5f8787",
80 -
	chroma.NameVariableClass:        "#5f8787",
81 -
	chroma.NameVariableGlobal:       "#5f8787",
82 -
	chroma.NameVariableInstance:     "#5f8787",
83 -
	chroma.NameOther:                "#c1c1c1",
84 -
	chroma.Operator:                 "#999999",
85 -
	chroma.OperatorWord:             "#999999",
86 -
	chroma.Punctuation:              "#999999",
87 -
	chroma.GenericDeleted:           "#e78a52",
88 -
	chroma.GenericInserted:          "#fbcb96",
89 -
	chroma.GenericHeading:           "bold #fbcb96",
90 -
	chroma.GenericSubheading:        "bold #fbcb96",
91 -
	chroma.GenericEmph:              "italic",
92 -
	chroma.GenericStrong:            "bold",
93 -
	chroma.Error:                    "#e78a52",
94 -
	chroma.LineNumbers:              "#444444",
95 -
	chroma.LineNumbersTable:         "#444444",
96 -
})
97 -
98 33
type Snippet = store.Snippet
99 34
100 35
type App struct {
139 74
	if lexer == nil {
140 75
		lexer = lexers.Fallback
141 76
	}
142 -
	style := siteStyle
77 +
	style := styles.Get("evergarden")
143 78
	if style == nil {
144 79
		style = styles.Fallback
145 80
	}