comparison vendor/github.com/alecthomas/chroma/v2/styles/witchhazel.go @ 66:787b5ee0289d draft

Use vendored modules Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author yakumo.izuru
date Sun, 23 Jul 2023 13:18:53 +0000
parents
children
comparison
equal deleted inserted replaced
65:6d985efa0f7a 66:787b5ee0289d
1 // Copyright 2018 Alethea Katherine Flowers
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 package styles
16
17 import (
18 "github.com/alecthomas/chroma/v2"
19 )
20
21 // WitchHazel Style
22 var WitchHazel = Register(chroma.MustNewStyle("witchhazel", chroma.StyleEntries{
23 chroma.Text: "#F8F8F2",
24 chroma.Whitespace: "#A8757B",
25 chroma.Error: "#960050 bg:#1e0010",
26 chroma.Comment: "#b0bec5",
27 chroma.Keyword: "#C2FFDF",
28 chroma.KeywordNamespace: "#FFB8D1",
29 chroma.Operator: "#FFB8D1",
30 chroma.Punctuation: "#F8F8F2",
31 chroma.Name: "#F8F8F2",
32 chroma.NameAttribute: "#ceb1ff",
33 chroma.NameBuiltinPseudo: "#80cbc4",
34 chroma.NameClass: "#ceb1ff",
35 chroma.NameConstant: "#C5A3FF",
36 chroma.NameDecorator: "#ceb1ff",
37 chroma.NameException: "#ceb1ff",
38 chroma.NameFunction: "#ceb1ff",
39 chroma.NameProperty: "#F8F8F2",
40 chroma.NameTag: "#FFB8D1",
41 chroma.NameVariable: "#F8F8F2",
42 chroma.Number: "#C5A3FF",
43 chroma.Literal: "#ae81ff",
44 chroma.LiteralDate: "#e6db74",
45 chroma.String: "#1bc5e0",
46 chroma.GenericDeleted: "#f92672",
47 chroma.GenericEmph: "italic",
48 chroma.GenericInserted: "#a6e22e",
49 chroma.GenericStrong: "bold",
50 chroma.GenericSubheading: "#75715e",
51 chroma.Background: " bg:#433e56",
52 }))