diff options
author | 2021-07-20 04:07:49 +0000 | |
---|---|---|
committer | 2021-07-20 04:07:49 +0000 | |
commit | 50f82e1a53ec5329990ee66fe62adba3fcbcb9e6 (patch) | |
tree | bee01a458fe44e48a396abcd51f912f09d295f55 /docs | |
parent | 07e533402e234d31b7cf9741bf2d08c32eda88c0 (diff) | |
download | astro-50f82e1a53ec5329990ee66fe62adba3fcbcb9e6.tar.gz astro-50f82e1a53ec5329990ee66fe62adba3fcbcb9e6.tar.zst astro-50f82e1a53ec5329990ee66fe62adba3fcbcb9e6.zip |
[ci] yarn format
Diffstat (limited to 'docs')
-rw-r--r-- | docs/.prettierrc | 12 | ||||
-rw-r--r-- | docs/public/code.css | 44 | ||||
-rw-r--r-- | docs/public/theme.css | 15 | ||||
-rw-r--r-- | docs/snowpack.config.mjs | 2 |
4 files changed, 40 insertions, 33 deletions
diff --git a/docs/.prettierrc b/docs/.prettierrc index 945f3a139..c3a4e0672 100644 --- a/docs/.prettierrc +++ b/docs/.prettierrc @@ -1,7 +1,7 @@ { - "singleQuote": true, - "tabWidth": 2, - "endOfLine": "auto", - "trailingComma": "es5", - "printWidth": 80 -}
\ No newline at end of file + "singleQuote": true, + "tabWidth": 2, + "endOfLine": "auto", + "trailingComma": "es5", + "printWidth": 80 +} diff --git a/docs/public/code.css b/docs/public/code.css index 58a631e57..44400633e 100644 --- a/docs/public/code.css +++ b/docs/public/code.css @@ -1,28 +1,28 @@ .language-css > code, .language-sass > code, .language-scss > code { - color: #fd9170; + color: #fd9170; } -[class*="language-"] .namespace { - opacity: 0.7; +[class*='language-'] .namespace { + opacity: 0.7; } .token.plain-text, -[class*="language-bash"] span.token, -[class*="language-shell"] span.token { - color: var(--color-gray-200); +[class*='language-bash'] span.token, +[class*='language-shell'] span.token { + color: var(--color-gray-200); } -[class*="language-bash"] span.token, -[class*="language-shell"] span.token { - font-style: bold; +[class*='language-bash'] span.token, +[class*='language-shell'] span.token { + font-style: bold; } .token.prolog, .token.comment, -[class*="language-bash"] span.token.comment, -[class*="language-shell"] span.token.comment { +[class*='language-bash'] span.token.comment, +[class*='language-shell'] span.token.comment { color: var(--color-gray-400); } @@ -33,7 +33,7 @@ .token.variable, .token.entity, .token.deleted { - color: #FA5E5B; + color: #fa5e5b; } .token.boolean, @@ -46,7 +46,7 @@ .token.hexcode, .token.class-name, .token.attr-name { - color: var(--color-yellow); + color: var(--color-yellow); } .token.atrule, @@ -56,15 +56,14 @@ .token.pseudo-class, .token.pseudo-element, .token.string { - color: var(--color-green); + color: var(--color-green); } .token.symbol, .token.function, .token.id, -.token.important - { - color: var(--color-blue); +.token.important { + color: var(--color-blue); } .token.important, @@ -72,27 +71,26 @@ font-weight: bold; } - .token.cdata, .token.char, .token.property { - color: #23B1AF; + color: #23b1af; } .token.inserted { - color: var(--color-green); + color: var(--color-green); } .token.keyword { - color: #FF657C; + color: #ff657c; font-style: italic; } .token.operator { - color: var(--color-gray-300); + color: var(--color-gray-300); } .token.attr-value .token.attr-equals, .token.punctuation { - color: var(--color-gray-200); + color: var(--color-gray-200); } diff --git a/docs/public/theme.css b/docs/public/theme.css index a16745daf..c7470b4f0 100644 --- a/docs/public/theme.css +++ b/docs/public/theme.css @@ -2,7 +2,10 @@ --font-fallback: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji; --font-body: system-ui, 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-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; @@ -56,7 +59,10 @@ --theme-navbar-height: 3.5rem; --theme-sidebar-offset: var(--theme-navbar-height); --theme-selection-color: var(--color-orange); - --theme-selection-bg: rgba(var(--color-orange-rgb), var(--theme-accent-opacity)); + --theme-selection-bg: rgba( + var(--color-orange-rgb), + var(--theme-accent-opacity) + ); } body { @@ -87,7 +93,10 @@ body { --theme-code-text: var(--color-white); --theme-navbar-bg: var(--color-gray-900); --theme-selection-color: var(--color-white); - --theme-selection-bg: rgba(var(--color-purple-rgb), var(--theme-accent-opacity)); + --theme-selection-bg: rgba( + var(--color-purple-rgb), + var(--theme-accent-opacity) + ); } ::selection { diff --git a/docs/snowpack.config.mjs b/docs/snowpack.config.mjs index c68805894..d1ef58a5f 100644 --- a/docs/snowpack.config.mjs +++ b/docs/snowpack.config.mjs @@ -5,4 +5,4 @@ export default { }, plugins: ['@snowpack/plugin-dotenv'], workspaceRoot: '../', -};
\ No newline at end of file +}; |