mirror of
https://github.com/NohamR/Reclass.git
synced 2026-05-10 19:59:21 +00:00
Theme system overhaul, UI polish, and VS2022 Dark theme
- Replaced hardcoded theme factories with JSON files + CMake build step - Shared ThemeFieldMeta table for DRY serialization and editor UI - Fixed live preview (auto-triggers on color change, no toggle button) - Fixed duplicate theme entries when editing built-in themes - Moved title bar from icon to bold "Reclass" text with View > Show Icon toggle - MDI tabs: 24px height, unicode close button styled like TypeSelectorPopup - Added VS2022 Dark theme with purple accent colors - Status bar padding, removed monospace font overrides on tabs/statusbar - Default startup opens Ball demo + Unnamed hex64 tabs
This commit is contained in:
29
src/themes/defaults/reclass_dark.json
Normal file
29
src/themes/defaults/reclass_dark.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "Reclass Dark",
|
||||
"background": "#1e1e1e",
|
||||
"backgroundAlt": "#252526",
|
||||
"surface": "#2a2d2e",
|
||||
"border": "#3c3c3c",
|
||||
"borderFocused": "#888888",
|
||||
"button": "#333333",
|
||||
"text": "#d4d4d4",
|
||||
"textDim": "#858585",
|
||||
"textMuted": "#585858",
|
||||
"textFaint": "#505050",
|
||||
"hover": "#2b2b2b",
|
||||
"selected": "#232323",
|
||||
"selection": "#2b2b2b",
|
||||
"syntaxKeyword": "#569cd6",
|
||||
"syntaxNumber": "#b5cea8",
|
||||
"syntaxString": "#ce9178",
|
||||
"syntaxComment": "#6a9955",
|
||||
"syntaxPreproc": "#c586c0",
|
||||
"syntaxType": "#4EC9B0",
|
||||
"indHoverSpan": "#E6B450",
|
||||
"indCmdPill": "#2a2a2a",
|
||||
"indDataChanged": "#8fbc7a",
|
||||
"indHintGreen": "#5a8248",
|
||||
"markerPtr": "#f44747",
|
||||
"markerCycle": "#e5a00d",
|
||||
"markerError": "#7a2e2e"
|
||||
}
|
||||
29
src/themes/defaults/vs.json
Normal file
29
src/themes/defaults/vs.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "VS2022 Dark",
|
||||
"background": "#1e1e1e",
|
||||
"backgroundAlt": "#2d2d30",
|
||||
"surface": "#333337",
|
||||
"border": "#3f3f46",
|
||||
"borderFocused": "#b180d7",
|
||||
"button": "#3f3f46",
|
||||
"text": "#dcdcdc",
|
||||
"textDim": "#858585",
|
||||
"textMuted": "#636369",
|
||||
"textFaint": "#4d4d55",
|
||||
"hover": "#3e3e42",
|
||||
"selected": "#2d2d30",
|
||||
"selection": "#264f78",
|
||||
"syntaxKeyword": "#569cd6",
|
||||
"syntaxNumber": "#b5cea8",
|
||||
"syntaxString": "#d69d85",
|
||||
"syntaxComment": "#57a64a",
|
||||
"syntaxPreproc": "#9b9b9b",
|
||||
"syntaxType": "#4ec9b0",
|
||||
"indHoverSpan": "#b180d7",
|
||||
"indCmdPill": "#2d2d30",
|
||||
"indDataChanged": "#8fbc7a",
|
||||
"indHintGreen": "#5a8248",
|
||||
"markerPtr": "#f44747",
|
||||
"markerCycle": "#e5a00d",
|
||||
"markerError": "#7a2e2e"
|
||||
}
|
||||
29
src/themes/defaults/warm.json
Normal file
29
src/themes/defaults/warm.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "Warm",
|
||||
"background": "#212121",
|
||||
"backgroundAlt": "#2a2a2a",
|
||||
"surface": "#2a2a2a",
|
||||
"border": "#373737",
|
||||
"borderFocused": "#888888",
|
||||
"button": "#373737",
|
||||
"text": "#AAA99F",
|
||||
"textDim": "#7a7a6e",
|
||||
"textMuted": "#555550",
|
||||
"textFaint": "#464646",
|
||||
"hover": "#373737",
|
||||
"selected": "#2d2d2d",
|
||||
"selection": "#21213A",
|
||||
"syntaxKeyword": "#AA9565",
|
||||
"syntaxNumber": "#AAA98C",
|
||||
"syntaxString": "#6B3B21",
|
||||
"syntaxComment": "#464646",
|
||||
"syntaxPreproc": "#AA9565",
|
||||
"syntaxType": "#6B959F",
|
||||
"indHoverSpan": "#AA9565",
|
||||
"indCmdPill": "#2a2a2a",
|
||||
"indDataChanged": "#6B959F",
|
||||
"indHintGreen": "#464646",
|
||||
"markerPtr": "#6B3B21",
|
||||
"markerCycle": "#AA9565",
|
||||
"markerError": "#3C2121"
|
||||
}
|
||||
Reference in New Issue
Block a user