Closed Vita-Meow closed 2 years ago
Thank you for contributing to the theming-base-content. You're right with your observation that the @font-face
definitions should not be part of the css_variables.css files.
However, simply removing them from the css_variables.css file does not scale. The css_variables.css files are generated from the css_variables.less files in the upstream SAP-internal theming-base-content. With the next update of the open source theming-base-content (this repo) your changes would be overwritten again.
What you discovered seems to be a bug in the build of the theming-base-content. I'll debug into it and solve it upstream.
Thank you for contributing to the theming-base-content. You're right with your observation that the
@font-face
definitions should not be part of the css_variables.css files.However, simply removing them from the css_variables.css file does not scale. The css_variables.css files are generated from the css_variables.less files in the upstream SAP-internal theming-base-content. With the next update of the open source theming-base-content (this repo) your changes would be overwritten again.
What you discovered seems to be a bug in the build of the theming-base-content. I'll debug into it and solve it upstream.
Also thanks for your explanation for details! Looking forward it!
fix #8
I guess these code should be here right? Because it should be a common part, and other themes like Belize and Fiori 3 or HCB HCW are all not having this. Beside I saw these already be written in all theme's preview.css