[ci] format
This commit is contained in:
parent
ba67a924ca
commit
0751be81e5
3 changed files with 9 additions and 9 deletions
|
@ -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({
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue