mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
parent
002e8b9db9
commit
08f3342bc7
3
docker/dev/deploy.sh
vendored
3
docker/dev/deploy.sh
vendored
@ -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
|
||||
|
2
docker/prod/docker-compose.yml
vendored
2
docker/prod/docker-compose.yml
vendored
@ -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:
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
$blue: #01cdfe;
|
||||
$indigo: #b967ff;
|
||||
$purple: #b967ff;
|
||||
@ -23,4 +22,4 @@ $text-muted: $gray-500;
|
||||
$primary: $pink;
|
||||
$navbar-light-hover-color: rgba($primary, .7);
|
||||
$light: darken($gray-100,1.5);
|
||||
$font-family-sans-serif: "Lucida Console", Monaco, monospace;
|
||||
$font-family-sans-serif: "Lucida Console", Monaco, monospace;
|
||||
|
1
ui/src/utils.ts
vendored
1
ui/src/utils.ts
vendored
@ -287,6 +287,7 @@ export const themes = [
|
||||
'journal',
|
||||
'sketchy',
|
||||
'vaporwave',
|
||||
'vaporwave-dark',
|
||||
];
|
||||
|
||||
export function setTheme(theme: string = 'darkly') {
|
||||
|
Loading…
Reference in New Issue
Block a user