refactor(css): split styles.css by UI surface into 15 files (Round E,#253) - #261
Closed
somewan820 wants to merge 1 commit into
Closed
refactor(css): split styles.css by UI surface into 15 files (Round E,#253)#261somewan820 wants to merge 1 commit into
somewan820 wants to merge 1 commit into
Conversation
…pache#253) Split the 13733-line @layer components block into 15 surface- focused files under apps/desktop/src/renderer/styles/: sidebar / onboarding / module-pages / chat-header / chat-message tool-output / composer / settings / reasoning-panel / markdown-link permission-center / health-center / tool-stream / daily-review theme-glass styles.css is now a ~215-line entry: imports, :root, @theme inline, @layer base, then 15 @import "..." layer(components) statements for the split files. Uses CSS standard @import layer() syntax (not @layer-wrapped @import, which lightningcss/tailwind build chain does not support). Pure file relocation — no rule, selector, property, or comment changed. Verified: - vite build:renderer succeeds, CSS output 432KB - apache#256 renderer-style-pruning-contract test passes (2/2) - computed style comparison: 3480 selectors, 0 mismatches - all 15 segment files lightningcss-parse VALID Part of issue apache#253 Round E.
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.
Split the 13733-line @layer components block into 15 surface- focused files under apps/desktop/src/renderer/styles/:
sidebar / onboarding / module-pages / chat-header / chat-message
tool-output / composer / settings / reasoning-panel / markdown-link
permission-center / health-center / tool-stream / daily-review
theme-glass
styles.css is now a ~215-line entry: imports, :root, @theme inline, @layer base, then 15 @import "..." layer(components) statements for the split files. Uses CSS standard @import layer() syntax (not @layer-wrapped @import, which lightningcss/tailwind build chain does not support).
Pure file relocation — no rule, selector, property, or comment changed. Verified:
Part of issue #253 Round E.