mastodon: add custom script

This commit is contained in:
Wonderfall 2017-06-16 19:50:27 +02:00
parent 120e49dd92
commit 385a865b95
3 changed files with 9 additions and 2 deletions

View File

@ -49,7 +49,7 @@ RUN apk -U upgrade \
tar \
&& update-ca-certificates \
&& wget -qO- https://github.com/${REPOSITORY}/archive/${VERSION}.tar.gz | tar xz --strip 1 \
&& cp -R /tmp/targaryen/* . \
&& cp -R /tmp/targaryen/* . && chmod +x targaryen.sh && ./targaryen.sh \
&& gem install bundler \
&& bundle install --deployment --clean --no-cache --without test development \
&& npm install -g npm@3 && npm install -g yarn \

View File

@ -7,7 +7,7 @@ $warning-red: #ff5050; // Sunset Orange
$gold-star: #ca8f04; // Dark Goldenrod
// Values from the classic Mastodon UI
$classic-base-color: #2d2d2d; // Midnight Grey
$classic-base-color: #282828; // Midnight Grey
$classic-primary-color: #c89b9b; // Echo Red
$classic-secondary-color: #e8d9d9; // Pattens Red
$classic-highlight-color: #d92b2b; // Summer RedSky

View File

@ -0,0 +1,7 @@
#!/bin/sh
### Increase number of characters / toot
sed -i -e 's/500/800/g' \
app/javascript/mastodon/features/compose/components/compose_form.js \
app/validators/status_length_validator.rb \
storybook/stories/character_counter.story.js