chore: clean up entrypoint and remove unused css vars
This commit is contained in:
@@ -1,17 +1,11 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Print diagnostic info
|
||||
echo "[$(date -Iseconds)] Running as user: $(id)"
|
||||
echo "[$(date -Iseconds)] Database file: $DATABASE_FILE"
|
||||
: "${DATABASE_FILE:=/app/data/mal.db}"
|
||||
|
||||
if [ -f "/app/main_server" ]; then
|
||||
echo "[$(date -Iseconds)] main_server found, size: $(stat -c%s /app/main_server) bytes"
|
||||
chmod +x /app/main_server
|
||||
else
|
||||
echo "[$(date -Iseconds)] ERROR: /app/main_server not found!"
|
||||
exit 1
|
||||
if [ ! -x /app/main_server ]; then
|
||||
echo "ERROR: /app/main_server not found or not executable" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "[$(date -Iseconds)] Starting server..."
|
||||
exec /app/main_server
|
||||
|
||||
@@ -34,16 +34,11 @@
|
||||
--text-faint: light-dark(#a8a29e, #78716c);
|
||||
--accent: var(--color-accent);
|
||||
--danger: #dc2626;
|
||||
--surface-search: light-dark(#f5f5f4, #181818);
|
||||
--surface-search-focus-border: light-dark(rgba(12, 10, 9, 0.12), rgba(255, 255, 255, 0.12));
|
||||
--surface-thumb: light-dark(#e7e5e4, #44403c);
|
||||
--surface-input: light-dark(#ffffff, #181818);
|
||||
--surface-input-focus: light-dark(#ffffff, #181818);
|
||||
--surface-tab-hover: light-dark(#e7e5e4, #202020);
|
||||
--surface-tab-active: light-dark(#1c1917, #fafaf9);
|
||||
--text-tab-active: light-dark(#fafaf9, #0c0a09);
|
||||
--surface-select: light-dark(#ffffff, #181818);
|
||||
--surface-search-view-all: light-dark(#f5f5f4, #181818);
|
||||
--text-on-accent: light-dark(#fafaf9, #0c0a09);
|
||||
--overlay-subtle: light-dark(rgba(0, 0, 0, 0.04), rgba(255, 255, 255, 0.04));
|
||||
--shadow-subtle: light-dark(0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.18));
|
||||
|
||||
Reference in New Issue
Block a user