This repository has been archived by the owner on Apr 24, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
utilities.js
85 lines (85 loc) · 1.65 KB
/
utilities.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
export default [
{
key: 'divide',
themeKey: 'divideColor',
property: ['border-color'],
selector: '& > :not([hidden]) ~ :not([hidden])',
},
{
key: 'bg',
themeKey: 'backgroundColor',
property: ['background-color'],
},
{
key: 'border',
themeKey: 'borderColor',
property: ['border-color'],
},
{
key: 'border-x',
themeKey: 'borderColor',
property: ['border-left-color', 'border-right-color'],
},
{
key: 'border-y',
themeKey: 'borderColor',
property: ['border-top-color', 'border-bottom-color'],
},
{
key: 'border-s',
themeKey: 'borderColor',
property: ['border-inline-start-color'],
},
{
key: 'border-e',
themeKey: 'borderColor',
property: ['border-inline-end-color'],
},
{
key: 'border-t',
themeKey: 'borderColor',
property: ['border-top-color'],
},
{
key: 'border-r',
themeKey: 'borderColor',
property: ['border-right-color'],
},
{
key: 'border-b',
themeKey: 'borderColor',
property: ['border-bottom-color'],
},
{
key: 'border-l',
themeKey: 'borderColor',
property: ['border-left-color'],
},
{
key: 'text',
themeKey: 'textColor',
property: ['color'],
},
{
key: 'placeholder',
themeKey: 'placeholderColor',
property: ['color'],
selector: '&::placeholder',
},
{
key: 'outline',
themeKey: 'outlineColor',
property: ['outline-color'],
},
{
key: 'ring',
themeKey: 'ringColor',
property: ['--tw-ring-color'],
selector: '&::placeholder',
},
{
key: 'ring-offset',
themeKey: 'ringOffsetColor',
property: ['--tw-ring-offset-color'],
},
];