node/doc/api_assets
Dima Demakov ec74b93b38
doc: remove flicker on page load on dark theme
Theme applying logic get loaded and executed in async mode, so often
there is a
delay in applying the proper theme to a page which leads to flicker on
dark theme. Resolved by moving critical logic to the page head

PR-URL: https://github.com/nodejs/node/pull/50942
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Claudio Wunder <cwunder@gnome.org>
2023-12-04 11:15:00 +01:00
..
api.js doc: remove flicker on page load on dark theme 2023-12-04 11:15:00 +01:00
hljs.css tools: upgrade highlight.js to version 11.0.1 2021-06-26 15:13:35 +00:00
js-flavor-cjs.svg doc: replace text with paths in toggle SVGs 2022-02-10 20:00:24 +00:00
js-flavor-esm.svg doc: replace text with paths in toggle SVGs 2022-02-10 20:00:24 +00:00
README.md doc: make header smaller and dropdown click-driven when JS is on 2022-03-22 21:31:56 +00:00
style.css doc: underline links 2023-11-14 09:17:51 +01:00

API Reference Document Assets

api.js

The main script for API reference documents.

hljs.css

The syntax theme for code snippets in API reference documents.

style.css

The main stylesheet for API reference documents.