feat(sw): use Dotum as the SW default font
- --hm-sw-header-font-family: Dotum, "돋움", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif (one token on the outermost SW scope; no font file, no per-component font-family). Web UI keeps Noto Sans KR. - Header drawing-mode cell keeps its Figma 90px width; padding 8px -> 4px because Dotum has no bold face and the synthesized 700 made "그리기모드" (77.8px) overflow the 74px content box.
This commit is contained in:
1 parent
454472d344
commit
633ea61c32
2 files changed
+8
-4
No files matched your search
@@ -1,6 +1,6 @@
|
||||
/* @hm-design/sw — SW Footer (Figma "레이아웃 분리" 26:10097 bottom bar, components 26:9459 … 26:10097, read
|
||||
through the Figma Plugin API 2026-10-20). Footer-only tokens. Text keeps the SW typography of sw.css
|
||||
(Noto Sans KR instead of Dotum, black OUTSIDE outline as 16 text-shadows, own-color 0.3 / 0.4px strokes removed
|
||||
(Dotum like Figma since 2026-10-20, black OUTSIDE outline as 16 text-shadows, own-color 0.3 / 0.4px strokes removed
|
||||
like the 2026-10-16 header fix). Never touches global selectors, SWHeader or SWPopup classes.
|
||||
Declared on the outermost SW scope only, like sw.css: the command line inside the bar inherits the tokens. */
|
||||
|
||||
|
||||
@@ -17,8 +17,10 @@
|
||||
--hm-sw-header-logo-width: 32px;
|
||||
--hm-sw-header-logo-height: 17px;
|
||||
|
||||
/* Typography (Figma Dotum is replaced by Noto Sans KR on purpose) */
|
||||
--hm-sw-header-font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
|
||||
/* Typography: SW default is Dotum like Figma (2026-10-20). Installed system font only (Windows gulim.ttc); the
|
||||
package ships no font file. Malgun Gothic / Apple SD Gothic Neo cover systems without Dotum. Web UI keeps
|
||||
Noto Sans KR (its own token); this token never leaves the SW scope. */
|
||||
--hm-sw-header-font-family: Dotum, "돋움", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
|
||||
--hm-sw-header-font-size: 14px;
|
||||
--hm-sw-header-label-size: 12px;
|
||||
|
||||
@@ -539,7 +541,9 @@
|
||||
flex: 0 1 90px;
|
||||
min-width: 0;
|
||||
margin-left: -1px;
|
||||
padding: 0 8px;
|
||||
/* 4px (was 8px): Dotum has no bold face, so 700 is synthesized ~1px wider per glyph ("그리기모드" 77.8px);
|
||||
the centered label fits the Figma 90px cell again. */
|
||||
padding: 0 4px;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
|
||||
Reference in new issue
Block a user