Skip to content

Commit

Permalink
layout: Set color-scheme meta to enable dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs committed Mar 6, 2024
1 parent 18a769b commit 1a87922
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="color-scheme" content="light dark">
<title>NO_COLOR: disabling ANSI color output by default</title>
<style>
body {
Expand Down Expand Up @@ -39,6 +40,7 @@

th {
background-color: #ddd;
color: black;
}

th, td {
Expand All @@ -61,7 +63,6 @@
}

td code, p code {
background-color: #f5f5f5;
padding: 3px;
}

Expand Down

0 comments on commit 1a87922

Please sign in to comment.