-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathtridactyl.tera
More file actions
238 lines (210 loc) · 6.14 KB
/
tridactyl.tera
File metadata and controls
238 lines (210 loc) · 6.14 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
---
whiskers:
version: "^2.5.1"
matrix:
- flavor
hex_format: "#{{r}}{{g}}{{b}}"
filename: "themes/catppuccin-{{flavor.identifier}}.css"
app: "Tridactyl"
author: "devnullvoid"
---
/*
Catppuccin {{flavor.identifier | capitalize }} for {{app}}
by {{author}}
*/
:root {
/* Catppuccin {{ flavor.identifier | capitalize }} Palette Colors */
--rosewater: {{ rosewater.hex }};
--flamingo: {{ flamingo.hex }};
--pink: {{ pink.hex }};
--mauve: {{ mauve.hex }};
--red: {{ red.hex }};
--maroon: {{ maroon.hex }};
--peach: {{ peach.hex }};
--yellow: {{ yellow.hex }};
--green: {{ green.hex }};
--teal: {{ teal.hex }};
--sky: {{ sky.hex }};
--sapphire: {{ sapphire.hex }};
--blue: {{ blue.hex }};
--lavender: {{ lavender.hex }};
--text: {{ text.hex }};
--subtext1: {{ subtext1.hex }};
--subtext0: {{ subtext0.hex }};
--overlay2: {{ overlay2.hex }};
--overlay1: {{ overlay1.hex }};
--overlay0: {{ overlay0.hex }};
--surface2: {{ surface2.hex }};
--surface1: {{ surface1.hex }};
--surface0: {{ surface0.hex }};
--base: {{ base.hex }};
--mantle: {{ mantle.hex }};
--crust: {{ crust.hex }};
/* Custom Font */
--font: "Monaspace Krypton", "JetBrainsMono Nerd Font",monospace; /* Default font, can be overridden directly in a forked repo CSS */
/* Tridactyl Theme Variables - Mapped to Catppuccin Colors */
--currentline: var(--mantle); /* or --surface0 */
--tridactyl-fg: var(--text);
--tridactyl-bg: var(--base);
--tridactyl-url-fg: var(--rosewater);
--tridactyl-url-bg: var(--base);
--tridactyl-highlight-box-bg: var(--mantle);
--tridactyl-highlight-box-fg: var(--text);
--tridactyl-of-fg: var(--text);
--tridactyl-of-bg: var(--mantle);
/* Command Line Specific */
--tridactyl-cmdl-fg: var(--text);
--tridactyl-cmdl-bg: var(--base);
--tridactyl-cmdl-font-family: var(--font);
--tridactyl-cmplt-font-family: var(--font);
--tridactyl-hintspan-font-family: var(--font);
/* Hint character tags */
--tridactyl-hintspan-fg: var(--base) !important;
--tridactyl-hintspan-bg: var(--green) !important;
/* Element Highlights (using "none") */
--tridactyl-hint-active-fg: none;
--tridactyl-hint-active-bg: none;
--tridactyl-hint-active-outline: none;
--tridactyl-hint-bg: none;
--tridactyl-hint-outline: none;
/* Element Colors */
--tridactyl-border: var(--lavender);
--tridactyl-completions-title: var(--blue);
--tridactyl-completions-title-focused: var(--pink);
--tridactyl-completions-url: var(--green);
--tridactyl-completions-header: var(--peach);
}
#command-line-holder {
order: 1;
border: 2px solid var(--tridactyl-border);
background: var(--tridactyl-bg);
}
#command-line-holder #tridactyl-colon {
display: none;
}
#tridactyl-input {
padding: 1rem;
color: var(--tridactyl-fg);
width: 90%;
font-size: 1.5rem;
line-height: 1.5;
background: var(--tridactyl-bg);
padding-left: unset;
padding: 1rem;
}
#completions table {
font-size: 0.8rem;
font-weight: 200;
border-spacing: 0;
table-layout: fixed;
padding: 1rem 0;
/* padding-top: 1rem; */
/* padding-bottom: 1rem; */
}
#completions > div {
max-height: calc(20 * var(--option-height));
min-height: calc(10 * var(--option-height));
}
/* COMPLETIONS */
#completions {
--option-height: 1.4em;
color: var(--tridactyl-fg);
background: var(--tridactyl-bg);
display: inline-block;
font-size: unset;
font-weight: 200;
overflow: hidden;
width: 100%;
border-top: unset;
order: 2;
}
/* Olie doesn't know how CSS inheritance works */
#completions .HistoryCompletionSource {
max-height: unset;
min-height: unset;
}
#completions .HistoryCompletionSource table {
width: 100%;
/* font-size: 9pt; */
border-spacing: 0;
table-layout: fixed;
}
/* redundancy 2: redundancy 2: more redundancy */
#completions .BmarkCompletionSource {
max-height: unset;
min-height: unset;
}
#completions table tr td.prefix,#completions table tr td.privatewindow,#completions table tr td.container,#completions table tr td.icon {
display: none;
}
#completions .BufferCompletionSource table {
width: unset;
/* font-size: unset; */
border-spacing: unset;
table-layout: unset;
}
#completions table tr.BufferCompletionOption {
white-space: wrap;
}
#completions table tr.BufferCompletionOption td.content {
width: auto;
}
#completions table tr .title, #completions table tr td.excmd {
/* width: 50%; */
padding-left: 1rem;
color: var(--tridactyl-completions-title);
}
#completions table tr .content, #completions table tr td.documentation {
padding-right: 1rem;
}
#completions table tr.ExcmdCompletionOption .documentation {
white-space: pre-line;
}
#completions table tr {
white-space: wrap;
overflow: hidden;
text-overflow: ellipsis;
}
#completions table tr td {
padding: .25rem 0;
}
#completions .sectionHeader {
background: unset;
font-weight: bold;
border-bottom: unset;
padding: 1rem 1rem 0 !important;
padding-left: unset;
padding-bottom: 0.2rem;
color: var(--tridactyl-completions-header);
}
#cmdline_iframe {
position: fixed !important;
bottom: unset;
top: 25% !important;
left: 10% !important;
z-index: 2147483647 !important;
width: 80% !important;
box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 20px !important;
}
.TridactylStatusIndicator {
position: fixed !important;
bottom: 0 !important;
background: var(--tridactyl-bg) !important;
border: unset !important;
border: 1px var(--lavender) solid !important;
font-size: 12pt !important;
/*font-weight: 200 !important;*/
padding: 0.8ex !important;
}
#completions .focused {
background: var(--currentline);
/* color: var(--blue); */
font-weight: bold;
}
#completions .focused td.title, #completions .focused td.excmd {
color: var(--tridactyl-completions-title-focused);
}
#completions .focused .url, #completions .focused td.documentation, #completions .focused td.content {
background: var(--currentline);
color: var(--tridactyl-completions-url);
}