Merged
Conversation
Agent-Logs-Url: https://github.com/SolidOS/solid-assets/sessions/6f274b0f-e240-43a9-99a2-3f5f61af1ad9 Co-authored-by: timea-solid <4144203+timea-solid@users.noreply.github.com>
Agent-Logs-Url: https://github.com/SolidOS/solid-assets/sessions/139e4cef-7de6-4efc-8027-8464fc139fec Co-authored-by: timea-solid <4144203+timea-solid@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
timea-solid
April 19, 2026 12:04
View session
timea-solid
approved these changes
Apr 19, 2026
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.
This PR restructures the repository into an npm-publishable workspaces monorepo for frameworkless theme tokens and split icon assets. It adds package outputs and docs for webpack consumers to import only the icons they use while supporting light/dark theme variables.
import '@solidos/tokens/themes.css';
import searchIconUrl from '@solidos/icons/icons/search.svg';
const icon = document.createElement('span');
icon.className = 'Icon';
icon.style.setProperty('--icon-mask',
url("${searchIconUrl}"));Original prompt
This pull request was created from Copilot chat.
Adds a working webpack 5 example under
examples/webpack-demo/to demonstrate how consumers bundle@solidos/tokensand@solidos/icons. Also merges the monorepo foundation (packages, build scripts, workspace config) from the sibling PR as the base.webpack demo (
examples/webpack-demo/)webpack.config.js—type: 'asset/resource'for SVGs; only imported icons are emitted (tree-shakeable). CSS extracted viamini-css-extract-plugin.src/index.js— imports theme tokens + two UI icons + logo; togglesdata-themeat runtime.public/index.html— includes inline CSS mask styles for icon rendering.package.json— usesfile:references to local workspace packages (pre-publish compatible).Other
.gitignore— addedexamples/*/dist/.README.md— added "Webpack demo" section pointing to the example.