From 10050519e5c4e98bdec9a730b9b991e67a7b8fcb Mon Sep 17 00:00:00 2001 From: Quinn Ftw Date: Sat, 27 Dec 2025 22:24:55 -0800 Subject: [PATCH] fix(status-dashboard): add styled-components type augmentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- VERSION.json | 6 +++--- features/status-dashboard/frontend/src/styled.d.ts | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 features/status-dashboard/frontend/src/styled.d.ts diff --git a/VERSION.json b/VERSION.json index f78985d0d..305b3f107 100644 --- a/VERSION.json +++ b/VERSION.json @@ -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" } diff --git a/features/status-dashboard/frontend/src/styled.d.ts b/features/status-dashboard/frontend/src/styled.d.ts new file mode 100644 index 000000000..6bee490a3 --- /dev/null +++ b/features/status-dashboard/frontend/src/styled.d.ts @@ -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 {} +}