Commit 68e4c84
refactor(spx-gui): migrate XBuilder frontend styling to Tailwind CSS (#3002)
* sv
* disable tailwind preflight
* fix: theme leading/text variables & tailwind utilities confliction with existing classes
* batch migration task 1
* batch migration task 2 - asset
* copilot
* editor - wip
* almost done
* details
* move UI component base styles into Tailwind component layer
* move template root comment outside
* fix incompatible css nesting & some details
* update doc
* refine tailwind flex utility usage and styling guidelines
* fix: missing navbar background image
* fix: css layer order messed up in split css chunk
* fix: utilities not work for UITextInput/UIDivider/UIRadioGroup
* draft: vue 3+ tailwind 4 component guildelines
* migrate UIButton to recipe-based tailwind styling
* fix: unexpected twMerge result due to non-standard tailwind tokens
* migrate UI components to tailwind v4 & remove scss deps
* support custom text-size utilities in twMerge
* move input layout classes to native wrappers & update docs
* Use naive-ui with layer support (#2)
* text-body -> text-base & remove redundant descriptions in docs
* simplify root class merging in UI components
* remove redundant layer order declarations
* fix: restore loading compatibility hooks for project runner
* align component styles with css layers and root class merging
---------
Co-authored-by: Hanxing Yang <nighca@live.cn>1 parent 8d27ea2 commit 68e4c84
339 files changed
Lines changed: 5332 additions & 10398 deletions
File tree
- spx-gui
- .vscode
- src
- components
- app
- browser-check
- device-check
- update-check
- asset
- animation
- gen
- animation
- backdrop
- common
- param-settings
- costume
- sprite
- library
- management
- preprocessing
- common
- split-sprite-sheet
- scratch
- common
- community
- home/banner
- project
- user
- content
- sidebar
- copilot
- custom-elements
- common
- feedback
- api-exception
- course/management
- editor
- code-editor
- spx-code-editor
- ui
- input-helper
- spx-color-input
- spx-effect-input
- resource
- xgo-code-editor/ui
- api-reference
- command
- completion
- definition
- diagnostics
- document-tab
- drop-indicator
- hover
- inlay-hint
- input-helper
- markdown
- common
- config/sprite
- viewer
- quick-config
- common
- sprite
- widget
- map-editor
- map-viewer
- panels
- common
- sprite
- stage
- preview
- stage-viewer
- sprite
- animation
- state
- stage
- backdrop
- sound
- waveform
- widget/detail
- project
- runner
- tutorials
- ui
- block-items
- checkbox
- collapse
- dialog
- empty
- error
- form
- icons
- loading
- message
- modal
- radio
- select
- tab
- timeline
- utils
- pages
- 404
- community
- user
- docs
- editor
- sign-in
- tutorials
- utils
- spotlight
- widgets/spx-runner
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
83 | 133 | | |
84 | 134 | | |
85 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
| |||
0 commit comments