Add mastodon-modern theme
This commit is contained in:
parent
9cbb3b1f37
commit
cfec34b292
|
@ -5,6 +5,11 @@ let
|
||||||
rev = "v2.2";
|
rev = "v2.2";
|
||||||
hash = "sha256-KyXDnpZh1DrY59jvdU42UicgBVvEGtvAGeU1mNxJauQ=";
|
hash = "sha256-KyXDnpZh1DrY59jvdU42UicgBVvEGtvAGeU1mNxJauQ=";
|
||||||
};
|
};
|
||||||
|
mastodonModern = pkgs.fetchgit {
|
||||||
|
url = "https://git.gay/freeplay/Mastodon-Modern.git";
|
||||||
|
rev = "e9e53496789234d5782b5b3d97ed66a130b1678a";
|
||||||
|
hash = "sha256-lUq57Gbr1UCMVGoO4xTT3wYPNwohdepxSPCX+WP6AS8=";
|
||||||
|
};
|
||||||
mastodonNekoversePatches = pkgs.fetchgit {
|
mastodonNekoversePatches = pkgs.fetchgit {
|
||||||
url = "https://github.com/yuri-qq/nekoverse-mastodon-patches.git";
|
url = "https://github.com/yuri-qq/nekoverse-mastodon-patches.git";
|
||||||
hash = "sha256-3jWbKll5RGB1vfEmONVivzGYcoONEkBEHh/rOt9LXlU=";
|
hash = "sha256-3jWbKll5RGB1vfEmONVivzGYcoONEkBEHh/rOt9LXlU=";
|
||||||
|
@ -23,10 +28,14 @@ let
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
cp -r ./ $out/
|
cp -r ./ $out/
|
||||||
cp -r ${tangerineUI}/mastodon/app/javascript/styles/* $out/app/javascript/styles/
|
cp -r ${tangerineUI}/mastodon/app/javascript/styles/* $out/app/javascript/styles/
|
||||||
|
echo "@import 'mastodon/variables';
|
||||||
|
@import 'application';" >> $out/app/javascript/styles/modern-dark.scss
|
||||||
|
cat ${mastodonModern}/modern.css >> $out/app/javascript/styles/modern-dark.scss
|
||||||
echo "tangerineui: styles/tangerineui.scss
|
echo "tangerineui: styles/tangerineui.scss
|
||||||
tangerineui-purple: styles/tangerineui-purple.scss
|
tangerineui-purple: styles/tangerineui-purple.scss
|
||||||
tangerineui-cherry: styles/tangerineui-cherry.scss
|
tangerineui-cherry: styles/tangerineui-cherry.scss
|
||||||
tangerineui-lagoon: styles/tangerineui-lagoon.scss" >> $out/config/themes.yml
|
tangerineui-lagoon: styles/tangerineui-lagoon.scss
|
||||||
|
modern-dark: styles/modern-dark.scss" >> $out/config/themes.yml
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
patches = [
|
patches = [
|
||||||
|
|
Loading…
Reference in a new issue