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

feat(theme): add option for dedicated CSS file per theme #1958

Merged
merged 1 commit into from
Jul 27, 2024

Conversation

meteyou
Copy link
Member

@meteyou meteyou commented Jul 22, 2024

Description

This PR adds an option to load an optional CSS file per theme. To enable this theme file, you have to add the attribute css: true to the theme settings and add a CSS file in /public/css/themes/<themeName>.css. This file will be fetched and added to the header.

Related Tickets & Documents

none

Mobile & Desktop Screenshots/Recordings

none

[optional] Are there any post-deployment tasks we need to perform?

none

@meteyou meteyou requested review from dw-0 and rackrick July 22, 2024 16:36
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jul 22, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jul 25, 2024
@meteyou meteyou merged commit e75a7aa into mainsail-crew:develop Jul 27, 2024
12 checks passed
@meteyou meteyou deleted the feat/add-custom-css-theme branch July 27, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants