디자인 시스템
after_design_system의 토큰, 테마 데이터, 컴포넌트, 브랜드 확장.
문서 버전: supercore main · 패키지 1.0.0
테마 데이터이 섹션으로 연결되는 링크: 테마 데이터
공유 시각 언어입니다. 색상, 간격, 모서리 반경, 모션, 타이포그래피 토큰, Material 3 테마 데이터, 공유 컴포넌트를 제공하며 모든 제품 라인에서 동일합니다.
abstract final class AfterThemeData {
static ThemeData light({
AfterTypography typography = AfterTypography.garage,
Color? accentOverride,
}) { … }
static ThemeData dark({
AfterTypography typography = AfterTypography.garage,
Color? accentOverride,
}) { … }
}
// Product: same family, own accent (spec branding.accent).
MaterialApp(
theme: AfterThemeData.light(accentOverride: const Color(0xFF22D3EE)),
darkTheme: AfterThemeData.dark(accentOverride: const Color(0xFF22D3EE)),
);소스 supercore/packages/after_design_system/lib/src/foundations/theme.dart (새 탭에서 열림)
토큰이 섹션으로 연결되는 링크: 토큰
| 토큰 | 값 |
|---|---|
| AfterColors.accent | #38BDF8 |
| AfterColors.accentDeep | #0284C7 |
| AfterColors.graphite950 | #0B0C0F |
| AfterColors.graphite800 | #222831 |
| AfterColors.steel | #8A919D |
| AfterColors.lightBackground | #FAFBFC |
| AfterColors.success | #22C55E |
| AfterColors.warning | #F59E0B |
| AfterColors.danger | #EF4444 |
| AfterSpacing.xs | 4 |
| AfterSpacing.sm | 8 |
| AfterSpacing.md | 12 |
| AfterSpacing.lg | 16 |
| AfterSpacing.xxl | 24 |
| AfterSpacing.xxxl | 32 |
| AfterSpacing.massive | 48 |
| AfterSpacing.hero | 64 |
| AfterRadius · xs | 6 |
| AfterRadius · sm · control | 8 |
| AfterRadius · md · surface | 12 |
| AfterRadius · lg · panel | 16 |
| AfterRadius · xl · media | 20 |
| AfterMotion · instant | 100ms |
| AfterMotion · fast · micro | 180ms |
| AfterMotion · normal · page | 280ms |
| AfterMotion · slow · modal | 420ms |
| AfterMotion · emphasis | 560ms |
컴포넌트이 섹션으로 연결되는 링크: 컴포넌트
버튼, 카드, 입력, 내비게이션, 대화상자, 차트, 대시보드, 빈 상태 및 로딩 상태, 설정 섹션, 셸 상단 바.
- lib/src/components/buttons.dart
- lib/src/components/cards.dart
- lib/src/components/inputs.dart
- lib/src/components/navigation_bar.dart
- lib/src/components/dialogs.dart
- lib/src/components/charts.dart
- lib/src/components/dashboard.dart
- lib/src/components/empty_states.dart
- lib/src/components/loading.dart
- lib/src/components/settings_section.dart
- lib/src/components/shell_top_bar.dart
브랜드 확장이 섹션으로 연결되는 링크: 브랜드 확장
각 제품 스펙은 강조 색상과 모노그램을 선언합니다. 테마는 accentOverride를 통해 강조 색상을 받고, 나머지는 모두 패밀리 디자인을 유지합니다.
- SuperGarage#22D3EE · SG
- SuperKids#F472B6 · SK
- SuperHospital#F43F5E · SH
- SuperFactory#F59E0B · SF