Skip to content

Commit dd02d1c

Browse files
committed
Fix font color in dark mode
1 parent 18040e3 commit dd02d1c

6 files changed

Lines changed: 32 additions & 22 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"dependencies": {
3333
"dna-engine": "~3.2",
34-
"web-ignition": "~2.3"
34+
"web-ignition": "~2.4"
3535
},
3636
"devDependencies": {
3737
"@fortawesome/fontawesome-free": "~6.7",

websites/www.dragonsgrill.com/index.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<!doctype html>
2-
<!-- - - - - - - - - -->
3-
<!-- Dragon's Grill -->
4-
<!-- Placeholder -->
5-
<!-- - - - - - - - - -->
2+
<!-- - - - - - - - - - - - - - - -->
3+
<!-- Dragon's Grill -->
4+
<!-- Placeholder -->
5+
<!-- center-key/snappyfood ~ MIT -->
6+
<!-- - - - - - - - - - - - - - - -->
67
<html lang=en>
78
<head>
89
<meta charset=utf-8>
@@ -16,15 +17,15 @@
1617
<link rel=preconnect href=https://fonts.gstatic.com crossorigin>
1718
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.7/css/all.min.css>
1819
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/dna-engine@3.2/dist/dna-engine.css>
19-
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@2.3/dist/reset.min.css>
20+
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@2.4/dist/reset.min.css>
2021
<style>
21-
body { text-align: center; margin: 120px auto; }
22+
body { text-align: center; margin: 60px auto; }
2223
#logo { width: 200px; margin-bottom: 20px; }
2324
h1+h2 { margin-bottom: 20px; }
2425
#link { margin-bottom: 20px; }
2526
</style>
2627
<script defer src=https://cdn.jsdelivr.net/npm/dna-engine@3.2/dist/dna-engine.min.js></script>
27-
<script defer src=https://cdn.jsdelivr.net/npm/web-ignition@2.3/dist/lib-x.min.js></script>
28+
<script defer src=https://cdn.jsdelivr.net/npm/web-ignition@2.4/dist/lib-x.min.js></script>
2829
</head>
2930
<body>
3031

websites/www.dragonsgrill.org/index.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<!doctype html>
2-
<!-- - - - - - - - - -->
3-
<!-- Dragon's Grill -->
4-
<!-- - - - - - - - - -->
2+
<!-- - - - - - - - - - - - - - - -->
3+
<!-- Dragon's Grill -->
4+
<!-- center-key/snappyfood ~ MIT -->
5+
<!-- - - - - - - - - - - - - - - -->
56
<html lang=en>
67
<head>
78
<meta charset=utf-8>
@@ -25,10 +26,10 @@
2526
<link rel=preconnect href=https://fonts.gstatic.com crossorigin>
2627
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.7/css/all.min.css>
2728
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/dna-engine@3.2/dist/dna-engine.css>
28-
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@2.3/dist/reset.min.css>
29+
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@2.4/dist/reset.min.css>
2930
<link rel=stylesheet href=style.css>
3031
<script defer src=https://cdn.jsdelivr.net/npm/dna-engine@3.2/dist/dna-engine.min.js></script>
31-
<script defer src=https://cdn.jsdelivr.net/npm/web-ignition@2.3/dist/lib-x.min.js></script>
32+
<script defer src=https://cdn.jsdelivr.net/npm/web-ignition@2.4/dist/lib-x.min.js></script>
3233
</head>
3334
<body>
3435

websites/www.dragonsgrill.org/style.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
/* Live in Style */
2-
/* Snappy Food */
1+
/* Live in Style */
2+
/* Snappy Food */
3+
/* center-key/snappyfood ~ MIT */
34

45
body {
56
max-width: 550px;
@@ -9,6 +10,10 @@ body {
910
padding: 60px 3%;
1011
margin: 0px auto;
1112
}
13+
@media (prefers-color-scheme: dark) { body { color: dimgray; } }
14+
body >footer {
15+
color: black;
16+
}
1217
#logo {
1318
width: 300px;
1419
margin-bottom: 20px;

websites/www.snappyfood.org/index.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<!doctype html>
2-
<!-- - - - - - - -->
3-
<!-- Snappy Food -->
4-
<!-- - - - - - - -->
2+
<!-- - - - - - - - - - - - - - - -->
3+
<!-- Snappy Food -->
4+
<!-- center-key/snappyfood ~ MIT -->
5+
<!-- - - - - - - - - - - - - - - -->
56
<html lang=en>
67
<head>
78
<meta charset=utf-8>
@@ -25,10 +26,10 @@
2526
<link rel=preconnect href=https://fonts.gstatic.com crossorigin>
2627
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.7/css/all.min.css>
2728
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/dna-engine@3.2/dist/dna-engine.css>
28-
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@2.3/dist/reset.min.css>
29+
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@2.4/dist/reset.min.css>
2930
<link rel=stylesheet href=style.css>
3031
<script defer src=https://cdn.jsdelivr.net/npm/dna-engine@3.2/dist/dna-engine.min.js></script>
31-
<script defer src=https://cdn.jsdelivr.net/npm/web-ignition@2.3/dist/lib-x.min.js></script>
32+
<script defer src=https://cdn.jsdelivr.net/npm/web-ignition@2.4/dist/lib-x.min.js></script>
3233
</head>
3334
<body>
3435

websites/www.snappyfood.org/style.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
/* Live in Style */
2-
/* Snappy Food */
1+
/* Live in Style */
2+
/* Snappy Food */
3+
/* center-key/snappyfood ~ MIT */
4+
35
body {
46
max-width: 600px;
57
text-align: center;

0 commit comments

Comments
 (0)