Adding vaporwave dark theme.

- Fixes #345
This commit is contained in:
Dessalines 2019-11-21 17:45:21 -08:00
parent 002e8b9db9
commit 08f3342bc7
4 changed files with 6 additions and 3 deletions

View File

@ -6,12 +6,15 @@ new_tag="$1"
git tag $new_tag
# Setting the version on the front end
cd ../../
echo "export let version: string = '$(git describe --tags)';" > "ui/src/version.ts"
git add "ui/src/version.ts"
# Setting the version on the backend
echo "pub const VERSION: &'static str = \"$(git describe --tags)\";" > "server/src/version.rs"
git add "server/src/version.rs"
cd docker/dev
# Changing the docker-compose prod
sed -i "s/dessalines\/lemmy:.*/dessalines\/lemmy:$new_tag/" ../prod/docker-compose.yml
git add ../prod/docker-compose.yml

View File

@ -11,7 +11,7 @@ services:
- lemmy_db:/var/lib/postgresql/data
restart: always
lemmy:
image: dessalines/lemmy:v0.4.0.3
image: dessalines/lemmy:v0.4.0.5
ports:
- "127.0.0.1:8536:8536"
environment:

View File

@ -1,4 +1,3 @@
$blue: #01cdfe;
$indigo: #b967ff;
$purple: #b967ff;

1
ui/src/utils.ts vendored
View File

@ -287,6 +287,7 @@ export const themes = [
'journal',
'sketchy',
'vaporwave',
'vaporwave-dark',
];
export function setTheme(theme: string = 'darkly') {