Skip to content

Commit 24d9a1c

Browse files
committed
Replace deprecated color orange, update gray saturation
1 parent 01fe794 commit 24d9a1c

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

src/syntax-dark.css

+11-11
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/* LineHighlight */ .chroma .hl { @apply bg-gray-700 }
1919
/* LineNumbersTable */ .chroma .lnt {}
2020
/* LineNumbersTable */ .chroma .lnt {}
21-
/* LineNumbers */ .chroma .ln { @apply text-gray-500 }
21+
/* LineNumbers */ .chroma .ln { @apply text-gray-400 }
2222
/* Keyword */ .chroma .k { @apply text-blue-400 }
2323
/* KeywordConstant */ .chroma .kc { @apply text-blue-400 }
2424
/* KeywordDeclaration */ .chroma .kd { @apply text-blue-400 }
@@ -28,14 +28,14 @@
2828
/* KeywordType */ .chroma .kt { @apply text-purple-400 }
2929
/* Name */ .chroma .n {}
3030
/* NameAttribute */ .chroma .na { @apply text-yellow-400 }
31-
/* NameBuiltin */ .chroma .nb { @apply text-orange-400 }
31+
/* NameBuiltin */ .chroma .nb { @apply text-yellow-400 }
3232
/* NameBuiltinPseudo */ .chroma .bp {}
3333
/* NameClass */ .chroma .nc { @apply text-red-400 }
3434
/* NameConstant */ .chroma .no { @apply text-green-400 }
3535
/* NameDecorator */ .chroma .nd { @apply text-red-400 }
3636
/* NameEntity */ .chroma .ni {}
3737
/* NameException */ .chroma .ne { @apply text-red-400 }
38-
/* NameFunction */ .chroma .nf { @apply text-orange-400 }
38+
/* NameFunction */ .chroma .nf { @apply text-yellow-400 }
3939
/* NameFunctionMagic */ .chroma .fm {}
4040
/* NameLabel */ .chroma .nl {}
4141
/* NameNamespace */ .chroma .nn {}
@@ -56,7 +56,7 @@
5656
/* LiteralStringDelimiter */ .chroma .dl { @apply text-green-400 }
5757
/* LiteralStringDoc */ .chroma .sd { @apply text-green-400 }
5858
/* LiteralStringDouble */ .chroma .s2 { @apply text-green-400 }
59-
/* LiteralStringEscape */ .chroma .se { @apply text-gray-500 }
59+
/* LiteralStringEscape */ .chroma .se { @apply text-gray-400 }
6060
/* LiteralStringHeredoc */ .chroma .sh { @apply text-green-400 }
6161
/* LiteralStringInterpol */ .chroma .si { @apply text-green-400 }
6262
/* LiteralStringOther */ .chroma .sx { @apply text-green-400 }
@@ -73,13 +73,13 @@
7373
/* Operator */ .chroma .o { @apply text-blue-300 }
7474
/* OperatorWord */ .chroma .ow { @apply text-blue-300 }
7575
/* Punctuation */ .chroma .p { @apply text-gray-400 }
76-
/* Comment */ .chroma .c { @apply text-gray-500 }
77-
/* CommentHashbang */ .chroma .ch { @apply text-gray-500 }
78-
/* CommentMultiline */ .chroma .cm { @apply text-gray-500 }
79-
/* CommentSingle */ .chroma .c1 { @apply text-gray-500 }
80-
/* CommentSpecial */ .chroma .cs { @apply text-gray-500 }
81-
/* CommentPreproc */ .chroma .cp { @apply text-gray-500 }
82-
/* CommentPreprocFile */ .chroma .cpf { @apply text-gray-500 }
76+
/* Comment */ .chroma .c { @apply text-gray-400 }
77+
/* CommentHashbang */ .chroma .ch { @apply text-gray-400 }
78+
/* CommentMultiline */ .chroma .cm { @apply text-gray-400 }
79+
/* CommentSingle */ .chroma .c1 { @apply text-gray-400 }
80+
/* CommentSpecial */ .chroma .cs { @apply text-gray-400 }
81+
/* CommentPreproc */ .chroma .cp { @apply text-gray-400 }
82+
/* CommentPreprocFile */ .chroma .cpf { @apply text-gray-400 }
8383
/* Generic */ .chroma .g {}
8484
/* GenericDeleted */ .chroma .gd {}
8585
/* GenericEmph */ .chroma .ge { @apply italic }

