Skip to content

Commit

Permalink
Merge pull request #19 from Justineo/patch-1
Browse files Browse the repository at this point in the history
feat: improve tempad dev plugin
  • Loading branch information
zouhangwithsweet authored Nov 12, 2024
2 parents a0c0655 + 69a8e81 commit 39bd42a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions plugin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import { definePlugin } from '@tempad-dev/plugins'
import { transformToAtomic } from '../core/index'

export default definePlugin({
name: 'fubukicss',
name: '@fubukicss/unocss',
code: {
css: {
title: 'unocss',
lang: 'rust' as 'css',
transform({ style }) {
return transformToAtomic(style, { engine: 'unocss', isRem: true, prefix: '' }).uno
title: 'UnoCSS',
lang: 'text' as 'css',
transform({ style, options: { useRem } }) {
return transformToAtomic(style, { engine: 'unocss', isRem: useRem, prefix: '' }).uno
},
},
js: false,
Expand Down

0 comments on commit 39bd42a

Please sign in to comment.