This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# Change: Update shared theme tokens
|
||||
|
||||
## Why
|
||||
|
||||
The project currently has inconsistent theme entry points: `src/static/styles/theme.scss` defines `--brand-*` variables, while `src/uni.scss` and `uno.config.ts` still reference `--theme-*` variables. This prevents a clean single-source design system and makes brand updates drift across pages.
|
||||
|
||||
## What Changes
|
||||
|
||||
- Establish a single theme source for the project color system in `src/static/styles/theme.scss`
|
||||
- Re-define the core project palette as:
|
||||
- Primary: `#2F7D32`
|
||||
- Secondary: `#1F2937`
|
||||
- Tertiary: `#F4FBF5`
|
||||
- Require page and component layout accents to consume shared theme tokens instead of page-local hard-coded hex values
|
||||
- Align UnoCSS and uView theme mappings with the shared theme source
|
||||
|
||||
## Impact
|
||||
|
||||
- Affected specs:
|
||||
- `design-theme-tokens`
|
||||
- Affected code:
|
||||
- `src/static/styles/theme.scss`
|
||||
- `src/uni.scss`
|
||||
- `uno.config.ts`
|
||||
- shared agent-facing components that currently rely on page-local brand hex colors
|
||||
Reference in New Issue
Block a user