src/syntax-light.css

+11-11
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/* LineTable */ .chroma .lntable {}
1818
/* LineHighlight */ .chroma .hl { @apply bg-yellow-200 }
1919
/* LineNumbersTable */ .chroma .lnt {}
20-
/* LineNumbers */ .chroma .ln { @apply text-gray-500 }
20+
/* LineNumbers */ .chroma .ln { @apply text-gray-400 }
2121
/* Keyword */ .chroma .k { @apply text-blue-500 }
2222
/* KeywordConstant */ .chroma .kc { @apply text-blue-500 }
2323
/* KeywordDeclaration */ .chroma .kd { @apply text-blue-500 }
@@ -27,14 +27,14 @@
2727
/* KeywordType */ .chroma .kt { @apply text-purple-500 }
2828
/* Name */ .chroma .n {}
2929
/* NameAttribute */ .chroma .na { @apply text-yellow-600 }
30-
/* NameBuiltin */ .chroma .nb { @apply text-orange-500 }
30+
/* NameBuiltin */ .chroma .nb { @apply text-yellow-500 }
3131
/* NameBuiltinPseudo */ .chroma .bp {}
3232
/* NameClass */ .chroma .nc { @apply text-red-500 }
3333
/* NameConstant */ .chroma .no { @apply text-green-500 }
3434
/* NameDecorator */ .chroma .nd { @apply text-red-500 }
3535
/* NameEntity */ .chroma .ni {}
3636
/* NameException */ .chroma .ne { @apply text-red-500 }
37-
/* NameFunction */ .chroma .nf { @apply text-orange-500 }
37+
/* NameFunction */ .chroma .nf { @apply text-yellow-500 }
3838
/* NameFunctionMagic */ .chroma .fm {}
3939
/* NameLabel */ .chroma .nl {}
4040
/* NameNamespace */ .chroma .nn {}
@@ -55,7 +55,7 @@
5555
/* LiteralStringDelimiter */ .chroma .dl { @apply text-green-500 }
5656
/* LiteralStringDoc */ .chroma .sd { @apply text-green-500 }
5757
/* LiteralStringDouble */ .chroma .s2 { @apply text-green-500 }
58-
/* LiteralStringEscape */ .chroma .se { @apply text-gray-500 }
58+
/* LiteralStringEscape */ .chroma .se { @apply text-gray-400 }
5959
/* LiteralStringHeredoc */ .chroma .sh { @apply text-green-500 }
6060
/* LiteralStringInterpol */ .chroma .si { @apply text-green-500 }
6161
/* LiteralStringOther */ .chroma .sx { @apply text-green-500 }
@@ -72,13 +72,13 @@
7272
/* Operator */ .chroma .o { @apply text-blue-400 }
7373
/* OperatorWord */ .chroma .ow { @apply text-blue-400 }
7474
/* Punctuation */ .chroma .p { @apply text-gray-600 }
75-
/* Comment */ .chroma .c { @apply text-gray-500 }
76-
/* CommentHashbang */ .chroma .ch { @apply text-gray-500 }
77-
/* CommentMultiline */ .chroma .cm { @apply text-gray-500 }
78-
/* CommentSingle */ .chroma .c1 { @apply text-gray-500 }
79-
/* CommentSpecial */ .chroma .cs { @apply text-gray-500 }
80-
/* CommentPreproc */ .chroma .cp { @apply text-gray-500 }
81-
/* CommentPreprocFile */ .chroma .cpf { @apply text-gray-500 }
75+
/* Comment */ .chroma .c { @apply text-gray-400 }
76+
/* CommentHashbang */ .chroma .ch { @apply text-gray-400 }
77+
/* CommentMultiline */ .chroma .cm { @apply text-gray-400 }
78+
/* CommentSingle */ .chroma .c1 { @apply text-gray-400 }
79+
/* CommentSpecial */ .chroma .cs { @apply text-gray-400 }
80+
/* CommentPreproc */ .chroma .cp { @apply text-gray-400 }
81+
/* CommentPreprocFile */ .chroma .cpf { @apply text-gray-400 }
8282
/* Generic */ .chroma .g {}
8383
/* GenericDeleted */ .chroma .gd {}
8484
/* GenericEmph */ .chroma .ge { @apply italic }

0 commit comments

Comments
 (0)