[all-commits] [llvm/llvm-project] 7b01c6: [clang-doc] Change highlight.js theme for light or...

Erick Velez via All-commits all-commits at lists.llvm.org
Fri Feb 13 14:42:33 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b01c69ccd659c3df250804a213212b66ba1cc56
      https://github.com/llvm/llvm-project/commit/7b01c69ccd659c3df250804a213212b66ba1cc56
  Author: Erick Velez <erickvelez7 at gmail.com>
  Date:   2026-02-13 (Fri, 13 Feb 2026)

  Changed paths:
    M clang-tools-extra/clang-doc/assets/head-template.mustache
    M clang-tools-extra/test/clang-doc/basic-project.mustache.test

  Log Message:
  -----------
  [clang-doc] Change highlight.js theme for light or dark themes (#181317)

Adds another `<link>` tag to load in a dark theme for highlight.js. The
appropriate theme is then loaded for the current system theme. Using a
dark theme for highlight.js in dark mode makes for a much better user
experience since declaration text has a higher contrast compared to the
dark background.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list