node/doc/api_assets
Rich Trott e477978dd4
doc: fix color contrast issue in light mode
Attributes are being highlighted as #f00 on a background of #f2f2f2.
That's a color contrast of 3.98:1, failing to meet the 4.5:1 requirement
of WCAG 2.1 AA. This changes the attribute color to #d00, which has a
color contrast of 5.09:1 meeting the 4.5:1 requirement.

PR-URL: https://github.com/nodejs/node/pull/56272
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Claudio Wunder <cwunder@gnome.org>
2024-12-18 16:19:08 +00:00
..
README.md doc: update `api_assets` README for new files 2024-07-19 10:44:56 +00:00
api.js doc: remove flicker on page load on dark theme 2023-11-27 15:57:21 +00:00
hljs.css doc: fix color contrast issue in light mode 2024-12-18 16:19:08 +00:00
js-flavor-cjs.svg
js-flavor-esm.svg
style.css doc: remove `scroll-behavior: smooth;` 2024-07-21 11:15:28 +00:00

README.md

API documentation assets

  • api.js: This file contains all the JavaScript used throughout the documentation.
  • hljs.css: This CSS file is used for syntax highlighting styles in code blocks.
  • js-flavor-cjs.svg: This SVG image represents the toggle between ESM and CJS (CJS)
  • js-flavor-esm.svg: This SVG image represents the toggle between ESM and CJS (ESM)
  • style.css: This CSS file contains the styling rules for the overall appearance of the API documentation.