generated from onwidget/astrowind
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #202 from GrantBirki/source-sync
source sync
- Loading branch information
Showing
36 changed files
with
552 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ node_modules | |
.github | ||
.changeset | ||
.cache/image/cache.json | ||
astrowind-template-in-depth.mdx |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
import '@fontsource-variable/inter'; | ||
// 'DM Sans' | ||
// Nunito | ||
// Dosis | ||
// Outfit | ||
// Roboto | ||
// Literata | ||
// 'IBM Plex Sans' | ||
// Karla | ||
// Poppins | ||
// 'Fira Sans' | ||
// 'Libre Franklin' | ||
// Inconsolata | ||
// Raleway | ||
// Oswald | ||
// 'Space Grotesk' | ||
// Urbanist | ||
--- | ||
|
||
<style is:inline is:global> | ||
:root { | ||
--aw-font-sans: 'Inter Variable'; | ||
--aw-font-serif: var(--aw-font-sans); | ||
--aw-font-heading: var(--aw-font-sans); | ||
|
||
--aw-color-primary: rgb(30 64 175); | ||
--aw-color-secondary: rgb(30 58 138); | ||
--aw-color-accent: rgb(109 40 217); | ||
--aw-color-text-page: rgb(17 24 39); | ||
--aw-color-text-muted: rgb(75 85 99); | ||
--aw-color-bg-page: rgb(255 255 255); | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,54 @@ | ||
--- | ||
import '@fontsource/inter/variable.css'; | ||
import '@fontsource-variable/inter'; | ||
// 'DM Sans' | ||
// Nunito | ||
// Dosis | ||
// Outfit | ||
// Roboto | ||
// Literata | ||
// 'IBM Plex Sans' | ||
// Karla | ||
// Poppins | ||
// 'Fira Sans' | ||
// 'Libre Franklin' | ||
// Inconsolata | ||
// Raleway | ||
// Oswald | ||
// 'Space Grotesk' | ||
// Urbanist | ||
--- | ||
|
||
<style is:inline is:global> | ||
:root { | ||
--aw-font-sans: 'InterVariable'; | ||
--aw-font-sans: 'Inter Variable'; | ||
--aw-font-serif: var(--aw-font-sans); | ||
--aw-font-heading: var(--aw-font-sans); | ||
|
||
--aw-color-primary: rgb(59 130 246); | ||
--aw-color-primary: rgb(30 64 175); | ||
--aw-color-secondary: rgb(30 58 138); | ||
--aw-color-accent: rgb(109 40 217); | ||
--aw-color-text-page: rgb(17 24 39); | ||
--aw-color-text-muted: rgb(75 85 99); | ||
|
||
--aw-color-text-heading: rgb(0 0 0); | ||
--aw-color-text-default: rgb(16 16 16); | ||
--aw-color-text-muted: rgb(16 16 16 / 66%); | ||
--aw-color-bg-page: rgb(255 255 255); | ||
|
||
--aw-color-bg-page-dark: rgb(3 6 32); | ||
} | ||
|
||
.dark { | ||
--aw-font-sans: 'Inter Variable'; | ||
--aw-font-serif: var(--aw-font-sans); | ||
--aw-font-heading: var(--aw-font-sans); | ||
|
||
--aw-color-primary: rgb(30 64 175); | ||
--aw-color-secondary: rgb(30 58 138); | ||
--aw-color-accent: rgb(109 40 217); | ||
|
||
--aw-color-text-heading: rgb(0 0 0); | ||
--aw-color-text-default: rgb(229 236 246); | ||
--aw-color-text-muted: rgb(229 236 246 / 66%); | ||
--aw-color-bg-page: var(--aw-color-bg-page-dark); | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
import favIcon from '~/assets/favicons/favicon.ico'; | ||
import favIconSvg from '~/assets/favicons/favicon.svg'; | ||
--- | ||
|
||
<link rel="shortcut icon" href={favIcon} /> | ||
<link rel="icon" type="image/svg+xml" href={favIcon} /> | ||
<link rel="mask-icon" href={String(favIconSvg)} color="#8D46E7" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
// component: DListItem | ||
// | ||
// Mimics the html 'dl' (description list) | ||
// | ||
// The 'dt' item is the item 'term' and is inserted into an 'h6' tag. | ||
// Caller needs to style the 'h6' tag appropriately. | ||
// | ||
// You can put pretty much any content you want between the open and | ||
// closing tags - it's simply contained in an enclosing div with a | ||
// margin left. No need for 'dd' items. | ||
// | ||
const { | ||
dt | ||
} = Astro.props; | ||
interface Props { | ||
dt:string | ||
} | ||
const content:string = await Astro.slots.render('default'); | ||
--- | ||
<h6 set:html={dt}></h6> | ||
<div class="dd ml-8" set:html={content}/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.