summaryrefslogtreecommitdiff
path: root/examples/with-nanostores/src
diff options
context:
space:
mode:
authorGravatar Erika <3019731+Princesseuh@users.noreply.github.com> 2023-07-14 15:57:06 +0200
committerGravatar GitHub <noreply@github.com> 2023-07-14 09:57:06 -0400
commitb3b640435b1a6630a40be7dbe81f21a9693856d2 (patch)
treeeb7985b3da08bc45618e99fc663dee88bf3feab7 /examples/with-nanostores/src
parent7a6b48a1a40122fa3a6c1aef112f82dec25ee083 (diff)
downloadastro-b3b640435b1a6630a40be7dbe81f21a9693856d2.tar.gz
astro-b3b640435b1a6630a40be7dbe81f21a9693856d2.tar.zst
astro-b3b640435b1a6630a40be7dbe81f21a9693856d2.zip
nit: export props has been unnecessary.. forever (#7646)
Diffstat (limited to 'examples/with-nanostores/src')
-rw-r--r--examples/with-nanostores/src/layouts/Layout.astro6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/with-nanostores/src/layouts/Layout.astro b/examples/with-nanostores/src/layouts/Layout.astro
index 954513f79..5927ebab9 100644
--- a/examples/with-nanostores/src/layouts/Layout.astro
+++ b/examples/with-nanostores/src/layouts/Layout.astro
@@ -1,8 +1,8 @@
---
-import CartFlyoutToggle from '../components/CartFlyoutToggle';
import CartFlyout from '../components/CartFlyout';
+import CartFlyoutToggle from '../components/CartFlyoutToggle';
-export interface Props {
+interface Props {
title: string;
}
@@ -34,7 +34,7 @@ const { title } = Astro.props;
:root {
--font-family: system-ui, sans-serif;
--font-size-base: clamp(1rem, 0.34vw + 0.91rem, 1.19rem);
- --font-size-lg: clamp(1.2rem, 0.7vw + 1.2rem, 1.5rem);
+ --font-size-lg: clamp(1.2rem, 0.7vw + 1.2rem, 1.5rem);
--font-size-xl: clamp(2.0rem, 1.75vw + 1.35rem, 2.75rem);
--color-text: hsl(12, 5%, 4%);