Docs: fix missing icons & favicon
This commit is contained in:
@@ -134,8 +134,8 @@ site_dir: out
|
|||||||
|
|
||||||
theme:
|
theme:
|
||||||
font: false
|
font: false
|
||||||
logo: https://clan.lol/static/logo/clan-white.png
|
logo: static/icons/clan-logo.svg
|
||||||
favicon: https://clan.lol/static/dark-favicon/128x128.png
|
favicon: https://clan.lol/favicon.svg
|
||||||
name: material
|
name: material
|
||||||
features:
|
features:
|
||||||
- navigation.instant
|
- navigation.instant
|
||||||
|
|||||||
@@ -45,6 +45,9 @@ pkgs.stdenv.mkDerivation {
|
|||||||
# Link to fonts
|
# Link to fonts
|
||||||
ln -snf ${roboto}/share/fonts/truetype/Roboto-Regular.ttf ./site/static/
|
ln -snf ${roboto}/share/fonts/truetype/Roboto-Regular.ttf ./site/static/
|
||||||
ln -snf ${fira-code}/share/fonts/truetype/FiraCode-VF.ttf ./site/static/
|
ln -snf ${fira-code}/share/fonts/truetype/FiraCode-VF.ttf ./site/static/
|
||||||
|
|
||||||
|
# Copy icons into place
|
||||||
|
cp -af ../pkgs/webview-ui/app/icons ./site/static/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
|||||||
@@ -11,3 +11,7 @@
|
|||||||
--md-text-font: "Roboto";
|
--md-text-font: "Roboto";
|
||||||
--md-code-font: "Fira Code";
|
--md-code-font: "Fira Code";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.md-header img {
|
||||||
|
filter: invert(100%) brightness(100%);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user