@mandujs/core 0.54.28 → 0.54.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mandujs/core",
3
- "version": "0.54.28",
3
+ "version": "0.54.29",
4
4
  "description": "Mandu Framework Core - Spec, Generator, Guard, Runtime",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -7,28 +7,31 @@
7
7
  // Color Tokens
8
8
  // ============================================================================
9
9
 
10
+ // Aligned with mandujs.com brand tokens (app/globals.css + styles/tokens.css):
11
+ // primary peach #FF8C66, secondary dark-brown #4A3222, warm-brown dark surfaces
12
+ // (#1F1B16/#2A2520/#3E3028), cream text, and the docs-grade semantic palette.
10
13
  export const colors = {
11
14
  brand: {
12
- primary: '#F5E6D3', // 만두피 베이지
13
- secondary: '#8B4513', // 구운 갈색
14
- accent: '#E8967A', // 새우 만두 분홍
15
+ primary: '#F5EDE0', // 만두피 크림 (mandujs cream surface)
16
+ secondary: '#4A3222', // 구운 다크 브라운 (mandujs --color-secondary)
17
+ accent: '#FF8C66', // 만두 시그니처 피치 오렌지 (mandujs --color-primary)
15
18
  },
16
19
  semantic: {
17
- success: '#7EC8A0', // 세이지 그린 (따뜻한 )
18
- warning: '#E8B84D', // 앰버 (부드러운 경고)
19
- error: '#E86464', // 소프트 레드
20
- info: '#7AAFC8', // 스틸 블루 (차분한 정보)
20
+ success: '#6B9E47', // 올리브 그린 (mandujs --color-success)
21
+ warning: '#E8A93A', // 앰버 (mandujs --color-warn)
22
+ error: '#C85450', // 머티드 레드-브라운 (mandujs --color-danger)
23
+ info: '#4A90C2', // 차분한 블루 (mandujs --color-info)
21
24
  },
22
25
  background: {
23
- dark: '#1C1B2E', // 따뜻한 다크 인디고
24
- medium: '#2A2940', // 따뜻한 미디엄
25
- light: '#3A3854', // 따뜻한 라이트
26
- overlay: 'rgba(10, 8, 20, 0.88)',
26
+ dark: '#1F1B16', // 브라운 (mandujs --color-background-dark)
27
+ medium: '#2A2520', // 서피스 (mandujs --color-surface-dark)
28
+ light: '#3E3028', // 라이트 서피스 (mandujs --color-dark-surface)
29
+ overlay: 'rgba(20, 14, 8, 0.88)',
27
30
  },
28
31
  text: {
29
- primary: '#F0EDE8', // 크림 화이트 (따뜻한 )
30
- secondary: '#A8A4A0', // 따뜻한 그레이
31
- muted: '#6B6866', // 따뜻한 뮤트
32
+ primary: '#FFF0E6', // 크림 화이트 (mandujs --color-dark-text)
33
+ secondary: '#C9BCAD', // 베이지 그레이
34
+ muted: '#7A6B5D', // 뮤트 브라운 (mandujs --color-dark-muted)
32
35
  },
33
36
  } as const;
34
37
 
@@ -38,8 +41,9 @@ export const colors = {
38
41
 
39
42
  export const typography = {
40
43
  fontFamily: {
41
- mono: "'JetBrains Mono', 'Fira Code', 'Consolas', monospace",
42
- sans: "'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
44
+ // Aligned with mandujs.com (app/globals.css --font-mono / --font-sans).
45
+ mono: "'Consolas', 'Monaco', 'Ubuntu Mono', 'JetBrains Mono', ui-monospace, monospace",
46
+ sans: "'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
43
47
  },
44
48
  fontSize: {
45
49
  xs: '10px',
@@ -99,11 +103,12 @@ export const borderWidth = {
99
103
  // ============================================================================
100
104
 
101
105
  export const shadows = {
102
- sm: '0 1px 3px rgba(8, 6, 18, 0.12)',
103
- md: '0 4px 8px rgba(8, 6, 18, 0.18)',
104
- lg: '0 10px 20px rgba(8, 6, 18, 0.24)',
105
- xl: '0 20px 30px rgba(8, 6, 18, 0.32)',
106
- overlay: '0 25px 50px rgba(8, 6, 18, 0.5)',
106
+ // Warm-tinted shadows to match the brown-toned dark surfaces.
107
+ sm: '0 1px 3px rgba(20, 12, 4, 0.14)',
108
+ md: '0 4px 8px rgba(20, 12, 4, 0.20)',
109
+ lg: '0 10px 20px rgba(20, 12, 4, 0.26)',
110
+ xl: '0 20px 30px rgba(20, 12, 4, 0.34)',
111
+ overlay: '0 25px 50px rgba(20, 12, 4, 0.5)',
107
112
  } as const;
108
113
 
109
114
  // ============================================================================