diff options
author | 2022-03-09 21:52:31 +0000 | |
---|---|---|
committer | 2022-03-09 13:52:31 -0800 | |
commit | 4b53a53c1b7df094b5bd194955ff1c4cf7cc809f (patch) | |
tree | 250c7cda1161b9874ace9bcc999f1cf97c0b7740 /examples/docs/src | |
parent | 43a5c06a9379fbe5f8f66e8fc9bf6879ad9b1dbf (diff) | |
download | astro-4b53a53c1b7df094b5bd194955ff1c4cf7cc809f.tar.gz astro-4b53a53c1b7df094b5bd194955ff1c4cf7cc809f.tar.zst astro-4b53a53c1b7df094b5bd194955ff1c4cf7cc809f.zip |
Update examples for 0.24.0 (#2740)
* removing Astro.resolve, adding sass dev dependencies
* updating tailwind example to use ESM style imports
* moving from `<style global>@import` to ESM imports
* updating lockfile to pick up examples sass deps
* chore(lint): ESLint fix
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'examples/docs/src')
-rw-r--r-- | examples/docs/src/components/HeadCommon.astro | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/examples/docs/src/components/HeadCommon.astro b/examples/docs/src/components/HeadCommon.astro index 2902da5a3..4906aaf7f 100644 --- a/examples/docs/src/components/HeadCommon.astro +++ b/examples/docs/src/components/HeadCommon.astro @@ -1,3 +1,9 @@ +--- +import '../styles/theme.css'; +import '../styles/code.css'; +import '../styles/index.css'; +--- + <!-- Global Metadata --> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width" /> @@ -7,13 +13,6 @@ <link rel="sitemap" href="/sitemap.xml" /> -<!-- Global CSS --> -<style global> - @import "../styles/theme.css"; - @import "../styles/code.css"; - @import "../styles/index.css"; -</style> - <!-- Preload Fonts --> <link rel="preconnect" href="https://fonts.googleapis.com" /> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> |