mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
mastodon: add custom script
This commit is contained in:
parent
120e49dd92
commit
385a865b95
@ -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 \
|
||||
|
@ -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
|
||||
|
7
mastodon/targaryen/targaryen.sh
Normal file
7
mastodon/targaryen/targaryen.sh
Normal 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
|
Loading…
x
Reference in New Issue
Block a user