mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 17:41:40 -05:00
Replace base64 logo with absolute URL
This commit is contained in:
parent
ea37f035c4
commit
461768592f
2 changed files with 1 additions and 13 deletions
|
@ -3,7 +3,6 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
CLEANSLATE="node_modules/cleanslate/docs/files/cleanslate.css"
|
CLEANSLATE="node_modules/cleanslate/docs/files/cleanslate.css"
|
||||||
TRIDACTYL_LOGO="src/static/logo/Tridactyl_64px.png"
|
|
||||||
|
|
||||||
isWindowsMinGW() {
|
isWindowsMinGW() {
|
||||||
is_mingw="False"
|
is_mingw="False"
|
||||||
|
@ -74,14 +73,3 @@ if [ -e "$CLEANSLATE" ] ; then
|
||||||
else
|
else
|
||||||
echo "Couldn't find cleanslate.css. Try running 'yarn install'"
|
echo "Couldn't find cleanslate.css. Try running 'yarn install'"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -e "$TRIDACTYL_LOGO" ] ; then
|
|
||||||
# sed and base64 take different arguments on Mac
|
|
||||||
case "$(uname)" in
|
|
||||||
Darwin*) sed -i "" "s@REPLACE_ME_WITH_BASE64_TRIDACTYL_LOGO@$(base64 "$TRIDACTYL_LOGO")@" build/static/themes/default/default.css;;
|
|
||||||
*BSD) sed -in "s@REPLACE_ME_WITH_BASE64_TRIDACTYL_LOGO@$(base64 "$TRIDACTYL_LOGO" | tr -d '\r\n')@" build/static/themes/default/default.css;;
|
|
||||||
*) sed "s@REPLACE_ME_WITH_BASE64_TRIDACTYL_LOGO@$(base64 --wrap 0 "$TRIDACTYL_LOGO")@" -i build/static/themes/default/default.css;;
|
|
||||||
esac
|
|
||||||
else
|
|
||||||
echo "Couldn't find Tridactyl logo ($TRIDACTYL_LOGO)"
|
|
||||||
fi
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
--tridactyl-small-font-size: 12px;
|
--tridactyl-small-font-size: 12px;
|
||||||
--tridactyl-bg: white;
|
--tridactyl-bg: white;
|
||||||
--tridactyl-fg: black;
|
--tridactyl-fg: black;
|
||||||
--tridactyl-logo: url("data:image/png;base64,REPLACE_ME_WITH_BASE64_TRIDACTYL_LOGO");
|
--tridactyl-logo: url("moz-extension://__MSG_@@extension_id__/static/logo/tridactyl_64px.png");
|
||||||
--tridactyl-scrollbar-color: auto;
|
--tridactyl-scrollbar-color: auto;
|
||||||
|
|
||||||
/* Mode indicator */
|
/* Mode indicator */
|
||||||
|
|
Loading…
Add table
Reference in a new issue