Skip to content

feat: add preview-block for better placing preview.css#1

Open
mariolorenz wants to merge 1 commit intomoga-kit:masterfrom
mariolorenz:PreviewCSSasBlock
Open

feat: add preview-block for better placing preview.css#1
mariolorenz wants to merge 1 commit intomoga-kit:masterfrom
mariolorenz:PreviewCSSasBlock

Conversation

@mariolorenz
Copy link
Copy Markdown

@vanilla-thunder : Hello Marat i´ve a pull-request in the moga-theme to add an maintenance-task

During review the theme-repo, I saw that you include a preview.css in the Moga theme. The construct is only needed if the moga module is used. That's why I added a block to the theme that can be overwritten by your module.
The new "base_style_overload" block is deliberately placed in the "base_style" block so that other modules can continue to use the "base_style" block. In the theme block "base_style_overload" only the [{oxstyle include = "css / styles.min.css"}] is stored so that your preview.css can overwrite it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant