Skip to content

Commit

Permalink
Merge branch 'canary' into fix/__import_unsupported-is-undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Jul 18, 2022
2 parents 42e592b + 82c1e00 commit 62fbd10
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/create-next-app/templates/default/styles/Home.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,16 @@
flex-direction: column;
}
}

@media (prefers-color-scheme: dark) {
.card,
.footer {
border-color: #222;
}
.code {
background: #111;
}
.logo img {
filter: invert(1);
}
}
10 changes: 10 additions & 0 deletions packages/create-next-app/templates/default/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,13 @@ a {
* {
box-sizing: border-box;
}

@media (prefers-color-scheme: dark) {
html {
color-scheme: dark;
}
body {
color: white;
background: black;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,16 @@
flex-direction: column;
}
}

@media (prefers-color-scheme: dark) {
.card,
.footer {
border-color: #222;
}
.code {
background: #111;
}
.logo img {
filter: invert(1);
}
}
10 changes: 10 additions & 0 deletions packages/create-next-app/templates/typescript/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,13 @@ a {
* {
box-sizing: border-box;
}

@media (prefers-color-scheme: dark) {
html {
color-scheme: dark;
}
body {
color: white;
background: black;
}
}

0 comments on commit 62fbd10

Please sign in to comment.