Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: use vendor css from npm package (@fehmer) #6206

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

fehmer
Copy link
Member

@fehmer fehmer commented Jan 23, 2025

This PR removes the remaining "vendor" css files copied into static/css and pick them from npm packages instead.

For the slimselect the css should match the version of the js. Since we use the slimselect js file from the npm package we should use the css file from the package as well.

For the balloon.css the file was copied into the project. Adding it as a dependency makes sure we know the version of it and we don't modify it in the project leading to problems when we try to update it later.

Similar to the vendor js files (js dependencies from packages) extract the vendor css files into a separate css file as well.

@monkeytypegeorge monkeytypegeorge added frontend User interface or web stuff assets Languages, themes, layouts, etc. labels Jan 23, 2025
@Miodec Miodec added the prettify Ask the bot to prettify this pr label Jan 27, 2025
@github-actions github-actions bot removed the prettify Ask the bot to prettify this pr label Jan 27, 2025
@fehmer fehmer changed the title refactor: use slimselect css from npm package (@fehmer) refactor: use vendor css from npm package (@fehmer) Jan 27, 2025
Copy link
Contributor

Continuous integration check(s) failed. Please review the failing check's logs and make the necessary changes.

@fehmer fehmer force-pushed the feature/remove-slimselect-css branch from 9fff86d to 81b7c56 Compare January 27, 2025 15:43
@fehmer fehmer force-pushed the feature/remove-slimselect-css branch from 81b7c56 to 3e920c7 Compare January 27, 2025 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assets Languages, themes, layouts, etc. frontend User interface or web stuff
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants