Skip to content

Commit 1c62b83

Browse files
Ensure headings differ in shade/tint to body copy
1 parent 5e08d9f commit 1c62b83

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/css/tailwind.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010

1111
@layer base {
12+
h1, h2, h3 {
13+
@apply text-blue-900 dark:text-white;
14+
}
1215
h1 {
1316
@apply font-bold text-4xl leading-tight my-8;
1417
}
@@ -18,7 +21,7 @@
1821
}
1922
}
2023
h2 {
21-
@apply text-blue-900 dark:text-white text-3xl font-bold leading-none mb-2;
24+
@apply text-3xl font-bold leading-none mb-2;
2225
}
2326
@screen md {
2427
h2 {
@@ -393,6 +396,7 @@ details[open] .summary-swap-open {
393396
@apply bg-black;
394397
@apply text-sm;
395398
@apply font-bold;
399+
@apply text-blue-100;
396400
position: absolute;
397401
right: .4em;
398402
top: .4em;

src/site/_includes/layouts/base.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ ogimage: "/img/og/default-og-image.png"
5050
<script defer src="{{ url }}"></script>
5151
{%- endfor %}
5252
</head>
53-
<body class="bg-gray-100 dark:bg-blue-900 text-blue-900 dark:text-blue-100 leading-relaxed antialiased">
53+
<body class="bg-gray-100 dark:bg-blue-900 text-blue-800 dark:text-blue-100 leading-relaxed antialiased">
5454
<svg width="0" height="0" aria-hidden="true" style="position: absolute;">
5555
<defs>
5656
<symbol id="logo-jamstack" viewBox="0 0 523 98" fill="none">

0 commit comments

Comments
 (0)