docs: styles 진입점 두 파일의 주석 제거
두 파일의 안내 주석이 `.module.scss`를 전제하고 있었는데, 컴포넌트 스타일이 전역 BEM으로 바뀌면서 그 설명이 더는 맞지 않는다. 사용법은 @fox/README.md가 갖고 있다. Co-Authored-By: Claude Opus 5
@bda973b3d95673300b2a298f7a7344da109ed36b
--- @fox/styles/abstracts.scss
+++ @fox/styles/abstracts.scss
... | ... | @@ -1,17 +1,3 @@ |
| 1 |
-// 저작(authoring) 진입점 — 컴포넌트의 `.module.scss`가 `@use`하는 파일. |
|
| 2 |
-// |
|
| 3 |
-// @use "@fox/styles/abstracts" as fox; |
|
| 4 |
-// |
|
| 5 |
-// .button {
|
|
| 6 |
-// padding: fox.padding(5) fox.padding(7); |
|
| 7 |
-// background: fox.color(button-primary-surface); |
|
| 8 |
-// border-radius: fox.radius(3); |
|
| 9 |
-// font-size: fox.font-size(label-md); |
|
| 10 |
-// } |
|
| 11 |
-// |
|
| 12 |
-// ⚠️ **이 파일은 CSS를 한 줄도 출력하지 않는다.** 함수·믹스인·map 정의만 있다. |
|
| 13 |
-// 실제 CSS 출력(토큰 선언)은 앱이 딱 한 번 import하는 `index.scss`가 전담한다. |
|
| 14 |
- |
|
| 15 | 1 |
@forward "tokens"; |
| 16 | 2 |
@forward "functions"; |
| 17 | 3 |
@forward "mixins"; |
--- @fox/styles/index.scss
+++ @fox/styles/index.scss
... | ... | @@ -1,10 +1,1 @@ |
| 1 |
-// 글로벌 스타일 진입점 — **호스트 앱이 딱 한 번 import한다.** |
|
| 2 |
-// |
|
| 3 |
-// // app/globals.scss |
|
| 4 |
-// @use "@fox/styles"; |
|
| 5 |
-// |
|
| 6 |
-// 여기서만 CSS가 출력된다. 컴포넌트의 `.module.scss`는 이 파일이 아니라 |
|
| 7 |
-// `abstracts.scss`를 `@use`해야 한다 — 그쪽은 CSS 출력이 0이라 몇 번을 참조해도 |
|
| 8 |
-// 중복이 생기지 않는다. |
|
| 9 |
- |
|
| 10 | 1 |
@use "root"; |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?