22
33/* Shape, Icons, etc customization */
44: root {
5- --wonderland-accent : # A39FED ;
6- --aztec-purple : # 625CBF ;
5+ --wonderland-accent : # D5FF2A ;
6+ --aztec-purple : # D5FF2A ;
7+ background-color : # 2E0700 ;
8+
9+ /* Docs primary (Infima) */
10+ --ifm-color-primary : # D5FF2A ;
11+ --ifm-color-primary-dark : # b1d61a ;
12+ --ifm-color-primary-darker : # 91b516 ;
13+ --ifm-color-primary-light : # e1ff6b ;
14+ --ifm-color-primary-lighter : # eeff9c ;
15+ }
16+
17+ /* Override shared surface token only on docs pages so local theme wins */
18+ html .docs-doc-page {
19+ --wonderland-blue-950 : # 2E0700 !important ;
20+ --ifm-background-surface-color : # 2E0700 !important ;
21+ --ifm-card-background-color : # 2E0700 !important ;
22+ --ifm-background-color : # 2E0700 !important ; /* affects disclaimer modal bg */
723}
824
925/* Sidebar menu icons */
129145 align-items : center;
130146 gap : 0.5rem ;
131147}
148+
149+ .navbar {
150+ background-color : # 2E0700 !important ;
151+ border-bottom : 1px solid rgba (255 , 255 , 255 , 0.15 );
152+ }
153+
154+ nav .navbar .navbar--fixed-top {
155+ background-color : # 2E0700 !important ;
156+ border-bottom : 1px solid rgba (255 , 255 , 255 , 0.15 );
157+ }
158+
159+ /* Sidebar (desktop + menu list) */
160+ .theme-doc-sidebar-container ,
161+ .menu ,
162+ html .docs-doc-page .theme-doc-sidebar-container ,
163+ html .docs-doc-page .menu {
164+ background : # 2E0700 !important ;
165+ border-right : 1px solid rgba (255 , 255 , 255 , 0.15 );
166+ }
167+
168+ /* Sidebar (mobile drawer) */
169+ .navbar-sidebar {
170+ background : # 2E0700 !important ;
171+ border-right : 1px solid rgba (255 , 255 , 255 , 0.15 );
172+ }
173+
174+ /* Sidebar accent overrides */
175+ .menu__link {
176+ color : # ffffff !important ;
177+ }
178+
179+ .menu__list .menu__link : hover {
180+ background : # 2E0700 !important ;
181+ color : # ffffff !important ;
182+ }
183+
184+ .menu__link--active : not (.menu__link--sublist ) {
185+ background : # 2E0700 !important ;
186+ color : # ffffff !important ;
187+ }
188+
189+ /* Ensure main section titles are yellow */
190+ .theme-doc-sidebar-item-category
191+ .menu__list-item-collapsible
192+ .menu__link [href ^= "/docs/background" ],
193+ .theme-doc-sidebar-item-category
194+ .menu__list-item-collapsible
195+ .menu__link [href ^= "/docs/stack" ],
196+ .theme-doc-sidebar-item-category
197+ .menu__list-item-collapsible
198+ .menu__link [href ^= "/docs/block-production" ],
199+ .theme-doc-sidebar-item-category
200+ .menu__list-item-collapsible
201+ .menu__link [href ^= "/docs/contracts" ] {
202+ color : var (--wonderland-accent ) !important ;
203+ }
204+ /* Collapse sidebar button */
205+ .theme-doc-sidebar-container button [class *= "collapseSidebarButton" ] {
206+ background : # 2E0700 !important ;
207+ border-top : 1px solid rgba (255 , 255 , 255 , 0.15 ) !important ;
208+ color : # ffffff !important ;
209+ }
210+
211+ /* Collapse button icon colors */
212+ .theme-doc-sidebar-container button [class *= "collapseSidebarButton" ] {
213+ color : # ffffff !important ;
214+ }
215+ .theme-doc-sidebar-container button [class *= "collapseSidebarButton" ]: hover {
216+ color : # D5FF2A !important ;
217+ }
218+ .theme-doc-sidebar-container button [class *= "collapseSidebarButton" ] svg path {
219+ fill : none !important ;
220+ stroke : currentColor !important ;
221+ }
222+ /* Callouts (admonitions) */
223+ .alert {
224+ --ifm-alert-background-color : # 2E0700 !important ;
225+ --ifm-alert-border-color : # D5FF2A !important ;
226+ background : # 2E0700 !important ;
227+ border : 1px solid # D5FF2A !important ;
228+ color : # ffffff ;
229+ }
230+
231+ .alert--info ,
232+ .alert--warning ,
233+ .alert--danger ,
234+ .alert--secondary ,
235+ .alert--success {
236+ --ifm-alert-background-color : # 2E0700 !important ;
237+ --ifm-alert-border-color : # D5FF2A !important ;
238+ }
239+
240+ /* Codeblock accents */
241+ .theme-code-block__title ,
242+ div [class *= "codeBlockTitle" ],
243+ [class *= "playgroundHeader" ] {
244+ border-bottom : 1px solid # D5FF2A !important ;
245+ }
246+
247+ /* Navbar searchbar accent overrides */
248+ .navbar .navbar--dark {
249+ --ifm-navbar-search-input-background-color : # 2E0700 ;
250+ }
251+
252+ .navbar__search-input {
253+ background-color : # 2E0700 !important ;
254+ border : 1px solid rgba (255 , 255 , 255 , 0.15 ) !important ;
255+ }
256+
257+ .navbar__search .algolia-autocomplete {
258+ --ifm-background-color : # 2E0700 ;
259+ }
260+
261+ .navbar__search .algolia-autocomplete .ds-dropdown-menu [class ^= "ds-dataset-" ] {
262+ background : # 2E0700 !important ;
263+ border : 1px solid rgba (255 , 255 , 255 , 0.15 ) !important ;
264+ }
265+
266+ .navbar__search .algolia-autocomplete .algolia-docsearch-suggestion ,
267+ .navbar__search .algolia-autocomplete .algolia-docsearch-suggestion--no-results {
268+ background : # 2E0700 !important ;
269+ }
270+
271+ /* Table of contents accent */
272+ .table-of-contents__link {
273+ color : # ffffff !important ;
274+ }
275+ .table-of-contents__link : hover ,
276+ .table-of-contents__link--active {
277+ color : # D5FF2A !important ;
278+ }
279+
280+ .table-of-contents {
281+ border-left : 1px solid # D5FF2A !important ;
282+ }
283+
284+ /* Navbar toggle/close icons - force white */
285+ .navbar__toggle ,
286+ .navbar-sidebar__close {
287+ color : # ffffff !important ;
288+ }
289+ .navbar__toggle svg ,
290+ .navbar__toggle svg path ,
291+ .navbar-sidebar__close svg ,
292+ .navbar-sidebar__close svg path {
293+ fill : # ffffff !important ;
294+ stroke : # ffffff !important ;
295+ }
296+
297+ /* Disclaimer button accent */
298+ # disclaimer-btn {
299+ color : # D5FF2A !important ;
300+ }
301+ # disclaimer-btn : hover {
302+ color : # D5FF2A !important ;
303+ opacity : 0.9 ;
304+ }
305+ /* Pagination button highlight */
306+ .pagination-nav__link {
307+ border : 1px solid # D5FF2A !important ;
308+ }
309+
310+ .pagination-nav__link : hover {
311+ border : 1px solid # D5FF2A !important ;
312+ }
313+
314+ /* Breadcrumb tabs */
315+ .breadcrumbs__link {
316+ background : # 2E0700 !important ;
317+ color : # D5FF2A !important ;
318+ border : 1px solid # D5FF2A !important ;
319+ border-radius : 9999px !important ;
320+ padding : 0.4rem 0.8rem !important ;
321+ }
322+
323+ .breadcrumbs__item--active .breadcrumbs__link {
324+ background : # 2E0700 !important ;
325+ color : # D5FF2A !important ;
326+ border-color : # D5FF2A !important ;
327+ }
328+
329+ .breadcrumbs__link : hover {
330+ color : # D5FF2A !important ;
331+ border-color : # D5FF2A !important ;
332+ }
333+
334+ /* Codeblock background override to Aztec maroon */
335+ .theme-code-block ,
336+ div [class ^= "codeBlock" ],
337+ div [class ^= "codeBlockContainer" ],
338+ div [class ^= "codeBlockContent" ],
339+ .prism-code ,
340+ pre [class *= "language-" ],
341+ code [class *= "language-" ],
342+ .code-block-container {
343+ background-color : # 2E0700 !important ;
344+ backdrop-filter : none !important ;
345+ -webkit-backdrop-filter : none !important ;
346+ }
347+
348+ .theme-code-block ::before {
349+ background : # 2E0700 !important ;
350+ }
351+
352+ .token ,
353+ .token-line ,
354+ .token span ,
355+ [class *= "codeLine" ] {
356+ background : # 2E0700 !important ;
357+ }
0 commit comments