fix(sw): restore Noto Sans KR as the SW default font

Withdraw the 2026-10-20 Dotum default (user decision). The SW font token
falls back to Malgun Gothic / Apple SD Gothic Neo; the Dotum-only 4px
padding of the drawing-mode cell is restored to 8px.
This commit is contained in:
shkim4 committed 2026-10-20 18:17:34 +09:00
1 parent 032fcdcc03
commit 11472185ea
2 files changed
+9 -11

No files matched your search

+1 -1
View File
@@ -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
(Dotum like Figma since 2026-10-20, black OUTSIDE outline as 16 text-shadows, own-color 0.3 / 0.4px strokes removed
(Noto Sans KR instead of Figma Dotum — the 2026-10-20 Dotum default is withdrawn, 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. */
+8 -10
View File
@@ -17,10 +17,10 @@
--hm-sw-header-logo-width: 32px;
--hm-sw-header-logo-height: 17px;
/* 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;
/* Typography: SW default is Noto Sans KR (2026-10-20 user decision; the Dotum default of the same day is withdrawn,
Figma Dotum is replaced on purpose). The package ships no font file: the app loads Noto Sans KR 400 / 500 / 700;
Malgun Gothic / Apple SD Gothic Neo cover systems without it. Web UI has its own token (same font, never shared). */
--hm-sw-header-font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
--hm-sw-header-font-size: 14px;
--hm-sw-header-label-size: 12px;
@@ -541,9 +541,7 @@
flex: 0 1 90px;
min-width: 0;
margin-left: -1px;
/* 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;
padding: 0 8px;
overflow: hidden;
text-align: center;
white-space: nowrap;
@@ -593,9 +591,9 @@
white-space: nowrap;
text-overflow: ellipsis;
}
/* Value: Figma Dotum Regular 14 / 0.56px (2026-10-20). The layer style is named Dotum/bold/14, but the text itself
is Regular and only looks bold through overlapping copies + outline in Figma; the browser's synthetic bold of Dotum
(700) was wider and cut 0_Layer_Cludmark / 치수 Standard / 0.25 · 1.00 (Firefox). The black text outline stays. */
/* Value: Regular (400) 14 / 0.56px (2026-10-20 user decision, kept with Noto Sans KR). The Figma text is Dotum Regular
(the layer style name Dotum/bold/14 is an overlap + outline look); Bold values were wider and cut 0_Layer_Cludmark /
치수 Standard. The black text outline stays. Composed Controls (below) show the value Bold. */
.hm-sw-header__field-value {
height: 16px;
overflow: hidden;