fix(status-dashboard): add styled-components type augmentation
Extend DefaultTheme with ThemeInterface from @ui/theme to fix TypeScript errors for theme properties (colors, spacing, typography). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
f9499636ba
commit
10050519e5
2 changed files with 17 additions and 3 deletions
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"major": 0,
|
||||
"merges": 0,
|
||||
"builds": 12,
|
||||
"version": "0.0.12",
|
||||
"builds": 13,
|
||||
"version": "0.0.13",
|
||||
"lastMerge": null,
|
||||
"lastBuild": "2025-12-27T22:02:38-08:00"
|
||||
"lastBuild": "2025-12-27T22:24:55-08:00"
|
||||
}
|
||||
|
|
|
|||
14
features/status-dashboard/frontend/src/styled.d.ts
vendored
Normal file
14
features/status-dashboard/frontend/src/styled.d.ts
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* Styled Components Type Augmentation
|
||||
*
|
||||
* Extends styled-components DefaultTheme with ThemeInterface from @ui/theme.
|
||||
* This allows TypeScript to recognize theme properties in styled components.
|
||||
*/
|
||||
|
||||
import 'styled-components';
|
||||
|
||||
import type { ThemeInterface } from '@ui/theme';
|
||||
|
||||
declare module 'styled-components' {
|
||||
export interface DefaultTheme extends ThemeInterface {}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue