From 9c2692050a1d3d413dd6d12f9a0f7d83f73c65c2 Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 18 Oct 2024 18:19:49 +0800 Subject: [PATCH] chore: playground apply --- playground/uno.config.ts | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/playground/uno.config.ts b/playground/uno.config.ts index 1f83b65..cd9f14d 100644 --- a/playground/uno.config.ts +++ b/playground/uno.config.ts @@ -1,18 +1,13 @@ -import { defineConfig } from 'unocss' -import { presetUseful } from 'unocss-preset-useful' +import { defineUsefulConfig } from 'unocss-preset-useful' -export default defineConfig({ - presets: [ - presetUseful({ - typography: true, - enableMagicAnimations: true, - webFonts: { - fonts: { - dm: 'DM Sans', - mono: 'Fira Code', - roboto: 'Roboto Condensed', - }, - }, - }), - ], +export default defineUsefulConfig({ + typography: true, + enableMagicAnimations: true, + webFonts: { + fonts: { + dm: 'DM Sans', + mono: 'Fira Code', + roboto: 'Roboto Condensed', + }, + }, })