From 9396ca585c1da208f4ab65af101771cede40ce33 Mon Sep 17 00:00:00 2001
From: Cohee <18619528+Cohee1207@users.noreply.github.com>
Date: Sat, 28 Oct 2023 12:48:42 +0300
Subject: [PATCH] #1287 Add user.css file
---
.gitignore | 1 +
default/user.css | 1 +
post-install.js | 1 +
public/index.html | 1 +
4 files changed, 4 insertions(+)
create mode 100644 default/user.css
diff --git a/.gitignore b/.gitignore
index 2dfd8c6cf..507f91617 100644
--- a/.gitignore
+++ b/.gitignore
@@ -38,3 +38,4 @@ public/assets/
access.log
/vectors/
/cache/
+public/css/user.css
diff --git a/default/user.css b/default/user.css
new file mode 100644
index 000000000..317a2728c
--- /dev/null
+++ b/default/user.css
@@ -0,0 +1 @@
+/* Put custom styles here. */
diff --git a/post-install.js b/post-install.js
index 3b07be687..489bf8408 100644
--- a/post-install.js
+++ b/post-install.js
@@ -13,6 +13,7 @@ function createDefaultFiles() {
settings: './public/settings.json',
bg_load: './public/css/bg_load.css',
config: './config.conf',
+ user: './public/css/user.css',
};
for (const file of Object.values(files)) {
diff --git a/public/index.html b/public/index.html
index 6b8b5ee4c..2a7c6104c 100644
--- a/public/index.html
+++ b/public/index.html
@@ -65,6 +65,7 @@
+