1- import { defineConfig , definePreset , presetIcons , presetWind3 } from 'unocss' ;
1+ import {
2+ defineConfig ,
3+ definePreset ,
4+ presetIcons ,
5+ presetWind3 ,
6+ transformerDirectives ,
7+ } from 'unocss' ;
28
39const remRE = / ( - ? [ . \d ] + ) r e m / g;
410
@@ -26,14 +32,14 @@ export default defineConfig({
2632 } ,
2733 background : 'var(--halo-cw-background-color, transparent)' ,
2834 text : {
29- 1 : 'var(--halo-cw-text-1-color, #111827 )' ,
30- 2 : 'var(--halo-cw-text-2-color, #374151 )' ,
31- 3 : 'var(--halo-cw-text-3-color, #6B7280 )' ,
35+ 1 : 'var(--halo-cw-text-1-color, #0f172a )' ,
36+ 2 : 'var(--halo-cw-text-2-color, #1e293b )' ,
37+ 3 : 'var(--halo-cw-text-3-color, #334155 )' ,
3238 } ,
3339 muted : {
34- 1 : 'var(--halo-cw-muted-1-color, #D1D5DB )' ,
35- 2 : 'var(--halo-cw-muted-2-color, #E5E7EB )' ,
36- 3 : 'var(--halo-cw-muted-3-color, #F3F4F6 )' ,
40+ 1 : 'var(--halo-cw-muted-1-color, #cbd5e1 )' ,
41+ 2 : 'var(--halo-cw-muted-2-color, #e2e8f0 )' ,
42+ 3 : 'var(--halo-cw-muted-3-color, #f1f5f9 )' ,
3743 } ,
3844 } ,
3945 } ,
@@ -50,4 +56,5 @@ export default defineConfig({
5056 avatar :
5157 'rounded-full size-9 overflow-hidden inline-flex items-center justify-center bg-muted-2' ,
5258 } ,
59+ transformers : [ transformerDirectives ( ) ] ,
5360} ) ;
0 commit comments