summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar renovate[bot] <ematipico@users.noreply.github.com> 2025-03-04 10:59:04 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2025-03-04 10:59:04 +0000
commitfe8cacdf6e9244a6431880366876a787abee5d2a (patch)
treeec3d6d1041b3ab794e9f6c0118164d97bad218c2
parent16d6d41b2e8b4c418b580f945d26a1ef386940a4 (diff)
downloadastro-fe8cacdf6e9244a6431880366876a787abee5d2a.tar.gz
astro-fe8cacdf6e9244a6431880366876a787abee5d2a.tar.zst
astro-fe8cacdf6e9244a6431880366876a787abee5d2a.zip
[ci] format
-rw-r--r--examples/basics/src/components/Welcome.astro5
-rw-r--r--examples/blog/src/styles/global.css3
-rw-r--r--examples/hackernews/src/layouts/Layout.astro5
-rw-r--r--examples/portfolio/src/components/Nav.astro3
-rw-r--r--examples/portfolio/src/styles/global.css23
-rw-r--r--packages/astro/components/Debug.astro5
6 files changed, 28 insertions, 16 deletions
diff --git a/examples/basics/src/components/Welcome.astro b/examples/basics/src/components/Welcome.astro
index 6b7b9c70e..52e033341 100644
--- a/examples/basics/src/components/Welcome.astro
+++ b/examples/basics/src/components/Welcome.astro
@@ -114,8 +114,9 @@ import background from '../assets/background.svg';
}
pre {
- font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas,
- 'DejaVu Sans Mono', monospace;
+ font-family:
+ ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono',
+ monospace;
font-weight: normal;
background: linear-gradient(14deg, #d83333 0%, #f041ff 100%);
-webkit-background-clip: text;
diff --git a/examples/blog/src/styles/global.css b/examples/blog/src/styles/global.css
index bbb0c3015..d52c23e03 100644
--- a/examples/blog/src/styles/global.css
+++ b/examples/blog/src/styles/global.css
@@ -12,7 +12,8 @@
--gray-light: 229, 233, 240;
--gray-dark: 34, 41, 57;
--gray-gradient: rgba(var(--gray-light), 50%), #fff;
- --box-shadow: 0 2px 6px rgba(var(--gray), 25%), 0 8px 24px rgba(var(--gray), 33%),
+ --box-shadow:
+ 0 2px 6px rgba(var(--gray), 25%), 0 8px 24px rgba(var(--gray), 33%),
0 16px 32px rgba(var(--gray), 33%);
}
@font-face {
diff --git a/examples/hackernews/src/layouts/Layout.astro b/examples/hackernews/src/layouts/Layout.astro
index b1630da8a..47bc1ab1a 100644
--- a/examples/hackernews/src/layouts/Layout.astro
+++ b/examples/hackernews/src/layouts/Layout.astro
@@ -16,8 +16,9 @@ import Nav from '../components/Nav.astro';
<slot />
<style is:global>
body {
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
- Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
+ font-family:
+ -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
+ 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 15px;
background-color: rgb(226 232 240);
margin: 0;
diff --git a/examples/portfolio/src/components/Nav.astro b/examples/portfolio/src/components/Nav.astro
index 9d69707b3..1d1938aec 100644
--- a/examples/portfolio/src/components/Nav.astro
+++ b/examples/portfolio/src/components/Nav.astro
@@ -178,7 +178,8 @@ const isCurrentPage = (href: string) => {
.menu-button[aria-expanded='true'] {
color: var(--gray-0);
- background: linear-gradient(180deg, var(--gray-600), transparent),
+ background:
+ linear-gradient(180deg, var(--gray-600), transparent),
radial-gradient(var(--gray-900), var(--gray-800) 150%);
}
diff --git a/examples/portfolio/src/styles/global.css b/examples/portfolio/src/styles/global.css
index 1ff987e2f..12d49fcfb 100644
--- a/examples/portfolio/src/styles/global.css
+++ b/examples/portfolio/src/styles/global.css
@@ -45,11 +45,14 @@
--gradient-stroke: linear-gradient(180deg, var(--gray-900), var(--gray-700));
/* Shadows */
- --shadow-sm: 0px 6px 3px rgba(9, 11, 17, 0.01), 0px 4px 2px rgba(9, 11, 17, 0.01),
+ --shadow-sm:
+ 0px 6px 3px rgba(9, 11, 17, 0.01), 0px 4px 2px rgba(9, 11, 17, 0.01),
0px 2px 2px rgba(9, 11, 17, 0.02), 0px 0px 1px rgba(9, 11, 17, 0.03);
- --shadow-md: 0px 28px 11px rgba(9, 11, 17, 0.01), 0px 16px 10px rgba(9, 11, 17, 0.03),
+ --shadow-md:
+ 0px 28px 11px rgba(9, 11, 17, 0.01), 0px 16px 10px rgba(9, 11, 17, 0.03),
0px 7px 7px rgba(9, 11, 17, 0.05), 0px 2px 4px rgba(9, 11, 17, 0.06);
- --shadow-lg: 0px 62px 25px rgba(9, 11, 17, 0.01), 0px 35px 21px rgba(9, 11, 17, 0.05),
+ --shadow-lg:
+ 0px 62px 25px rgba(9, 11, 17, 0.01), 0px 35px 21px rgba(9, 11, 17, 0.05),
0px 16px 16px rgba(9, 11, 17, 0.1), 0px 4px 9px rgba(9, 11, 17, 0.12);
/* Text Sizes */
@@ -64,8 +67,9 @@
--text-5xl: 4.5rem;
/* Fonts */
- --font-system: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
- Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
+ --font-system:
+ system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
+ 'Open Sans', 'Helvetica Neue', sans-serif;
--font-body: 'Public Sans', var(--font-system);
--font-brand: Rubik, var(--font-system);
@@ -107,11 +111,14 @@
);
--gradient-stroke: linear-gradient(180deg, var(--gray-600), var(--gray-800));
- --shadow-sm: 0px 6px 3px rgba(255, 255, 255, 0.01), 0px 4px 2px rgba(255, 255, 255, 0.01),
+ --shadow-sm:
+ 0px 6px 3px rgba(255, 255, 255, 0.01), 0px 4px 2px rgba(255, 255, 255, 0.01),
0px 2px 2px rgba(255, 255, 255, 0.02), 0px 0px 1px rgba(255, 255, 255, 0.03);
- --shadow-md: 0px 28px 11px rgba(255, 255, 255, 0.01), 0px 16px 10px rgba(255, 255, 255, 0.03),
+ --shadow-md:
+ 0px 28px 11px rgba(255, 255, 255, 0.01), 0px 16px 10px rgba(255, 255, 255, 0.03),
0px 7px 7px rgba(255, 255, 255, 0.05), 0px 2px 4px rgba(255, 255, 255, 0.06);
- --shadow-lg: 0px 62px 25px rgba(255, 255, 255, 0.01), 0px 35px 21px rgba(255, 255, 255, 0.05),
+ --shadow-lg:
+ 0px 62px 25px rgba(255, 255, 255, 0.01), 0px 35px 21px rgba(255, 255, 255, 0.05),
0px 16px 16px rgba(255, 255, 255, 0.1), 0px 4px 9px rgba(255, 255, 255, 0.12);
}
diff --git a/packages/astro/components/Debug.astro b/packages/astro/components/Debug.astro
index b21919733..51549993a 100644
--- a/packages/astro/components/Debug.astro
+++ b/packages/astro/components/Debug.astro
@@ -21,8 +21,9 @@ const value = Astro.props[key];
font-size: 14px;
padding: 1rem 1.5rem;
background: white;
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
- 'Open Sans', 'Helvetica Neue', sans-serif;
+ font-family:
+ -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
+ 'Helvetica Neue', sans-serif;
}
.astro-debug-header,