Skip to content

Commit

Permalink
feat(font): allow font config ; cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahul committed Jan 6, 2023
1 parent dcb4cbd commit 056ebe4
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .docs/content/1.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: About

::hero
---
image: '/alpine.png'
image: '/alpine-0.png'
---
#title
Hi, I am Alpine.
Expand All @@ -24,8 +24,8 @@ Pellentesque congue. Ut in risus volutpat libero pharetra tempor. Cras vestibulu
::gallery
---
images:
- /alpine-0.png
- /alpine-1.png
- /alpine-2.png
- /alpine.png
- /alpine-3.png
---
::
File renamed without changes
Binary file added .docs/public/alpine-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .docs/public/alpine-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed .docs/public/alpine-3.png
Binary file not shown.
3 changes: 3 additions & 0 deletions .docs/tokens.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { defineTheme } from 'pinceau'

export default defineTheme({
font: {
sans: 'Supreme'
}
})
18 changes: 9 additions & 9 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ export default defineAppConfig({
height: 300
},
header: {
position: 'right', // possible value are : | 'left' | 'center' | 'right'
position: 'right',
logo: {
path: '/logo.svg', // path of the logo
pathDark: '/logo-dark.svg', // path of the logo in dark mode, leave this empty if you want to use the same logo
alt: 'alpine' // alt of the logo
path: '/logo.svg',
pathDark: '/logo-dark.svg',
alt: 'alpine'
}
},
footer: {
credits: {
enabled: true, // possible value are : true | false
repository: 'https://www.github.com/nuxt-themes/alpine' // our github repository
enabled: true,
repository: 'https://www.github.com/nuxt-themes/alpine'
},
navigation: true, // possible value are : true | false
alignment: 'center', // possible value are : 'none' | 'left' | 'center' | 'right'
message: 'Follow me on' // string that will be displayed in the footer (leave empty or delete to disable)
navigation: true,
alignment: 'center',
message: 'Follow me on'
},
socials: {
twitter: 'nuxtlabs',
Expand Down
4 changes: 2 additions & 2 deletions app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

<style>
html {
font-family: Supreme;
font-family: $dt('font.sans');
}
</style>
</style>

1 comment on commit 056ebe4

@vercel
Copy link

@vercel vercel bot commented on 056ebe4 Jan 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.