1- import { presetUno , presetIcons , presetTypography , presetWebFonts } from 'unocss'
1+ import { presetUno , presetIcons , presetTypography , presetWebFonts , transformerDirectives } from 'unocss'
22import svgLoader from 'vite-svg-loader'
33
44// https://nuxt.com/docs/api/configuration/nuxt-config
55export default defineNuxtConfig ( {
66 app : {
77 head : {
8- title : 'TresJS Playground ' ,
8+ title : 'TresJS Lab ' ,
99 link : [
1010 {
1111 rel : 'icon' ,
1212 type : 'image/svg' ,
13- href : '/favicon .svg' ,
13+ href : '/flask .svg' ,
1414 } ,
1515 ] ,
1616 } ,
@@ -24,7 +24,7 @@ export default defineNuxtConfig({
2424 '@nuxt/image' ,
2525 '@nuxt/devtools' ,
2626 ] ,
27- css : [ '@unocss/reset/tailwind-compat.css' , '@tresjs/leches/styles' ] ,
27+ css : [ '/styles/main.css' , ' @unocss/reset/tailwind-compat.css', '@tresjs/leches/styles' ] ,
2828 declare : [ '*.glsl' ] ,
2929 tres : {
3030 devtools : true ,
@@ -67,7 +67,7 @@ export default defineNuxtConfig({
6767 'border-radius' : '0.5rem' ,
6868 } ,
6969 code : {
70- 'font-family' : 'DM Mono' ,
70+ 'font-family' : 'JetBrains Mono' ,
7171 'font-size' : '0.875rem' ,
7272 } ,
7373 /* code: {
@@ -88,16 +88,18 @@ export default defineNuxtConfig({
8888 } ) ,
8989 presetWebFonts ( {
9090 fonts : {
91- sans : 'DM Sans' ,
92- serif : 'DM Serif Display' ,
93- mono : 'DM Mono' ,
91+ sans : 'Inter' ,
92+ mono : 'JetBrains Mono' ,
9493 title : 'Sacramento' ,
9594 } ,
9695 } ) ,
9796 ] ,
9897 // core options
9998 shortcuts : [ ] ,
10099 rules : [ ] ,
100+ transformers : [
101+ transformerDirectives ( ) ,
102+ ] ,
101103 } ,
102104 content : {
103105 highlight : {
0 commit comments