diff options
author | 2022-07-12 16:20:08 +0000 | |
---|---|---|
committer | 2022-07-12 16:20:08 +0000 | |
commit | 0751be81e50f1867dd773731070e7301d5adc54b (patch) | |
tree | 8208f415a834c840a8ffd4e66d352af3924f1b80 | |
parent | ba67a924cab9a99b358cd9d730b9f618f4db5a7e (diff) | |
download | astro-0751be81e50f1867dd773731070e7301d5adc54b.tar.gz astro-0751be81e50f1867dd773731070e7301d5adc54b.tar.zst astro-0751be81e50f1867dd773731070e7301d5adc54b.zip |
[ci] formatastro@1.0.0-beta.69@astrojs/vue@0.3.1@astrojs/vercel@0.2.6@astrojs/telemetry@0.3.1@astrojs/tailwind@0.2.4@astrojs/svelte@0.3.1@astrojs/solid-js@0.3.1@astrojs/sitemap@0.2.6@astrojs/react@0.3.1@astrojs/prefetch@0.0.5@astrojs/preact@0.4.1@astrojs/partytown@0.1.8@astrojs/node@0.1.6@astrojs/netlify@0.4.10@astrojs/mdx@0.1.1@astrojs/markdown-remark@0.11.5@astrojs/image@0.1.2@astrojs/deno@0.1.10@astrojs/cloudflare@0.2.4
-rw-r--r-- | examples/blog/astro.config.mjs | 4 | ||||
-rw-r--r-- | examples/blog/src/components/LikeButton.tsx | 4 | ||||
-rw-r--r-- | examples/blog/src/styles/blog.css | 10 |
3 files changed, 9 insertions, 9 deletions
diff --git a/examples/blog/astro.config.mjs b/examples/blog/astro.config.mjs index e514e8de2..08916b1fe 100644 --- a/examples/blog/astro.config.mjs +++ b/examples/blog/astro.config.mjs @@ -1,5 +1,5 @@ -import { defineConfig } from "astro/config"; -import preact from "@astrojs/preact"; +import { defineConfig } from 'astro/config'; +import preact from '@astrojs/preact'; // https://astro.build/config export default defineConfig({ diff --git a/examples/blog/src/components/LikeButton.tsx b/examples/blog/src/components/LikeButton.tsx index d477cee1e..23d8518de 100644 --- a/examples/blog/src/components/LikeButton.tsx +++ b/examples/blog/src/components/LikeButton.tsx @@ -1,4 +1,4 @@ -import { useState } from "preact/hooks"; +import { useState } from 'preact/hooks'; interface Props { pageUrl: string; @@ -26,7 +26,7 @@ export default function LikeButton({ pageUrl }: Props) { > {/* fill the heart when liked ♥ */} <path - fill={liked ? "red" : "#ccc"} + fill={liked ? 'red' : '#ccc'} d="m12 21.35l-1.45-1.32C5.4 15.36 2 12.27 2 8.5C2 5.41 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.08C13.09 3.81 14.76 3 16.5 3C19.58 3 22 5.41 22 8.5c0 3.77-3.4 6.86-8.55 11.53L12 21.35Z" ></path> </svg> diff --git a/examples/blog/src/styles/blog.css b/examples/blog/src/styles/blog.css index b32295a40..2f338fd6a 100644 --- a/examples/blog/src/styles/blog.css +++ b/examples/blog/src/styles/blog.css @@ -1,10 +1,10 @@ :root { --font-fallback: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji; - --font-body: "IBM Plex Sans", var(--font-fallback); - --font-mono: "IBM Plex 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; + --font-body: 'IBM Plex Sans', var(--font-fallback); + --font-mono: 'IBM Plex 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-white: #fff; --color-black: #000014; @@ -174,7 +174,7 @@ a > code { } a > code::before { - content: ""; + content: ''; position: absolute; top: 0; right: 0; |