summaryrefslogtreecommitdiff
path: root/examples/portfolio/src/components
diff options
context:
space:
mode:
authorGravatar natemoo-re <natemoo-re@users.noreply.github.com> 2023-09-06 15:25:56 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2023-09-06 15:25:56 +0000
commiteb7615f25a88c25dc6db50b199877a8f79597a74 (patch)
tree74b5d3773ffb8fa7020e3d3cff2493ba4adc2ed6 /examples/portfolio/src/components
parentc06b41a6b86a41ba4b1ffa4bdecafac9b7299768 (diff)
downloadastro-eb7615f25a88c25dc6db50b199877a8f79597a74.tar.gz
astro-eb7615f25a88c25dc6db50b199877a8f79597a74.tar.zst
astro-eb7615f25a88c25dc6db50b199877a8f79597a74.zip
[ci] format
Diffstat (limited to 'examples/portfolio/src/components')
-rw-r--r--examples/portfolio/src/components/Nav.astro6
-rw-r--r--examples/portfolio/src/components/ThemeToggle.astro4
2 files changed, 7 insertions, 3 deletions
diff --git a/examples/portfolio/src/components/Nav.astro b/examples/portfolio/src/components/Nav.astro
index bf9ac7869..d0a5857b1 100644
--- a/examples/portfolio/src/components/Nav.astro
+++ b/examples/portfolio/src/components/Nav.astro
@@ -25,7 +25,7 @@ const iconLinks: { label: string; href: string; icon: keyof typeof iconPaths }[]
<div class="menu-header">
<a href="/" class="site-title">
<Icon icon="terminal-window" color="var(--accent-regular)" size="1.6em" gradient />
- Jeanine White
+ Jeanine White
</a>
<menu-button>
<template>
@@ -321,7 +321,9 @@ const iconLinks: { label: string; href: string; icon: keyof typeof iconPaths }[]
.link {
padding: 0.5rem 1rem;
border-radius: 999rem;
- transition: color var(--theme-transition), background-color var(--theme-transition);
+ transition:
+ color var(--theme-transition),
+ background-color var(--theme-transition);
}
.link:hover,
diff --git a/examples/portfolio/src/components/ThemeToggle.astro b/examples/portfolio/src/components/ThemeToggle.astro
index d184e4eb3..88f7bf67c 100644
--- a/examples/portfolio/src/components/ThemeToggle.astro
+++ b/examples/portfolio/src/components/ThemeToggle.astro
@@ -54,7 +54,9 @@ import Icon from './Icon.astro';
@media (prefers-reduced-motion: no-preference) {
.icon,
.icon.light::before {
- transition: transform var(--theme-transition), color var(--theme-transition);
+ transition:
+ transform var(--theme-transition),
+ color var(--theme-transition);
}
}