Skip to content

Commit 6db6187

Browse files
committed
chore(#101): 브라우저 기본 스타일 초기화
1 parent 1bb3970 commit 6db6187

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/styles/reset.css.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ globalStyle("button", {
6464
WebkitAppearance: "none",
6565
MozAppearance: "none",
6666
appearance: "none",
67+
color: "inherit",
68+
font: "inherit",
69+
WebkitTapHighlightColor: "transparent",
6770
},
6871
},
6972
});
@@ -73,6 +76,7 @@ globalStyle("a", {
7376
[reset]: {
7477
textDecoration: "none",
7578
color: "inherit",
79+
WebkitTapHighlightColor: "transparent",
7680
},
7781
},
7882
});
@@ -144,3 +148,13 @@ globalStyle("hr", {
144148
},
145149
},
146150
});
151+
152+
globalStyle("input, select, textarea", {
153+
"@layer": {
154+
[reset]: {
155+
color: "inherit",
156+
font: "inherit",
157+
WebkitTapHighlightColor: "transparent",
158+
},
159+
},
160+
});

0 commit comments

Comments
 (0)