-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-template.yml
More file actions
53 lines (44 loc) · 1.83 KB
/
config-template.yml
File metadata and controls
53 lines (44 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Wireframe Extension Configuration
# Copy this to .specify/extensions/wireframe/wireframe-config.yml to customize.
# All settings are optional — defaults apply if not specified.
# Theme defaults
# Controls which theme gets generated when --theme is not specified.
# The generator auto-classifies User Stories as frontend/backend/hybrid
# and applies the matching theme from this section.
themes:
# Frontend features (User Stories describe UI interactions)
frontend: "light" # Options: "light", "dark"
# Backend features (User Stories describe system behavior)
backend: "dark" # Options: "light", "dark"
# Hybrid features (both UI and system concerns)
# "both" generates one SVG per theme
hybrid: "both" # Options: "light", "dark", "both"
# Output paths
# {feature} is replaced with the feature directory name (e.g. "001-user-auth")
output:
svg_dir: "specs/{feature}/wireframes"
screenshot_dir: "specs/{feature}/wireframes/screenshots"
issues_suffix: ".issues.md"
# Canvas dimensions (SVG viewBox)
canvas:
width: 1920
height: 1080
# Validator (Tier-2, optional Python)
# Set enabled: true only if validate.py is installed
validator:
enabled: false
script: ".specify/extensions/wireframe/scripts/validate.py"
# Screenshots (Tier-2, optional)
# Auto-detects python-playwright vs docker at runtime
screenshots:
quadrants: true # Capture 5 quadrant crops in addition to overview
resolution: "2x" # Options: "1x", "2x" (2x recommended for review)
# Sign-off block style
# Controls how wireframe paths get written into spec.md on approval
signoff:
section_heading: "## UI Mockup"
include_date: true
include_theme_label: true # Adds "(light theme)" / "(dark theme)" per wireframe
# Environment variable overrides:
# SPECKIT_WIREFRAME_THEMES_FRONTEND=dark
# SPECKIT_WIREFRAME_VALIDATOR_ENABLED=true