@mytechtoday/augment-extensions 1.3.0 → 1.4.0
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/LICENSE +22 -22
- package/README.md +105 -6
- package/augment-extensions/domain-rules/software-architecture/README.md +143 -143
- package/augment-extensions/domain-rules/software-architecture/examples/banking-layered.md +961 -961
- package/augment-extensions/domain-rules/software-architecture/examples/ecommerce-microservices.md +990 -990
- package/augment-extensions/domain-rules/software-architecture/examples/iot-eventdriven.md +882 -882
- package/augment-extensions/domain-rules/software-architecture/examples/monolith-to-microservices-migration.md +703 -703
- package/augment-extensions/domain-rules/software-architecture/examples/serverless-imageprocessing.md +957 -957
- package/augment-extensions/domain-rules/software-architecture/examples/trading-eventdriven.md +747 -747
- package/augment-extensions/domain-rules/software-architecture/module.json +119 -119
- package/augment-extensions/domain-rules/software-architecture/rules/challenges-solutions.md +763 -763
- package/augment-extensions/domain-rules/software-architecture/rules/definitions-terminology.md +409 -409
- package/augment-extensions/domain-rules/software-architecture/rules/design-principles.md +684 -684
- package/augment-extensions/domain-rules/software-architecture/rules/evaluation-testing.md +1381 -1381
- package/augment-extensions/domain-rules/software-architecture/rules/event-driven-architecture.md +616 -616
- package/augment-extensions/domain-rules/software-architecture/rules/fundamentals.md +306 -306
- package/augment-extensions/domain-rules/software-architecture/rules/industry-architectures.md +554 -554
- package/augment-extensions/domain-rules/software-architecture/rules/layered-architecture.md +776 -776
- package/augment-extensions/domain-rules/software-architecture/rules/microservices-architecture.md +503 -503
- package/augment-extensions/domain-rules/software-architecture/rules/modeling-documentation.md +1199 -1199
- package/augment-extensions/domain-rules/software-architecture/rules/monolithic-architecture.md +351 -351
- package/augment-extensions/domain-rules/software-architecture/rules/principles.md +556 -556
- package/augment-extensions/domain-rules/software-architecture/rules/quality-attributes.md +797 -797
- package/augment-extensions/domain-rules/software-architecture/rules/scalability-performance.md +1345 -1345
- package/augment-extensions/domain-rules/software-architecture/rules/security-architecture.md +1039 -1039
- package/augment-extensions/domain-rules/software-architecture/rules/serverless-architecture.md +711 -711
- package/augment-extensions/domain-rules/software-architecture/rules/skills-development.md +568 -568
- package/augment-extensions/domain-rules/software-architecture/rules/tools-methodologies.md +961 -961
- package/augment-extensions/visual-design/CHANGELOG.md +132 -132
- package/augment-extensions/visual-design/README.md +255 -255
- package/augment-extensions/visual-design/__tests__/README.md +119 -119
- package/augment-extensions/visual-design/__tests__/style-selector.test.ts +172 -172
- package/augment-extensions/visual-design/__tests__/vendor-styles.test.ts +214 -214
- package/augment-extensions/visual-design/domains/other/ai-prompt-helper.ts +157 -157
- package/augment-extensions/visual-design/domains/other/dotnet-application.ts +156 -156
- package/augment-extensions/visual-design/domains/other/linux-platform.ts +156 -156
- package/augment-extensions/visual-design/domains/other/mobile-application.ts +157 -157
- package/augment-extensions/visual-design/domains/other/motion-picture.ts +156 -156
- package/augment-extensions/visual-design/domains/other/os-application.ts +156 -156
- package/augment-extensions/visual-design/domains/other/print-campaigns.ts +158 -158
- package/augment-extensions/visual-design/domains/other/web-app.ts +157 -157
- package/augment-extensions/visual-design/domains/other/website.ts +161 -161
- package/augment-extensions/visual-design/domains/other/windows-platform.ts +156 -156
- package/augment-extensions/visual-design/domains/web-page-styles/amazon-cloudscape.ts +506 -506
- package/augment-extensions/visual-design/domains/web-page-styles/google-modern.ts +615 -615
- package/augment-extensions/visual-design/domains/web-page-styles/microsoft-fluent.ts +531 -531
- package/augment-extensions/visual-design/examples/README.md +97 -97
- package/augment-extensions/visual-design/examples/ai-prompt-generation.md +233 -233
- package/augment-extensions/visual-design/examples/basic-usage.md +216 -216
- package/augment-extensions/visual-design/examples/domain-workflows.md +257 -257
- package/augment-extensions/visual-design/examples/vendor-comparison.md +247 -247
- package/augment-extensions/visual-design/module.json +78 -78
- package/augment-extensions/visual-design/style-selector.ts +177 -177
- package/augment-extensions/visual-design/types.ts +302 -302
- package/augment-extensions/visual-design/visual-design-core.ts +469 -469
- package/augment-extensions/workflows/adr-support/README.md +227 -227
- package/augment-extensions/workflows/adr-support/__tests__/adr-validator.test.ts +203 -203
- package/augment-extensions/workflows/adr-support/adr-validator.ts +162 -162
- package/augment-extensions/workflows/adr-support/examples/complete-lifecycle-example.md +449 -449
- package/augment-extensions/workflows/adr-support/examples/integration-example.md +580 -580
- package/augment-extensions/workflows/adr-support/examples/superseding-example.md +436 -436
- package/augment-extensions/workflows/adr-support/module.json +112 -112
- package/augment-extensions/workflows/adr-support/rules/adr-creation.md +372 -372
- package/augment-extensions/workflows/adr-support/rules/beads-integration.md +443 -443
- package/augment-extensions/workflows/adr-support/rules/conflict-detection.md +486 -486
- package/augment-extensions/workflows/adr-support/rules/decision-detection.md +362 -362
- package/augment-extensions/workflows/adr-support/rules/lifecycle-management.md +427 -427
- package/augment-extensions/workflows/adr-support/rules/openspec-integration.md +465 -465
- package/augment-extensions/workflows/adr-support/rules/template-selection.md +405 -405
- package/augment-extensions/workflows/adr-support/rules/validation-rules.md +543 -543
- package/augment-extensions/workflows/adr-support/schemas/adr-config.json +191 -191
- package/augment-extensions/workflows/adr-support/schemas/adr-metadata.json +172 -172
- package/augment-extensions/workflows/adr-support/templates/business-case.md +235 -235
- package/augment-extensions/workflows/adr-support/templates/madr-elaborate.md +197 -197
- package/augment-extensions/workflows/adr-support/templates/madr-simple.md +68 -68
- package/augment-extensions/workflows/adr-support/templates/nygard.md +84 -84
- package/augment-extensions/writing-standards/screenplay/rules/file-organization.md +213 -213
- package/augment-extensions/writing-standards/screenplay/utils/__tests__/file-organization.test.ts +169 -169
- package/augment-extensions/writing-standards/screenplay/utils/file-organization.ts +165 -165
- package/cli/dist/commands/agent.d.ts +37 -0
- package/cli/dist/commands/agent.d.ts.map +1 -0
- package/cli/dist/commands/agent.js +222 -0
- package/cli/dist/commands/agent.js.map +1 -0
- package/cli/dist/commands/beads.d.ts +64 -0
- package/cli/dist/commands/beads.d.ts.map +1 -0
- package/cli/dist/commands/beads.js +377 -0
- package/cli/dist/commands/beads.js.map +1 -0
- package/cli/dist/commands/change.d.ts +54 -0
- package/cli/dist/commands/change.d.ts.map +1 -0
- package/cli/dist/commands/change.js +243 -0
- package/cli/dist/commands/change.js.map +1 -0
- package/cli/dist/commands/clean.d.ts +15 -0
- package/cli/dist/commands/clean.d.ts.map +1 -0
- package/cli/dist/commands/clean.js +63 -0
- package/cli/dist/commands/clean.js.map +1 -0
- package/cli/dist/commands/clone.d.ts +15 -0
- package/cli/dist/commands/clone.d.ts.map +1 -0
- package/cli/dist/commands/clone.js +49 -0
- package/cli/dist/commands/clone.js.map +1 -0
- package/cli/dist/commands/config.d.ts +33 -0
- package/cli/dist/commands/config.d.ts.map +1 -0
- package/cli/dist/commands/config.js +166 -0
- package/cli/dist/commands/config.js.map +1 -0
- package/cli/dist/commands/context.d.ts +38 -0
- package/cli/dist/commands/context.d.ts.map +1 -0
- package/cli/dist/commands/context.js +205 -0
- package/cli/dist/commands/context.js.map +1 -0
- package/cli/dist/commands/create.d.ts +18 -0
- package/cli/dist/commands/create.d.ts.map +1 -0
- package/cli/dist/commands/create.js +178 -0
- package/cli/dist/commands/create.js.map +1 -0
- package/cli/dist/commands/diff.d.ts +19 -0
- package/cli/dist/commands/diff.d.ts.map +1 -0
- package/cli/dist/commands/diff.js +104 -0
- package/cli/dist/commands/diff.js.map +1 -0
- package/cli/dist/commands/doctor.d.ts +14 -0
- package/cli/dist/commands/doctor.d.ts.map +1 -0
- package/cli/dist/commands/doctor.js +62 -0
- package/cli/dist/commands/doctor.js.map +1 -0
- package/cli/dist/commands/export.d.ts +28 -0
- package/cli/dist/commands/export.d.ts.map +1 -0
- package/cli/dist/commands/export.js +135 -0
- package/cli/dist/commands/export.js.map +1 -0
- package/cli/dist/commands/import.d.ts +23 -0
- package/cli/dist/commands/import.d.ts.map +1 -0
- package/cli/dist/commands/import.js +118 -0
- package/cli/dist/commands/import.js.map +1 -0
- package/cli/dist/commands/prompt.d.ts +45 -0
- package/cli/dist/commands/prompt.d.ts.map +1 -0
- package/cli/dist/commands/prompt.js +223 -0
- package/cli/dist/commands/prompt.js.map +1 -0
- package/cli/dist/commands/spec.d.ts +57 -0
- package/cli/dist/commands/spec.d.ts.map +1 -0
- package/cli/dist/commands/spec.js +279 -0
- package/cli/dist/commands/spec.js.map +1 -0
- package/cli/dist/commands/stats.d.ts +18 -0
- package/cli/dist/commands/stats.d.ts.map +1 -0
- package/cli/dist/commands/stats.js +85 -0
- package/cli/dist/commands/stats.js.map +1 -0
- package/cli/dist/commands/task.d.ts +65 -0
- package/cli/dist/commands/task.d.ts.map +1 -0
- package/cli/dist/commands/task.js +282 -0
- package/cli/dist/commands/task.js.map +1 -0
- package/cli/dist/commands/template.d.ts +17 -0
- package/cli/dist/commands/template.d.ts.map +1 -0
- package/cli/dist/commands/template.js +55 -0
- package/cli/dist/commands/template.js.map +1 -0
- package/cli/dist/utils/agent-config.d.ts +129 -0
- package/cli/dist/utils/agent-config.d.ts.map +1 -0
- package/cli/dist/utils/agent-config.js +297 -0
- package/cli/dist/utils/agent-config.js.map +1 -0
- package/cli/dist/utils/auto-sync.js +19 -19
- package/cli/dist/utils/beads-graph.d.ts +17 -0
- package/cli/dist/utils/beads-graph.d.ts.map +1 -0
- package/cli/dist/utils/beads-graph.js +150 -0
- package/cli/dist/utils/beads-graph.js.map +1 -0
- package/cli/dist/utils/beads-integration.d.ts +112 -0
- package/cli/dist/utils/beads-integration.d.ts.map +1 -0
- package/cli/dist/utils/beads-integration.js +312 -0
- package/cli/dist/utils/beads-integration.js.map +1 -0
- package/cli/dist/utils/beads-reporter.d.ts +17 -0
- package/cli/dist/utils/beads-reporter.d.ts.map +1 -0
- package/cli/dist/utils/beads-reporter.js +160 -0
- package/cli/dist/utils/beads-reporter.js.map +1 -0
- package/cli/dist/utils/cache-manager.d.ts +55 -0
- package/cli/dist/utils/cache-manager.d.ts.map +1 -0
- package/cli/dist/utils/cache-manager.js +150 -0
- package/cli/dist/utils/cache-manager.js.map +1 -0
- package/cli/dist/utils/change-manager.d.ts +70 -0
- package/cli/dist/utils/change-manager.d.ts.map +1 -0
- package/cli/dist/utils/change-manager.js +412 -0
- package/cli/dist/utils/change-manager.js.map +1 -0
- package/cli/dist/utils/config-manager-enhanced.d.ts +66 -0
- package/cli/dist/utils/config-manager-enhanced.d.ts.map +1 -0
- package/cli/dist/utils/config-manager-enhanced.js +77 -0
- package/cli/dist/utils/config-manager-enhanced.js.map +1 -0
- package/cli/dist/utils/context-manager.d.ts +96 -0
- package/cli/dist/utils/context-manager.d.ts.map +1 -0
- package/cli/dist/utils/context-manager.js +258 -0
- package/cli/dist/utils/context-manager.js.map +1 -0
- package/cli/dist/utils/diff-engine.d.ts +78 -0
- package/cli/dist/utils/diff-engine.d.ts.map +1 -0
- package/cli/dist/utils/diff-engine.js +233 -0
- package/cli/dist/utils/diff-engine.js.map +1 -0
- package/cli/dist/utils/export-system.d.ts +101 -0
- package/cli/dist/utils/export-system.d.ts.map +1 -0
- package/cli/dist/utils/export-system.js +289 -0
- package/cli/dist/utils/export-system.js.map +1 -0
- package/cli/dist/utils/health-checker.d.ts +66 -0
- package/cli/dist/utils/health-checker.d.ts.map +1 -0
- package/cli/dist/utils/health-checker.js +285 -0
- package/cli/dist/utils/health-checker.js.map +1 -0
- package/cli/dist/utils/import-system.d.ts +74 -0
- package/cli/dist/utils/import-system.d.ts.map +1 -0
- package/cli/dist/utils/import-system.js +317 -0
- package/cli/dist/utils/import-system.js.map +1 -0
- package/cli/dist/utils/module-cloner.d.ts +40 -0
- package/cli/dist/utils/module-cloner.d.ts.map +1 -0
- package/cli/dist/utils/module-cloner.js +136 -0
- package/cli/dist/utils/module-cloner.js.map +1 -0
- package/cli/dist/utils/prompt-manager.d.ts +90 -0
- package/cli/dist/utils/prompt-manager.d.ts.map +1 -0
- package/cli/dist/utils/prompt-manager.js +302 -0
- package/cli/dist/utils/prompt-manager.js.map +1 -0
- package/cli/dist/utils/spec-manager.d.ts +65 -0
- package/cli/dist/utils/spec-manager.d.ts.map +1 -0
- package/cli/dist/utils/spec-manager.js +329 -0
- package/cli/dist/utils/spec-manager.js.map +1 -0
- package/cli/dist/utils/stats-collector.d.ts +74 -0
- package/cli/dist/utils/stats-collector.d.ts.map +1 -0
- package/cli/dist/utils/stats-collector.js +164 -0
- package/cli/dist/utils/stats-collector.js.map +1 -0
- package/cli/dist/utils/template-engine.d.ts +47 -0
- package/cli/dist/utils/template-engine.d.ts.map +1 -0
- package/cli/dist/utils/template-engine.js +204 -0
- package/cli/dist/utils/template-engine.js.map +1 -0
- package/package.json +12 -3
- package/augment-extensions/workflows/openspec/README.md +0 -96
- package/augment-extensions/workflows/openspec/examples/complete-change-example.md +0 -244
- package/augment-extensions/workflows/openspec/module.json +0 -54
- package/augment-extensions/workflows/openspec/rules/best-practices.md +0 -272
- package/augment-extensions/workflows/openspec/rules/manual-setup.md +0 -231
- package/augment-extensions/workflows/openspec/rules/spec-format.md +0 -236
- package/augment-extensions/workflows/openspec/rules/workflow.md +0 -214
- package/cli/dist/utils/__tests__/adr-validator.example.d.ts +0 -6
- package/cli/dist/utils/__tests__/adr-validator.example.d.ts.map +0 -1
- package/cli/dist/utils/__tests__/adr-validator.example.js +0 -148
- package/cli/dist/utils/__tests__/adr-validator.example.js.map +0 -1
- package/cli/dist/utils/adr-validator.d.ts +0 -65
- package/cli/dist/utils/adr-validator.d.ts.map +0 -1
- package/cli/dist/utils/adr-validator.js +0 -203
- package/cli/dist/utils/adr-validator.js.map +0 -1
|
@@ -1,156 +1,156 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Motion Picture Design Domain Module
|
|
3
|
-
*
|
|
4
|
-
* Design patterns for cinematography, TV production, and web series
|
|
5
|
-
* including color grading, composition, and visual storytelling.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { DomainStyle, ColorPalette, TypographyRules, LayoutSystem } from '../../types';
|
|
9
|
-
|
|
10
|
-
// ============================================================================
|
|
11
|
-
// Motion Picture Color Palette
|
|
12
|
-
// ============================================================================
|
|
13
|
-
|
|
14
|
-
const MOTION_PICTURE_COLORS: ColorPalette = {
|
|
15
|
-
primary: {
|
|
16
|
-
name: 'Cinematic Gold',
|
|
17
|
-
hex: '#D4AF37',
|
|
18
|
-
rgb: { r: 212, g: 175, b: 55 },
|
|
19
|
-
hsl: { h: 46, s: 65, l: 52 },
|
|
20
|
-
variants: [
|
|
21
|
-
{ name: 'Gold Light', hex: '#FFD700', usage: 'Highlights, awards' },
|
|
22
|
-
{ name: 'Gold Dark', hex: '#B8860B', usage: 'Shadows, depth' }
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
neutral: [
|
|
26
|
-
{ name: 'White', hex: '#FFFFFF', rgb: { r: 255, g: 255, b: 255 }, hsl: { h: 0, s: 0, l: 100 } },
|
|
27
|
-
{ name: 'Light Gray', hex: '#E0E0E0', rgb: { r: 224, g: 224, b: 224 }, hsl: { h: 0, s: 0, l: 88 } },
|
|
28
|
-
{ name: 'Mid Gray', hex: '#808080', rgb: { r: 128, g: 128, b: 128 }, hsl: { h: 0, s: 0, l: 50 } },
|
|
29
|
-
{ name: 'Dark Gray', hex: '#404040', rgb: { r: 64, g: 64, b: 64 }, hsl: { h: 0, s: 0, l: 25 } },
|
|
30
|
-
{ name: 'Black', hex: '#000000', rgb: { r: 0, g: 0, b: 0 }, hsl: { h: 0, s: 0, l: 0 } }
|
|
31
|
-
],
|
|
32
|
-
semantic: {
|
|
33
|
-
success: { hex: '#4CAF50', usage: 'Approved takes' },
|
|
34
|
-
warning: { hex: '#FF9800', usage: 'Review needed' },
|
|
35
|
-
error: { hex: '#F44336', usage: 'Rejected takes' },
|
|
36
|
-
info: { hex: '#2196F3', usage: 'Production notes' }
|
|
37
|
-
},
|
|
38
|
-
accessibility: {
|
|
39
|
-
minimumContrast: 4.5,
|
|
40
|
-
targetContrast: 7,
|
|
41
|
-
colorBlindSafe: true,
|
|
42
|
-
guidelines: [
|
|
43
|
-
'Use color grading for mood and atmosphere',
|
|
44
|
-
'Maintain skin tone accuracy',
|
|
45
|
-
'Ensure proper white balance',
|
|
46
|
-
'Test on calibrated monitors'
|
|
47
|
-
]
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
// ============================================================================
|
|
52
|
-
// Motion Picture Typography
|
|
53
|
-
// ============================================================================
|
|
54
|
-
|
|
55
|
-
const MOTION_PICTURE_TYPOGRAPHY: TypographyRules = {
|
|
56
|
-
fontFamilies: {
|
|
57
|
-
primary: '"Helvetica Neue", Arial, sans-serif',
|
|
58
|
-
secondary: '"Times New Roman", Georgia, serif',
|
|
59
|
-
monospace: '"Courier New", monospace'
|
|
60
|
-
},
|
|
61
|
-
hierarchy: {
|
|
62
|
-
h1: { fontSize: '48px', fontWeight: 700, lineHeight: 1.2, letterSpacing: '0' },
|
|
63
|
-
h2: { fontSize: '36px', fontWeight: 600, lineHeight: 1.3, letterSpacing: '0' },
|
|
64
|
-
h3: { fontSize: '28px', fontWeight: 600, lineHeight: 1.4, letterSpacing: '0' },
|
|
65
|
-
h4: { fontSize: '24px', fontWeight: 600, lineHeight: 1.4, letterSpacing: '0' },
|
|
66
|
-
h5: { fontSize: '20px', fontWeight: 600, lineHeight: 1.5, letterSpacing: '0' },
|
|
67
|
-
h6: { fontSize: '18px', fontWeight: 600, lineHeight: 1.5, letterSpacing: '0' },
|
|
68
|
-
body: { fontSize: '16px', fontWeight: 400, lineHeight: 1.6, letterSpacing: '0' },
|
|
69
|
-
small: { fontSize: '14px', fontWeight: 400, lineHeight: 1.5, letterSpacing: '0' },
|
|
70
|
-
caption: { fontSize: '12px', fontWeight: 400, lineHeight: 1.4, letterSpacing: '0' }
|
|
71
|
-
},
|
|
72
|
-
scale: {
|
|
73
|
-
base: 16,
|
|
74
|
-
ratio: 1.25,
|
|
75
|
-
sizes: [12, 14, 16, 18, 20, 24, 28, 36, 48]
|
|
76
|
-
},
|
|
77
|
-
guidelines: [
|
|
78
|
-
'Use Courier for screenplay format',
|
|
79
|
-
'Use sans-serif for production documents',
|
|
80
|
-
'Ensure readability in low light',
|
|
81
|
-
'Follow industry standard formatting',
|
|
82
|
-
'Use consistent font sizes for hierarchy'
|
|
83
|
-
]
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
// ============================================================================
|
|
87
|
-
// Motion Picture Layout System
|
|
88
|
-
// ============================================================================
|
|
89
|
-
|
|
90
|
-
const MOTION_PICTURE_LAYOUT: LayoutSystem = {
|
|
91
|
-
grid: {
|
|
92
|
-
columns: 16,
|
|
93
|
-
gutter: '24px',
|
|
94
|
-
margin: '24px',
|
|
95
|
-
breakpoints: {
|
|
96
|
-
mobile: '0-639px',
|
|
97
|
-
tablet: '640-1023px',
|
|
98
|
-
desktop: '1024px+'
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
spacing: {
|
|
102
|
-
unit: 8,
|
|
103
|
-
scale: [0, 8, 16, 24, 32, 40, 48, 64, 80, 96],
|
|
104
|
-
guidelines: [
|
|
105
|
-
'Use 16:9 aspect ratio for HD',
|
|
106
|
-
'Use 2.39:1 for cinematic widescreen',
|
|
107
|
-
'Follow rule of thirds for composition',
|
|
108
|
-
'Maintain safe zones for titles'
|
|
109
|
-
]
|
|
110
|
-
},
|
|
111
|
-
containerWidths: {
|
|
112
|
-
mobile: '100%',
|
|
113
|
-
tablet: '100%',
|
|
114
|
-
desktop: '100%'
|
|
115
|
-
},
|
|
116
|
-
guidelines: [
|
|
117
|
-
'Use storyboard templates for planning',
|
|
118
|
-
'Follow shot composition rules',
|
|
119
|
-
'Maintain consistent framing',
|
|
120
|
-
'Use color grading for mood',
|
|
121
|
-
'Implement proper lighting setups',
|
|
122
|
-
'Follow continuity guidelines'
|
|
123
|
-
]
|
|
124
|
-
};
|
|
125
|
-
|
|
126
|
-
// ============================================================================
|
|
127
|
-
// Motion Picture Domain Export
|
|
128
|
-
// ============================================================================
|
|
129
|
-
|
|
130
|
-
export const MOTION_PICTURE_DOMAIN: DomainStyle = {
|
|
131
|
-
domain: 'motion-picture',
|
|
132
|
-
characteristics: [
|
|
133
|
-
'Cinematic aspect ratios (16:9, 2.39:1, 1.85:1)',
|
|
134
|
-
'Color grading and LUT application',
|
|
135
|
-
'Rule of thirds composition',
|
|
136
|
-
'Three-point lighting setups',
|
|
137
|
-
'Shot types (wide, medium, close-up)',
|
|
138
|
-
'Camera movements (pan, tilt, dolly, crane)',
|
|
139
|
-
'Depth of field control',
|
|
140
|
-
'Visual storytelling techniques',
|
|
141
|
-
'Continuity and match cuts',
|
|
142
|
-
'Sound design integration'
|
|
143
|
-
],
|
|
144
|
-
colorScheme: MOTION_PICTURE_COLORS,
|
|
145
|
-
typography: MOTION_PICTURE_TYPOGRAPHY,
|
|
146
|
-
layout: MOTION_PICTURE_LAYOUT,
|
|
147
|
-
examples: [
|
|
148
|
-
'Feature film with cinematic color grading',
|
|
149
|
-
'TV series with consistent visual style',
|
|
150
|
-
'Web series with episodic structure',
|
|
151
|
-
'Documentary with interview setups',
|
|
152
|
-
'Music video with creative visuals',
|
|
153
|
-
'Commercial with product focus'
|
|
154
|
-
]
|
|
155
|
-
};
|
|
156
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Motion Picture Design Domain Module
|
|
3
|
+
*
|
|
4
|
+
* Design patterns for cinematography, TV production, and web series
|
|
5
|
+
* including color grading, composition, and visual storytelling.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { DomainStyle, ColorPalette, TypographyRules, LayoutSystem } from '../../types';
|
|
9
|
+
|
|
10
|
+
// ============================================================================
|
|
11
|
+
// Motion Picture Color Palette
|
|
12
|
+
// ============================================================================
|
|
13
|
+
|
|
14
|
+
const MOTION_PICTURE_COLORS: ColorPalette = {
|
|
15
|
+
primary: {
|
|
16
|
+
name: 'Cinematic Gold',
|
|
17
|
+
hex: '#D4AF37',
|
|
18
|
+
rgb: { r: 212, g: 175, b: 55 },
|
|
19
|
+
hsl: { h: 46, s: 65, l: 52 },
|
|
20
|
+
variants: [
|
|
21
|
+
{ name: 'Gold Light', hex: '#FFD700', usage: 'Highlights, awards' },
|
|
22
|
+
{ name: 'Gold Dark', hex: '#B8860B', usage: 'Shadows, depth' }
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
neutral: [
|
|
26
|
+
{ name: 'White', hex: '#FFFFFF', rgb: { r: 255, g: 255, b: 255 }, hsl: { h: 0, s: 0, l: 100 } },
|
|
27
|
+
{ name: 'Light Gray', hex: '#E0E0E0', rgb: { r: 224, g: 224, b: 224 }, hsl: { h: 0, s: 0, l: 88 } },
|
|
28
|
+
{ name: 'Mid Gray', hex: '#808080', rgb: { r: 128, g: 128, b: 128 }, hsl: { h: 0, s: 0, l: 50 } },
|
|
29
|
+
{ name: 'Dark Gray', hex: '#404040', rgb: { r: 64, g: 64, b: 64 }, hsl: { h: 0, s: 0, l: 25 } },
|
|
30
|
+
{ name: 'Black', hex: '#000000', rgb: { r: 0, g: 0, b: 0 }, hsl: { h: 0, s: 0, l: 0 } }
|
|
31
|
+
],
|
|
32
|
+
semantic: {
|
|
33
|
+
success: { hex: '#4CAF50', usage: 'Approved takes' },
|
|
34
|
+
warning: { hex: '#FF9800', usage: 'Review needed' },
|
|
35
|
+
error: { hex: '#F44336', usage: 'Rejected takes' },
|
|
36
|
+
info: { hex: '#2196F3', usage: 'Production notes' }
|
|
37
|
+
},
|
|
38
|
+
accessibility: {
|
|
39
|
+
minimumContrast: 4.5,
|
|
40
|
+
targetContrast: 7,
|
|
41
|
+
colorBlindSafe: true,
|
|
42
|
+
guidelines: [
|
|
43
|
+
'Use color grading for mood and atmosphere',
|
|
44
|
+
'Maintain skin tone accuracy',
|
|
45
|
+
'Ensure proper white balance',
|
|
46
|
+
'Test on calibrated monitors'
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
// ============================================================================
|
|
52
|
+
// Motion Picture Typography
|
|
53
|
+
// ============================================================================
|
|
54
|
+
|
|
55
|
+
const MOTION_PICTURE_TYPOGRAPHY: TypographyRules = {
|
|
56
|
+
fontFamilies: {
|
|
57
|
+
primary: '"Helvetica Neue", Arial, sans-serif',
|
|
58
|
+
secondary: '"Times New Roman", Georgia, serif',
|
|
59
|
+
monospace: '"Courier New", monospace'
|
|
60
|
+
},
|
|
61
|
+
hierarchy: {
|
|
62
|
+
h1: { fontSize: '48px', fontWeight: 700, lineHeight: 1.2, letterSpacing: '0' },
|
|
63
|
+
h2: { fontSize: '36px', fontWeight: 600, lineHeight: 1.3, letterSpacing: '0' },
|
|
64
|
+
h3: { fontSize: '28px', fontWeight: 600, lineHeight: 1.4, letterSpacing: '0' },
|
|
65
|
+
h4: { fontSize: '24px', fontWeight: 600, lineHeight: 1.4, letterSpacing: '0' },
|
|
66
|
+
h5: { fontSize: '20px', fontWeight: 600, lineHeight: 1.5, letterSpacing: '0' },
|
|
67
|
+
h6: { fontSize: '18px', fontWeight: 600, lineHeight: 1.5, letterSpacing: '0' },
|
|
68
|
+
body: { fontSize: '16px', fontWeight: 400, lineHeight: 1.6, letterSpacing: '0' },
|
|
69
|
+
small: { fontSize: '14px', fontWeight: 400, lineHeight: 1.5, letterSpacing: '0' },
|
|
70
|
+
caption: { fontSize: '12px', fontWeight: 400, lineHeight: 1.4, letterSpacing: '0' }
|
|
71
|
+
},
|
|
72
|
+
scale: {
|
|
73
|
+
base: 16,
|
|
74
|
+
ratio: 1.25,
|
|
75
|
+
sizes: [12, 14, 16, 18, 20, 24, 28, 36, 48]
|
|
76
|
+
},
|
|
77
|
+
guidelines: [
|
|
78
|
+
'Use Courier for screenplay format',
|
|
79
|
+
'Use sans-serif for production documents',
|
|
80
|
+
'Ensure readability in low light',
|
|
81
|
+
'Follow industry standard formatting',
|
|
82
|
+
'Use consistent font sizes for hierarchy'
|
|
83
|
+
]
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
// ============================================================================
|
|
87
|
+
// Motion Picture Layout System
|
|
88
|
+
// ============================================================================
|
|
89
|
+
|
|
90
|
+
const MOTION_PICTURE_LAYOUT: LayoutSystem = {
|
|
91
|
+
grid: {
|
|
92
|
+
columns: 16,
|
|
93
|
+
gutter: '24px',
|
|
94
|
+
margin: '24px',
|
|
95
|
+
breakpoints: {
|
|
96
|
+
mobile: '0-639px',
|
|
97
|
+
tablet: '640-1023px',
|
|
98
|
+
desktop: '1024px+'
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
spacing: {
|
|
102
|
+
unit: 8,
|
|
103
|
+
scale: [0, 8, 16, 24, 32, 40, 48, 64, 80, 96],
|
|
104
|
+
guidelines: [
|
|
105
|
+
'Use 16:9 aspect ratio for HD',
|
|
106
|
+
'Use 2.39:1 for cinematic widescreen',
|
|
107
|
+
'Follow rule of thirds for composition',
|
|
108
|
+
'Maintain safe zones for titles'
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
containerWidths: {
|
|
112
|
+
mobile: '100%',
|
|
113
|
+
tablet: '100%',
|
|
114
|
+
desktop: '100%'
|
|
115
|
+
},
|
|
116
|
+
guidelines: [
|
|
117
|
+
'Use storyboard templates for planning',
|
|
118
|
+
'Follow shot composition rules',
|
|
119
|
+
'Maintain consistent framing',
|
|
120
|
+
'Use color grading for mood',
|
|
121
|
+
'Implement proper lighting setups',
|
|
122
|
+
'Follow continuity guidelines'
|
|
123
|
+
]
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
// ============================================================================
|
|
127
|
+
// Motion Picture Domain Export
|
|
128
|
+
// ============================================================================
|
|
129
|
+
|
|
130
|
+
export const MOTION_PICTURE_DOMAIN: DomainStyle = {
|
|
131
|
+
domain: 'motion-picture',
|
|
132
|
+
characteristics: [
|
|
133
|
+
'Cinematic aspect ratios (16:9, 2.39:1, 1.85:1)',
|
|
134
|
+
'Color grading and LUT application',
|
|
135
|
+
'Rule of thirds composition',
|
|
136
|
+
'Three-point lighting setups',
|
|
137
|
+
'Shot types (wide, medium, close-up)',
|
|
138
|
+
'Camera movements (pan, tilt, dolly, crane)',
|
|
139
|
+
'Depth of field control',
|
|
140
|
+
'Visual storytelling techniques',
|
|
141
|
+
'Continuity and match cuts',
|
|
142
|
+
'Sound design integration'
|
|
143
|
+
],
|
|
144
|
+
colorScheme: MOTION_PICTURE_COLORS,
|
|
145
|
+
typography: MOTION_PICTURE_TYPOGRAPHY,
|
|
146
|
+
layout: MOTION_PICTURE_LAYOUT,
|
|
147
|
+
examples: [
|
|
148
|
+
'Feature film with cinematic color grading',
|
|
149
|
+
'TV series with consistent visual style',
|
|
150
|
+
'Web series with episodic structure',
|
|
151
|
+
'Documentary with interview setups',
|
|
152
|
+
'Music video with creative visuals',
|
|
153
|
+
'Commercial with product focus'
|
|
154
|
+
]
|
|
155
|
+
};
|
|
156
|
+
|
|
@@ -1,156 +1,156 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OS Application Domain Module
|
|
3
|
-
*
|
|
4
|
-
* General OS application design patterns for desktop applications
|
|
5
|
-
* across Windows, macOS, and Linux platforms.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { DomainStyle, ColorPalette, TypographyRules, LayoutSystem } from '../../types';
|
|
9
|
-
|
|
10
|
-
// ============================================================================
|
|
11
|
-
// OS Application Color Palette
|
|
12
|
-
// ============================================================================
|
|
13
|
-
|
|
14
|
-
const OS_APP_COLORS: ColorPalette = {
|
|
15
|
-
primary: {
|
|
16
|
-
name: 'App Accent',
|
|
17
|
-
hex: '#0078D4',
|
|
18
|
-
rgb: { r: 0, g: 120, b: 212 },
|
|
19
|
-
hsl: { h: 206, s: 100, l: 42 },
|
|
20
|
-
variants: [
|
|
21
|
-
{ name: 'Accent Light', hex: '#4A9EFF', usage: 'Hover states' },
|
|
22
|
-
{ name: 'Accent Dark', hex: '#005A9E', usage: 'Pressed states' }
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
neutral: [
|
|
26
|
-
{ name: 'White', hex: '#FFFFFF', rgb: { r: 255, g: 255, b: 255 }, hsl: { h: 0, s: 0, l: 100 } },
|
|
27
|
-
{ name: 'Gray 10', hex: '#FAFAFA', rgb: { r: 250, g: 250, b: 250 }, hsl: { h: 0, s: 0, l: 98 } },
|
|
28
|
-
{ name: 'Gray 20', hex: '#F3F3F3', rgb: { r: 243, g: 243, b: 243 }, hsl: { h: 0, s: 0, l: 95 } },
|
|
29
|
-
{ name: 'Gray 130', hex: '#8A8A8A', rgb: { r: 138, g: 138, b: 138 }, hsl: { h: 0, s: 0, l: 54 } },
|
|
30
|
-
{ name: 'Gray 190', hex: '#201F1E', rgb: { r: 32, g: 31, b: 30 }, hsl: { h: 30, s: 3, l: 12 } }
|
|
31
|
-
],
|
|
32
|
-
semantic: {
|
|
33
|
-
success: { hex: '#107C10', usage: 'Success states' },
|
|
34
|
-
warning: { hex: '#FFB900', usage: 'Warnings' },
|
|
35
|
-
error: { hex: '#D13438', usage: 'Errors' },
|
|
36
|
-
info: { hex: '#0078D4', usage: 'Information' }
|
|
37
|
-
},
|
|
38
|
-
accessibility: {
|
|
39
|
-
minimumContrast: 4.5,
|
|
40
|
-
targetContrast: 7,
|
|
41
|
-
colorBlindSafe: true,
|
|
42
|
-
guidelines: [
|
|
43
|
-
'Support system theme (light/dark)',
|
|
44
|
-
'Respect OS high contrast mode',
|
|
45
|
-
'Ensure keyboard focus visibility',
|
|
46
|
-
'Test with platform accessibility tools'
|
|
47
|
-
]
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
// ============================================================================
|
|
52
|
-
// OS Application Typography
|
|
53
|
-
// ============================================================================
|
|
54
|
-
|
|
55
|
-
const OS_APP_TYPOGRAPHY: TypographyRules = {
|
|
56
|
-
fontFamilies: {
|
|
57
|
-
primary: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif',
|
|
58
|
-
secondary: 'system-ui, sans-serif',
|
|
59
|
-
monospace: '"SF Mono", "Consolas", "Courier New", monospace'
|
|
60
|
-
},
|
|
61
|
-
hierarchy: {
|
|
62
|
-
h1: { fontSize: '28px', fontWeight: 600, lineHeight: 1.3, letterSpacing: '0' },
|
|
63
|
-
h2: { fontSize: '20px', fontWeight: 600, lineHeight: 1.4, letterSpacing: '0' },
|
|
64
|
-
h3: { fontSize: '16px', fontWeight: 600, lineHeight: 1.4, letterSpacing: '0' },
|
|
65
|
-
h4: { fontSize: '14px', fontWeight: 600, lineHeight: 1.5, letterSpacing: '0' },
|
|
66
|
-
h5: { fontSize: '12px', fontWeight: 600, lineHeight: 1.5, letterSpacing: '0' },
|
|
67
|
-
h6: { fontSize: '11px', fontWeight: 600, lineHeight: 1.5, letterSpacing: '0' },
|
|
68
|
-
body: { fontSize: '14px', fontWeight: 400, lineHeight: 1.5, letterSpacing: '0' },
|
|
69
|
-
small: { fontSize: '12px', fontWeight: 400, lineHeight: 1.4, letterSpacing: '0' },
|
|
70
|
-
caption: { fontSize: '11px', fontWeight: 400, lineHeight: 1.3, letterSpacing: '0' }
|
|
71
|
-
},
|
|
72
|
-
scale: {
|
|
73
|
-
base: 14,
|
|
74
|
-
ratio: 1.15,
|
|
75
|
-
sizes: [11, 12, 14, 16, 20, 28]
|
|
76
|
-
},
|
|
77
|
-
guidelines: [
|
|
78
|
-
'Use system fonts for native feel',
|
|
79
|
-
'Follow platform typography conventions',
|
|
80
|
-
'Ensure readability at default system zoom',
|
|
81
|
-
'Support dynamic type/font scaling',
|
|
82
|
-
'Use platform-specific font weights'
|
|
83
|
-
]
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
// ============================================================================
|
|
87
|
-
// OS Application Layout System
|
|
88
|
-
// ============================================================================
|
|
89
|
-
|
|
90
|
-
const OS_APP_LAYOUT: LayoutSystem = {
|
|
91
|
-
grid: {
|
|
92
|
-
columns: 12,
|
|
93
|
-
gutter: '12px',
|
|
94
|
-
margin: '12px',
|
|
95
|
-
breakpoints: {
|
|
96
|
-
compact: '0-639px',
|
|
97
|
-
medium: '640-1023px',
|
|
98
|
-
expanded: '1024px+'
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
spacing: {
|
|
102
|
-
unit: 4,
|
|
103
|
-
scale: [0, 4, 8, 12, 16, 20, 24, 32, 40, 48],
|
|
104
|
-
guidelines: [
|
|
105
|
-
'Use 4px base unit for consistency',
|
|
106
|
-
'Follow platform spacing conventions',
|
|
107
|
-
'Maintain touch-friendly targets (44x44px minimum)',
|
|
108
|
-
'Use consistent padding in panels'
|
|
109
|
-
]
|
|
110
|
-
},
|
|
111
|
-
containerWidths: {
|
|
112
|
-
compact: '100%',
|
|
113
|
-
medium: '100%',
|
|
114
|
-
expanded: '100%'
|
|
115
|
-
},
|
|
116
|
-
guidelines: [
|
|
117
|
-
'Use native window chrome and controls',
|
|
118
|
-
'Implement platform-specific menu bars',
|
|
119
|
-
'Support window resizing and states',
|
|
120
|
-
'Follow platform keyboard shortcuts',
|
|
121
|
-
'Implement proper focus management',
|
|
122
|
-
'Support drag-and-drop where appropriate'
|
|
123
|
-
]
|
|
124
|
-
};
|
|
125
|
-
|
|
126
|
-
// ============================================================================
|
|
127
|
-
// OS Application Domain Export
|
|
128
|
-
// ============================================================================
|
|
129
|
-
|
|
130
|
-
export const OS_APPLICATION_DOMAIN: DomainStyle = {
|
|
131
|
-
domain: 'os-application',
|
|
132
|
-
characteristics: [
|
|
133
|
-
'Native window management',
|
|
134
|
-
'Platform-specific menu bars and toolbars',
|
|
135
|
-
'Keyboard shortcuts and accessibility',
|
|
136
|
-
'System tray/menu bar integration',
|
|
137
|
-
'File system integration',
|
|
138
|
-
'Multi-window support',
|
|
139
|
-
'Drag-and-drop functionality',
|
|
140
|
-
'System theme integration (light/dark)',
|
|
141
|
-
'High DPI/Retina display support',
|
|
142
|
-
'Offline-first architecture'
|
|
143
|
-
],
|
|
144
|
-
colorScheme: OS_APP_COLORS,
|
|
145
|
-
typography: OS_APP_TYPOGRAPHY,
|
|
146
|
-
layout: OS_APP_LAYOUT,
|
|
147
|
-
examples: [
|
|
148
|
-
'Text editor with syntax highlighting',
|
|
149
|
-
'File manager with tree view',
|
|
150
|
-
'Email client with multi-pane layout',
|
|
151
|
-
'Media player with playback controls',
|
|
152
|
-
'Settings/preferences application',
|
|
153
|
-
'Development IDE with panels and toolbars'
|
|
154
|
-
]
|
|
155
|
-
};
|
|
156
|
-
|
|
1
|
+
/**
|
|
2
|
+
* OS Application Domain Module
|
|
3
|
+
*
|
|
4
|
+
* General OS application design patterns for desktop applications
|
|
5
|
+
* across Windows, macOS, and Linux platforms.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { DomainStyle, ColorPalette, TypographyRules, LayoutSystem } from '../../types';
|
|
9
|
+
|
|
10
|
+
// ============================================================================
|
|
11
|
+
// OS Application Color Palette
|
|
12
|
+
// ============================================================================
|
|
13
|
+
|
|
14
|
+
const OS_APP_COLORS: ColorPalette = {
|
|
15
|
+
primary: {
|
|
16
|
+
name: 'App Accent',
|
|
17
|
+
hex: '#0078D4',
|
|
18
|
+
rgb: { r: 0, g: 120, b: 212 },
|
|
19
|
+
hsl: { h: 206, s: 100, l: 42 },
|
|
20
|
+
variants: [
|
|
21
|
+
{ name: 'Accent Light', hex: '#4A9EFF', usage: 'Hover states' },
|
|
22
|
+
{ name: 'Accent Dark', hex: '#005A9E', usage: 'Pressed states' }
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
neutral: [
|
|
26
|
+
{ name: 'White', hex: '#FFFFFF', rgb: { r: 255, g: 255, b: 255 }, hsl: { h: 0, s: 0, l: 100 } },
|
|
27
|
+
{ name: 'Gray 10', hex: '#FAFAFA', rgb: { r: 250, g: 250, b: 250 }, hsl: { h: 0, s: 0, l: 98 } },
|
|
28
|
+
{ name: 'Gray 20', hex: '#F3F3F3', rgb: { r: 243, g: 243, b: 243 }, hsl: { h: 0, s: 0, l: 95 } },
|
|
29
|
+
{ name: 'Gray 130', hex: '#8A8A8A', rgb: { r: 138, g: 138, b: 138 }, hsl: { h: 0, s: 0, l: 54 } },
|
|
30
|
+
{ name: 'Gray 190', hex: '#201F1E', rgb: { r: 32, g: 31, b: 30 }, hsl: { h: 30, s: 3, l: 12 } }
|
|
31
|
+
],
|
|
32
|
+
semantic: {
|
|
33
|
+
success: { hex: '#107C10', usage: 'Success states' },
|
|
34
|
+
warning: { hex: '#FFB900', usage: 'Warnings' },
|
|
35
|
+
error: { hex: '#D13438', usage: 'Errors' },
|
|
36
|
+
info: { hex: '#0078D4', usage: 'Information' }
|
|
37
|
+
},
|
|
38
|
+
accessibility: {
|
|
39
|
+
minimumContrast: 4.5,
|
|
40
|
+
targetContrast: 7,
|
|
41
|
+
colorBlindSafe: true,
|
|
42
|
+
guidelines: [
|
|
43
|
+
'Support system theme (light/dark)',
|
|
44
|
+
'Respect OS high contrast mode',
|
|
45
|
+
'Ensure keyboard focus visibility',
|
|
46
|
+
'Test with platform accessibility tools'
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
// ============================================================================
|
|
52
|
+
// OS Application Typography
|
|
53
|
+
// ============================================================================
|
|
54
|
+
|
|
55
|
+
const OS_APP_TYPOGRAPHY: TypographyRules = {
|
|
56
|
+
fontFamilies: {
|
|
57
|
+
primary: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif',
|
|
58
|
+
secondary: 'system-ui, sans-serif',
|
|
59
|
+
monospace: '"SF Mono", "Consolas", "Courier New", monospace'
|
|
60
|
+
},
|
|
61
|
+
hierarchy: {
|
|
62
|
+
h1: { fontSize: '28px', fontWeight: 600, lineHeight: 1.3, letterSpacing: '0' },
|
|
63
|
+
h2: { fontSize: '20px', fontWeight: 600, lineHeight: 1.4, letterSpacing: '0' },
|
|
64
|
+
h3: { fontSize: '16px', fontWeight: 600, lineHeight: 1.4, letterSpacing: '0' },
|
|
65
|
+
h4: { fontSize: '14px', fontWeight: 600, lineHeight: 1.5, letterSpacing: '0' },
|
|
66
|
+
h5: { fontSize: '12px', fontWeight: 600, lineHeight: 1.5, letterSpacing: '0' },
|
|
67
|
+
h6: { fontSize: '11px', fontWeight: 600, lineHeight: 1.5, letterSpacing: '0' },
|
|
68
|
+
body: { fontSize: '14px', fontWeight: 400, lineHeight: 1.5, letterSpacing: '0' },
|
|
69
|
+
small: { fontSize: '12px', fontWeight: 400, lineHeight: 1.4, letterSpacing: '0' },
|
|
70
|
+
caption: { fontSize: '11px', fontWeight: 400, lineHeight: 1.3, letterSpacing: '0' }
|
|
71
|
+
},
|
|
72
|
+
scale: {
|
|
73
|
+
base: 14,
|
|
74
|
+
ratio: 1.15,
|
|
75
|
+
sizes: [11, 12, 14, 16, 20, 28]
|
|
76
|
+
},
|
|
77
|
+
guidelines: [
|
|
78
|
+
'Use system fonts for native feel',
|
|
79
|
+
'Follow platform typography conventions',
|
|
80
|
+
'Ensure readability at default system zoom',
|
|
81
|
+
'Support dynamic type/font scaling',
|
|
82
|
+
'Use platform-specific font weights'
|
|
83
|
+
]
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
// ============================================================================
|
|
87
|
+
// OS Application Layout System
|
|
88
|
+
// ============================================================================
|
|
89
|
+
|
|
90
|
+
const OS_APP_LAYOUT: LayoutSystem = {
|
|
91
|
+
grid: {
|
|
92
|
+
columns: 12,
|
|
93
|
+
gutter: '12px',
|
|
94
|
+
margin: '12px',
|
|
95
|
+
breakpoints: {
|
|
96
|
+
compact: '0-639px',
|
|
97
|
+
medium: '640-1023px',
|
|
98
|
+
expanded: '1024px+'
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
spacing: {
|
|
102
|
+
unit: 4,
|
|
103
|
+
scale: [0, 4, 8, 12, 16, 20, 24, 32, 40, 48],
|
|
104
|
+
guidelines: [
|
|
105
|
+
'Use 4px base unit for consistency',
|
|
106
|
+
'Follow platform spacing conventions',
|
|
107
|
+
'Maintain touch-friendly targets (44x44px minimum)',
|
|
108
|
+
'Use consistent padding in panels'
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
containerWidths: {
|
|
112
|
+
compact: '100%',
|
|
113
|
+
medium: '100%',
|
|
114
|
+
expanded: '100%'
|
|
115
|
+
},
|
|
116
|
+
guidelines: [
|
|
117
|
+
'Use native window chrome and controls',
|
|
118
|
+
'Implement platform-specific menu bars',
|
|
119
|
+
'Support window resizing and states',
|
|
120
|
+
'Follow platform keyboard shortcuts',
|
|
121
|
+
'Implement proper focus management',
|
|
122
|
+
'Support drag-and-drop where appropriate'
|
|
123
|
+
]
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
// ============================================================================
|
|
127
|
+
// OS Application Domain Export
|
|
128
|
+
// ============================================================================
|
|
129
|
+
|
|
130
|
+
export const OS_APPLICATION_DOMAIN: DomainStyle = {
|
|
131
|
+
domain: 'os-application',
|
|
132
|
+
characteristics: [
|
|
133
|
+
'Native window management',
|
|
134
|
+
'Platform-specific menu bars and toolbars',
|
|
135
|
+
'Keyboard shortcuts and accessibility',
|
|
136
|
+
'System tray/menu bar integration',
|
|
137
|
+
'File system integration',
|
|
138
|
+
'Multi-window support',
|
|
139
|
+
'Drag-and-drop functionality',
|
|
140
|
+
'System theme integration (light/dark)',
|
|
141
|
+
'High DPI/Retina display support',
|
|
142
|
+
'Offline-first architecture'
|
|
143
|
+
],
|
|
144
|
+
colorScheme: OS_APP_COLORS,
|
|
145
|
+
typography: OS_APP_TYPOGRAPHY,
|
|
146
|
+
layout: OS_APP_LAYOUT,
|
|
147
|
+
examples: [
|
|
148
|
+
'Text editor with syntax highlighting',
|
|
149
|
+
'File manager with tree view',
|
|
150
|
+
'Email client with multi-pane layout',
|
|
151
|
+
'Media player with playback controls',
|
|
152
|
+
'Settings/preferences application',
|
|
153
|
+
'Development IDE with panels and toolbars'
|
|
154
|
+
]
|
|
155
|
+
};
|
|
156
|
+
|