feat: Add theme system, improve form styling, fix import paths and data deletion bug#2
Draft
feat: Add theme system, improve form styling, fix import paths and data deletion bug#2
Conversation
Co-authored-by: CoderBoyBoy <11583532+CoderBoyBoy@users.noreply.github.com>
- Created global theme system with light/dark mode support - Added CSS variables for colors, spacing, and typography - Beautified form styles with improved spacing and borders - Added theme toggle button to UI - Fixed bug in docInfo: delete data.license instead of data.contact - Improved variable naming: getData → getFormData, saveData → saveFormData - Removed debug console.log statements from siderMenu - Enhanced visual hierarchy and component styling Co-authored-by: CoderBoyBoy <11583532+CoderBoyBoy@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Optimize form layout and improve global styles for OpenAPI designer
feat: Add theme system, improve form styling, fix import paths and data deletion bug
Nov 6, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses optimization requirements: form beautification, light/dark theme support, bug fixes, and improved code readability.
Theme System
Added global CSS variable-based theming with light/dark mode:
/core/styles/theme.css- Color, spacing, typography tokens/core/styles/forms.css- Form component styling using theme variablestoggleThemeexposed via component API)Bug Fixes
Import path case sensitivity (13 files)
preview→preViewin App.vueIcons→iconsfor SVG importsarrow→Arrow,dropdown→Dropdownfor componentsData deletion bug in docInfo/formView/index.vue:86
Code Quality
getData→getFormData,saveData→saveFormData(clearer intent)console.logstatementsScreenshots
Light Theme

Dark Theme

Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.