-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathstyle.css
More file actions
214 lines (179 loc) · 5.78 KB
/
Copy pathstyle.css
File metadata and controls
214 lines (179 loc) · 5.78 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
/* ==========================================================================
Hoop.dev Grayscale Theme
Minimal overrides on top of Mintlify's built-in system.
Only uses documented safe selectors: #navbar, #sidebar, #footer, #body-content
========================================================================== */
/* --------------------------------------------------------------------------
1. Design Tokens
-------------------------------------------------------------------------- */
:root {
--hoop-near-black: #0A0A0A;
--hoop-strong: #1A1A1A;
--hoop-body: #1A1A1A;
--hoop-secondary: #333333;
--hoop-muted: #6E6E6E;
--hoop-slate: #444444;
--hoop-slate-dark: #1A1A1A;
--hoop-charcoal: #1A1A1A;
--hoop-silver: #B0B0B0;
--hoop-gray-100: #F7F7F7;
--hoop-gray-200: #EBEBEB;
--hoop-gray-300: #DEDEDE;
--hoop-gray-400: #C4C4C4;
/* Animation design tokens (grayscale variant) */
--warm-gold: #B0B0B0;
--warm-gold-rgb: 176,176,176;
--bronze: #5A5A5A;
--bronze-rgb: 90,90,90;
--bronze-dark: #333333;
--bronze-dark-rgb: 51,51,51;
--espresso: #1A1A1A;
--espresso-rgb: 26,26,26;
--sand-100: #F7F7F7;
--sand-100-rgb: 247,247,247;
--sand-200: #EBEBEB;
--sand-300: #DEDEDE;
--sand-400: #C4C4C4;
--sand-500: #8E8E8E;
--sand-500-rgb: 142,142,142;
--error: #6E6E6E;
--error-rgb: 110,110,110;
--success: #8E8E8E;
--success-rgb: 142,142,142;
--prompt: #B0B0B0;
--gradient-dark-start: #111111;
--gradient-dark-start-rgb: 17,17,17;
--gradient-dark-mid: #1A1A1A;
--gradient-dark-end: #2A2A2A;
--mono: 'JetBrains Mono', 'SF Mono', monospace;
--sans: 'Inter', system-ui, -apple-system, sans-serif;
--display: 'Inter', system-ui, sans-serif;
}
/* --------------------------------------------------------------------------
2. Light Mode Typography (high contrast)
-------------------------------------------------------------------------- */
:root:not(.dark) #body-content,
:root:not(.dark) #body-content p,
:root:not(.dark) #body-content li,
:root:not(.dark) #body-content dd,
:root:not(.dark) #body-content blockquote,
:root:not(.dark) #body-content span,
:root:not(.dark) #body-content td {
color: #1A1A1A !important;
}
:root:not(.dark) #body-content h1,
:root:not(.dark) #body-content h2,
:root:not(.dark) #body-content h3,
:root:not(.dark) #body-content h4,
:root:not(.dark) #body-content h5,
:root:not(.dark) #body-content h6,
:root:not(.dark) #body-content strong {
color: #0A0A0A !important;
letter-spacing: -0.02em;
}
.prose strong {
font-weight: 600;
}
:root:not(.dark) #body-content a {
color: #1A1A1A !important;
text-decoration-color: #C4C4C4;
text-underline-offset: 2px;
transition: text-decoration-color 0.15s ease;
}
:root:not(.dark) #body-content a:hover {
text-decoration-color: #1A1A1A;
}
:root:not(.dark) #body-content :not(pre) > code {
background: #EBEBEB;
color: #1A1A1A !important;
border-radius: 4px;
padding: 2px 6px;
font-size: 0.875em;
}
:root:not(.dark) #body-content table thead th {
color: #0A0A0A !important;
font-weight: 600;
}
/* --------------------------------------------------------------------------
3. Light Mode Sidebar
-------------------------------------------------------------------------- */
:root:not(.dark) #sidebar a {
color: #333333;
transition: color 0.15s ease;
}
:root:not(.dark) #sidebar a:hover {
color: #0A0A0A;
}
:root:not(.dark) #sidebar a[data-active="true"] {
color: #0A0A0A;
font-weight: 500;
}
/* --------------------------------------------------------------------------
4. Light Mode Navbar
-------------------------------------------------------------------------- */
:root:not(.dark) #navbar {
border-bottom: 1px solid #EBEBEB;
}
/* --------------------------------------------------------------------------
5. Light Mode Cards
-------------------------------------------------------------------------- */
:root:not(.dark) .card {
border: 1px solid #EBEBEB;
border-radius: 10px;
transition: border-color 0.15s ease;
}
:root:not(.dark) .card:hover {
border-color: #C4C4C4;
}
/* --------------------------------------------------------------------------
6. Light Mode Code Blocks
-------------------------------------------------------------------------- */
:root:not(.dark) .code-block {
border-radius: 8px;
border: 1px solid #EBEBEB;
}
/* --------------------------------------------------------------------------
7. Light Mode Footer
-------------------------------------------------------------------------- */
:root:not(.dark) #footer {
border-top: 1px solid #EBEBEB;
}
/* --------------------------------------------------------------------------
8. Light Mode Tabs
-------------------------------------------------------------------------- */
:root:not(.dark) .tabs [data-active="true"] {
color: #0A0A0A;
border-color: #1A1A1A;
}
/* --------------------------------------------------------------------------
9. Badges (both modes)
-------------------------------------------------------------------------- */
[data-badge] {
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
}
/* --------------------------------------------------------------------------
10. Selection (both modes)
-------------------------------------------------------------------------- */
::selection {
background: rgba(90, 90, 90, 0.15);
}
/* --------------------------------------------------------------------------
11. Scrollbar (both modes)
-------------------------------------------------------------------------- */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--hoop-gray-300);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--hoop-gray-400);
}