-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Expand file tree
/
Copy pathcode.css
More file actions
154 lines (129 loc) · 4.5 KB
/
Copy pathcode.css
File metadata and controls
154 lines (129 loc) · 4.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
/**
* Code editor syntax token theme.
* Cursor/VS Code base colors with Sim's vibrant saturation.
* Colors aligned to Sim brand where applicable.
* Applied to elements with .code-editor-theme class.
*
* Uses double-class specificity (.code-editor-theme.code-editor-theme)
* to override PrismJS defaults without !important.
*/
/**
* Light mode token colors - Cursor style with Sim vibrancy
*/
.code-editor-theme.code-editor-theme .token.comment,
.code-editor-theme.code-editor-theme .token.block-comment,
.code-editor-theme.code-editor-theme .token.prolog,
.code-editor-theme.code-editor-theme .token.doctype,
.code-editor-theme.code-editor-theme .token.cdata {
color: #16a34a;
}
.code-editor-theme.code-editor-theme .token.punctuation {
color: #383838;
}
.code-editor-theme.code-editor-theme .token.property,
.code-editor-theme.code-editor-theme .token.attr-name,
.code-editor-theme.code-editor-theme .token.variable {
color: #0891b2;
}
.code-editor-theme.code-editor-theme .token.tag,
.code-editor-theme.code-editor-theme .token.boolean,
.code-editor-theme.code-editor-theme .token.number,
.code-editor-theme.code-editor-theme .token.constant {
color: #16a34a;
}
.code-editor-theme.code-editor-theme .token.string,
.code-editor-theme.code-editor-theme .token.char,
.code-editor-theme.code-editor-theme .token.builtin,
.code-editor-theme.code-editor-theme .token.inserted {
color: #b45309;
}
.code-editor-theme.code-editor-theme .token.operator,
.code-editor-theme.code-editor-theme .token.entity,
.code-editor-theme.code-editor-theme .token.url {
color: #383838;
}
.code-editor-theme.code-editor-theme .token.atrule,
.code-editor-theme.code-editor-theme .token.attr-value,
.code-editor-theme.code-editor-theme .token.keyword {
color: #2f55ff;
}
.code-editor-theme.code-editor-theme .token.function,
.code-editor-theme.code-editor-theme .token.class-name {
color: #ca8a04;
}
.code-editor-theme.code-editor-theme .token.regex,
.code-editor-theme.code-editor-theme .token.important {
color: #e11d48;
}
.code-editor-theme.code-editor-theme .token.symbol {
color: #383838;
}
.code-editor-theme.code-editor-theme .token.deleted {
color: #dc2626;
}
/* Blue accents for <var> and {{ENV}} placeholders - light mode */
.code-editor-theme.code-editor-theme .text-blue-500 {
color: #1d4ed8;
}
/**
* Dark mode token colors - Cursor style with Sim vibrancy
*/
.dark .code-editor-theme.code-editor-theme .token.comment,
.dark .code-editor-theme.code-editor-theme .token.block-comment,
.dark .code-editor-theme.code-editor-theme .token.prolog,
.dark .code-editor-theme.code-editor-theme .token.doctype,
.dark .code-editor-theme.code-editor-theme .token.cdata {
color: #6ec97d;
}
.dark .code-editor-theme.code-editor-theme .token.punctuation {
color: #d4d4d4;
}
.dark .code-editor-theme.code-editor-theme .token.property,
.dark .code-editor-theme.code-editor-theme .token.attr-name,
.dark .code-editor-theme.code-editor-theme .token.variable {
color: #4fc3f7;
}
.dark .code-editor-theme.code-editor-theme .token.tag,
.dark .code-editor-theme.code-editor-theme .token.boolean,
.dark .code-editor-theme.code-editor-theme .token.number,
.dark .code-editor-theme.code-editor-theme .token.constant {
color: #a5d6a7;
}
.dark .code-editor-theme.code-editor-theme .token.string,
.dark .code-editor-theme.code-editor-theme .token.char,
.dark .code-editor-theme.code-editor-theme .token.builtin,
.dark .code-editor-theme.code-editor-theme .token.inserted {
color: #f39c6b;
}
.dark .code-editor-theme.code-editor-theme .token.operator,
.dark .code-editor-theme.code-editor-theme .token.entity,
.dark .code-editor-theme.code-editor-theme .token.url {
color: #d4d4d4;
}
.dark .code-editor-theme.code-editor-theme .token.atrule,
.dark .code-editor-theme.code-editor-theme .token.attr-value,
.dark .code-editor-theme.code-editor-theme .token.keyword {
color: #2fa1ff;
}
.dark .code-editor-theme.code-editor-theme .token.function,
.dark .code-editor-theme.code-editor-theme .token.class-name {
color: #fbbf24;
}
.dark .code-editor-theme.code-editor-theme .token.regex,
.dark .code-editor-theme.code-editor-theme .token.important {
color: #f87171;
}
.dark .code-editor-theme.code-editor-theme .token.symbol {
color: #d4d4d4;
}
.dark .code-editor-theme.code-editor-theme .token.deleted {
color: #f87171;
}
/* Blue accents for <var> and {{ENV}} placeholders - dark mode */
.dark .code-editor-theme.code-editor-theme .text-blue-500 {
color: #35b6ff;
}
/* Ensure transparent backgrounds */
.code-editor-theme.code-editor-theme .token {
background: transparent;
}