Adding vaporwave dark theme.

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

View file

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

View file

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

View file

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

1
ui/src/utils.ts vendored
View file

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