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