If you plan to use Google Fonts, you need to authorize HumHub to download Google Fonts by adding the https://fonts.gstatic.com
URL in the CSP Settings of the web.php
configuration file.
Example of configuration for the protected/config/web.php
file:
return [
'modules' => [
'web' => [
'security' => [
"csp" => [
"font-src" => [
"self" => true,
"allow" => [
"https://fonts.gstatic.com",
],
],
],
],
],
],
];
More information about the CSP configuration can be found in the HumHub documentation.
If you want to build a chid-theme over the Clean theme, see Documentation here and Wiki here.
Use available CSS variables in protected/modules/clean-theme/themes/Clean/scss/config-generated-root.scss
.