Skip to content

Commit 1bf7619

Browse files
committed
chore: lint
1 parent c4367f9 commit 1bf7619

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

packages/headwind/src/config.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ export const defaultConfig: HeadwindConfig = {
99
watch: false,
1010
theme: {
1111
colors: {
12-
black: '#000',
13-
white: '#fff',
14-
gray: {
12+
'black': '#000',
13+
'white': '#fff',
14+
'gray': {
1515
50: '#f9fafb',
1616
100: '#f3f4f6',
1717
200: '#e5e7eb',
@@ -35,7 +35,7 @@ export const defaultConfig: HeadwindConfig = {
3535
800: '#1e293b',
3636
900: '#0f172a',
3737
},
38-
sky: {
38+
'sky': {
3939
50: '#f0f9ff',
4040
100: '#e0f2fe',
4141
200: '#bae6fd',
@@ -47,7 +47,7 @@ export const defaultConfig: HeadwindConfig = {
4747
800: '#075985',
4848
900: '#0c4a6e',
4949
},
50-
cyan: {
50+
'cyan': {
5151
50: '#ecfeff',
5252
100: '#cffafe',
5353
200: '#a5f3fc',
@@ -59,17 +59,17 @@ export const defaultConfig: HeadwindConfig = {
5959
800: '#155e75',
6060
900: '#164e63',
6161
},
62-
red: {
62+
'red': {
6363
500: '#ef4444',
6464
700: '#b91c1c',
6565
},
66-
blue: {
66+
'blue': {
6767
500: '#3b82f6',
6868
},
69-
green: {
69+
'green': {
7070
500: '#22c55e',
7171
},
72-
yellow: {
72+
'yellow': {
7373
100: '#fef9c3',
7474
},
7575
},

packages/headwind/src/rules-interactivity.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -414,26 +414,26 @@ export const strokeWidthRule: UtilityRule = (parsed) => {
414414
export const screenReaderRule: UtilityRule = (parsed) => {
415415
if (parsed.raw === 'sr-only') {
416416
return {
417-
position: 'absolute',
418-
width: '1px',
419-
height: '1px',
420-
padding: '0',
421-
margin: '-1px',
422-
overflow: 'hidden',
423-
clip: 'rect(0, 0, 0, 0)',
417+
'position': 'absolute',
418+
'width': '1px',
419+
'height': '1px',
420+
'padding': '0',
421+
'margin': '-1px',
422+
'overflow': 'hidden',
423+
'clip': 'rect(0, 0, 0, 0)',
424424
'white-space': 'nowrap',
425425
'border-width': '0',
426426
} as Record<string, string>
427427
}
428428
if (parsed.raw === 'not-sr-only') {
429429
return {
430-
position: 'static',
431-
width: 'auto',
432-
height: 'auto',
433-
padding: '0',
434-
margin: '0',
435-
overflow: 'visible',
436-
clip: 'auto',
430+
'position': 'static',
431+
'width': 'auto',
432+
'height': 'auto',
433+
'padding': '0',
434+
'margin': '0',
435+
'overflow': 'visible',
436+
'clip': 'auto',
437437
'white-space': 'normal',
438438
} as Record<string, string>
439439
}

packages/headwind/test/colors.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ describe('Edge Cases', () => {
748748
...defaultConfig.theme,
749749
colors: {
750750
...defaultConfig.theme.colors,
751-
blue: {
751+
'blue': {
752752
500: '#3b82f6',
753753
},
754754
'blue-gray': {

0 commit comments

Comments
 (0)