Skip to content

Commit 7c4ccd5

Browse files
committed
OKAY JACKSON
1 parent 895726f commit 7c4ccd5

File tree

5 files changed

+17
-104
lines changed

5 files changed

+17
-104
lines changed

packages/preset-dark/src/index.ts

Lines changed: 5 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export default {
107107
my: 4,
108108
borderCollapse: 'separate',
109109
borderSpacing: 0,
110-
[['th', 'td'].toString()]: {
110+
'th,td': {
111111
textAlign: 'left',
112112
py: '4px',
113113
pr: '4px',
@@ -134,48 +134,19 @@ export default {
134134
},
135135
},
136136
prism: {
137-
[[
138-
'.comment',
139-
'.prolog',
140-
'.doctype',
141-
'.cdata',
142-
'.punctuation',
143-
'.operator',
144-
'.entity',
145-
'.url',
146-
].toString()]: {
137+
'.comment,.prolog,.doctype,.cdata,.punctuation,.operator,.entity,.url': {
147138
color: 'gray',
148139
},
149140
'.comment': {
150141
fontStyle: 'italic',
151142
},
152-
[[
153-
'.property',
154-
'.tag',
155-
'.boolean',
156-
'.number',
157-
'.constant',
158-
'.symbol',
159-
'.deleted',
160-
'.function',
161-
'.class-name',
162-
'.regex',
163-
'.important',
164-
'.variable',
165-
].toString()]: {
143+
'.property,.tag,.boolean,.number,.constant,.symbol,.deleted,.function,.class-name,.regex,.important,.variable': {
166144
color: 'purple',
167145
},
168-
[['.atrule', '.attr-value', '.keyword'].toString()]: {
146+
'.atrule,.attr-value,.keyword': {
169147
color: 'primary',
170148
},
171-
[[
172-
'.selector',
173-
'.attr-name',
174-
'.string',
175-
'.char',
176-
'.builtin',
177-
'.inserted',
178-
].toString()]: {
149+
'.selector,.attr-name,.string,.char,.builtin,.inserted': {
179150
color: 'secondary',
180151
},
181152
},

packages/preset-deep/src/index.ts

Lines changed: 5 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export default {
107107
my: 4,
108108
borderCollapse: 'separate',
109109
borderSpacing: 0,
110-
[['th', 'td'].toString()]: {
110+
'th,td': {
111111
textAlign: 'left',
112112
py: '4px',
113113
pr: '4px',
@@ -134,48 +134,19 @@ export default {
134134
},
135135
},
136136
prism: {
137-
[[
138-
'.comment',
139-
'.prolog',
140-
'.doctype',
141-
'.cdata',
142-
'.punctuation',
143-
'.operator',
144-
'.entity',
145-
'.url',
146-
].toString()]: {
137+
'.comment,.prolog,.doctype,.cdata,.punctuation,.operator,.entity,.url': {
147138
color: 'gray',
148139
},
149140
'.comment': {
150141
fontStyle: 'italic',
151142
},
152-
[[
153-
'.property',
154-
'.tag',
155-
'.boolean',
156-
'.number',
157-
'.constant',
158-
'.symbol',
159-
'.deleted',
160-
'.function',
161-
'.class-name',
162-
'.regex',
163-
'.important',
164-
'.variable',
165-
].toString()]: {
143+
'.property,.tag,.boolean,.number,.constant,.symbol,.deleted,.function,.class-name,.regex,.important,.variable': {
166144
color: 'purple',
167145
},
168-
[['.atrule', '.attr-value', '.keyword'].toString()]: {
146+
'.atrule,.attr-value,.keyword': {
169147
color: 'primary',
170148
},
171-
[[
172-
'.selector',
173-
'.attr-name',
174-
'.string',
175-
'.char',
176-
'.builtin',
177-
'.inserted',
178-
].toString()]: {
149+
'.selector,.attr-name,.string,.char,.bultin,.inserted': {
179150
color: 'secondary',
180151
},
181152
},

packages/preset-swiss/src/index.ts

Lines changed: 5 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export default {
107107
my: 4,
108108
borderCollapse: 'separate',
109109
borderSpacing: 0,
110-
[['th', 'td'].toString()]: {
110+
'th,td': {
111111
textAlign: 'left',
112112
py: '4px',
113113
pr: '4px',
@@ -134,48 +134,19 @@ export default {
134134
},
135135
},
136136
prism: {
137-
[[
138-
'.comment',
139-
'.prolog',
140-
'.doctype',
141-
'.cdata',
142-
'.punctuation',
143-
'.operator',
144-
'.entity',
145-
'.url',
146-
].toString()]: {
137+
'.comment,.prolog,.doctype,.cdata,.punctuation,.operator,.entity,.url': {
147138
color: 'gray',
148139
},
149140
'.comment': {
150141
fontStyle: 'italic',
151142
},
152-
[[
153-
'.property',
154-
'.tag',
155-
'.boolean',
156-
'.number',
157-
'.constant',
158-
'.symbol',
159-
'.deleted',
160-
'.function',
161-
'.class-name',
162-
'.regex',
163-
'.important',
164-
'.variable',
165-
].toString()]: {
143+
'.property,.tag,.boolean,.number,.constant,.symbol,.deleted,.function,.class-name,.regex,.important,.variable': {
166144
color: 'purple',
167145
},
168-
[['.atrule', '.attr-value', '.keyword'].toString()]: {
146+
'.atrule,.attr-value,.keyword': {
169147
color: 'primary',
170148
},
171-
[[
172-
'.selector',
173-
'.attr-name',
174-
'.string',
175-
'.char',
176-
'.builtin',
177-
'.inserted',
178-
].toString()]: {
149+
'.selector,.attr-name,.string,.char,.builtin,.inserted': {
179150
color: 'secondary',
180151
},
181152
},

packages/preset-system/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export default {
139139
my: 4,
140140
borderCollapse: 'separate',
141141
borderSpacing: 0,
142-
[['th', 'td'].toString()]: {
142+
'th,td': {
143143
textAlign: 'left',
144144
py: '4px',
145145
pr: '4px',

packages/preset-tosh/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export default {
131131
my: 4,
132132
borderCollapse: 'separate',
133133
borderSpacing: 0,
134-
[['th', 'td'].toString()]: {
134+
'th,td': {
135135
textAlign: 'left',
136136
py: '4px',
137137
pr: '4px',

0 commit comments

Comments
 (0)