Skip to content

Commit

Permalink
rename to _app.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
87xie committed Sep 12, 2024
1 parent ee030c8 commit 01f6d88
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions examples/swr-site/styles.css
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
@import 'nextra-theme-docs/dist/style.css' layer(nextra-base);
@layer nextra, my-base;
@import 'nextra-theme-docs/dist/style.css' layer(nextra);

@tailwind utilities;

.dark .invert-on-dark {
filter: invert(1) brightness(1.8);
}

body {
--bg-dot-color: #d1d1d1;
@layer my-base {
body {
--bg-dot-color: #d1d1d1;

.dark & {
--bg-dot-color: #313131;
}
.dark & {
--bg-dot-color: #313131;
}

background:
linear-gradient(to bottom, transparent, rgb(var(--nextra-bg)) 300px),
fixed 0 0 / 20px 20px
radial-gradient(var(--bg-dot-color) 1px, transparent 0),
fixed 10px 10px / 20px 20px
radial-gradient(var(--bg-dot-color) 1px, transparent 0);
background:
linear-gradient(to bottom, transparent, rgb(var(--nextra-bg)) 300px),
fixed 0 0 / 20px 20px
radial-gradient(var(--bg-dot-color) 1px, transparent 0),
fixed 10px 10px / 20px 20px
radial-gradient(var(--bg-dot-color) 1px, transparent 0);
}
}

0 comments on commit 01f6d88

Please sign in to comment.