Skip to content

Commit 056ebe4

Browse files
committed
feat(font): allow font config ; cleanup
1 parent dcb4cbd commit 056ebe4

8 files changed

Lines changed: 17 additions & 14 deletions

File tree

.docs/content/1.index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: About
77

88
::hero
99
---
10-
image: '/alpine.png'
10+
image: '/alpine-0.png'
1111
---
1212
#title
1313
Hi, I am Alpine.
@@ -24,8 +24,8 @@ Pellentesque congue. Ut in risus volutpat libero pharetra tempor. Cras vestibulu
2424
::gallery
2525
---
2626
images:
27+
- /alpine-0.png
28+
- /alpine-1.png
2729
- /alpine-2.png
28-
- /alpine.png
29-
- /alpine-3.png
3030
---
3131
::

.docs/public/alpine-1.png

1.04 MB
Loading

.docs/public/alpine-2.png

89.1 KB
Loading

.docs/public/alpine-3.png

-1.13 MB
Binary file not shown.

.docs/tokens.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
import { defineTheme } from 'pinceau'
22

33
export default defineTheme({
4+
font: {
5+
sans: 'Supreme'
6+
}
47
})

app.config.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ export default defineAppConfig({
99
height: 300
1010
},
1111
header: {
12-
position: 'right', // possible value are : | 'left' | 'center' | 'right'
12+
position: 'right',
1313
logo: {
14-
path: '/logo.svg', // path of the logo
15-
pathDark: '/logo-dark.svg', // path of the logo in dark mode, leave this empty if you want to use the same logo
16-
alt: 'alpine' // alt of the logo
14+
path: '/logo.svg',
15+
pathDark: '/logo-dark.svg',
16+
alt: 'alpine'
1717
}
1818
},
1919
footer: {
2020
credits: {
21-
enabled: true, // possible value are : true | false
22-
repository: 'https://www.github.com/nuxt-themes/alpine' // our github repository
21+
enabled: true,
22+
repository: 'https://www.github.com/nuxt-themes/alpine'
2323
},
24-
navigation: true, // possible value are : true | false
25-
alignment: 'center', // possible value are : 'none' | 'left' | 'center' | 'right'
26-
message: 'Follow me on' // string that will be displayed in the footer (leave empty or delete to disable)
24+
navigation: true,
25+
alignment: 'center',
26+
message: 'Follow me on'
2727
},
2828
socials: {
2929
twitter: 'nuxtlabs',

app.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66

77
<style>
88
html {
9-
font-family: Supreme;
9+
font-family: $dt('font.sans');
1010
}
11-
</style>
11+
</style>

0 commit comments

Comments
 (0)