summaryrefslogtreecommitdiff
path: root/examples/framework-lit
diff options
context:
space:
mode:
Diffstat (limited to 'examples/framework-lit')
-rw-r--r--examples/framework-lit/astro.config.mjs6
-rw-r--r--examples/framework-lit/public/style/home.css33
2 files changed, 19 insertions, 20 deletions
diff --git a/examples/framework-lit/astro.config.mjs b/examples/framework-lit/astro.config.mjs
index 20f741ec6..e4cabec8f 100644
--- a/examples/framework-lit/astro.config.mjs
+++ b/examples/framework-lit/astro.config.mjs
@@ -11,7 +11,5 @@ export default {
// port: 3000, // The port to run the dev server on.
// tailwindConfig: '', // Path to tailwind.config.js if used, e.g. './tailwind.config.js'
},
- renderers: [
- '@astrojs/renderer-lit'
- ]
-}; \ No newline at end of file
+ renderers: ['@astrojs/renderer-lit'],
+};
diff --git a/examples/framework-lit/public/style/home.css b/examples/framework-lit/public/style/home.css
index c4271a845..280398c17 100644
--- a/examples/framework-lit/public/style/home.css
+++ b/examples/framework-lit/public/style/home.css
@@ -1,38 +1,39 @@
:root {
- --font-mono: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
- --color-light: #F3F4F6;
+ --font-mono: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Liberation Mono',
+ 'Nimbus Mono L', Monaco, 'Courier New', Courier, monospace;
+ --color-light: #f3f4f6;
}
@media (prefers-color-scheme: dark) {
- :root {
- --color-light: #1F2937;
- }
+ :root {
+ --color-light: #1f2937;
+ }
}
a {
- color: inherit;
+ color: inherit;
}
header > div {
- font-size: clamp(2rem, -0.4742rem + 6.1856vw, 2.75rem);
+ font-size: clamp(2rem, -0.4742rem + 6.1856vw, 2.75rem);
}
header > div {
- display: flex;
- flex-direction: column;
- align-items: center;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
}
header h1 {
- font-size: 1em;
- font-weight: 500;
+ font-size: 1em;
+ font-weight: 500;
}
header img {
- width: 2em;
- height: 2.667em;
+ width: 2em;
+ height: 2.667em;
}
h2 {
- font-weight: 500;
- font-size: clamp(1.5rem, 1rem + 1.25vw, 2rem);
+ font-weight: 500;
+ font-size: clamp(1.5rem, 1rem + 1.25vw, 2rem);
}