aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEdJoPaTo <github@edjopato.de>2024-06-05 14:35:43 +0200
committerGitHub <noreply@github.com>2024-06-05 14:35:43 +0200
commit163cb1fc2fe4caa8306a18abdb0516870e4d7f3d (patch)
treef8008d4c6542906b1d8777cbce86017e370ce4f6 /flang/lib/Frontend/CompilerInvocation.cpp
parent3614beede1d22cc7d2492a9742d68b210cb75dd1 (diff)
downloadllvm-163cb1fc2fe4caa8306a18abdb0516870e4d7f3d.zip
llvm-163cb1fc2fe4caa8306a18abdb0516870e4d7f3d.tar.gz
llvm-163cb1fc2fe4caa8306a18abdb0516870e4d7f3d.tar.bz2
[llvm-cov] Add HTML dark theme support (#93080)
Personally I use [cargo-llvm-cov](https://github.com/taiki-e/cargo-llvm-cov) which creates helpful HTML coverage reports, but they don't support a dynamic dark themes. I updated the styling to support both dark and bright color themes based on the browser preference. The bright theme should look similar to the current theme. I also improved some color contrasts (Firefox accessibility tool reported them) and ensured that line-number links keep their text-decoration. Things that both have `.tooltip` and `.red` look kinda odd as the coloring is now based on tinting with transparency. Given that the tooltip should always show 0 in such cases (otherwise it wouldn't be red) the tooltip could be removed there on the HTML generation, but that seemed out of scope for my style only change.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions