diff --git a/Dockerfile b/Dockerfile index 829f5ee..58df9a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ FROM nginx:alpine COPY default.conf /etc/nginx/conf.d/default.conf COPY ash.css /usr/share/nginx/html/ash.css +COPY gruvbox.css /usr/share/nginx/html/gruvbox.css +COPY config.js /usr/share/nginx/html/config.js COPY index.html /usr/share/nginx/html/index.html COPY noise.png /usr/share/nginx/html/noise.png EXPOSE 58881 diff --git a/config.js b/config.js new file mode 100644 index 0000000..7d72571 --- /dev/null +++ b/config.js @@ -0,0 +1,12 @@ +/* Application configuration + * debug - Show debug panel (0/1) + * theme - Color palette: 'ash' or 'gruvbox' + * units - Measurement units: 'metric' or 'imperial' + * language - UI language: 'de' or 'en' + */ +window.CONFIG = { + debug: 1, + theme: 'ash', + units: 'metric', + language: 'de' +}; \ No newline at end of file diff --git a/gruvbox.css b/gruvbox.css new file mode 100644 index 0000000..d2908f8 --- /dev/null +++ b/gruvbox.css @@ -0,0 +1,77 @@ +/* Gruvbox color theme - alternative to Ash */ + +:root { + /* Base surfaces (dark) */ + --black: #1d2021; + --black-light: #282828; + --black-dark: #1d2021; + + --dark: #282828; + --dark-light: #32302f; + --dark-dark: #1d2021; + + --gray-darker: #3c3836; + --gray-darker-light: #45403d; + --gray-darker-dark: #32302f; + + --gray-dark: #504945; + --gray-dark-light: #5a524c; + --gray-dark-dark: #3c3836; + + --gray: #7c6f64; + --gray-light: #928374; + --gray-dark: #504945; + + --gray-light: #928374; + --gray-light-light: #a89984; + --gray-light-dark: #7c6f64; + + --stone: #a89984; + --stone-light: #bdae93; + --stone-dark: #928374; + + --icon: #bdae93; + --icon-light: #d5c4a1; + --icon-dark: #a89984; + + --bone: #ebdbb2; + --bone-light: #fbf1c7; + --bone-dark: #d5c4a1; + + --chalk: #fbf1c7; + --chalk-light: #f9f5d7; + --chalk-dark: #ebdbb2; + + /* Accent colors */ + --orange: #fe8019; + --orange-light: #fea848; + --orange-dark: #d65d0e; + + --yellow: #fabd2f; + --yellow-light: #fac74b; + --yellow-dark: #d79921; + + --red: #fb4934; + --red-light: #fb6e54; + --red-dark: #cc241d; + + --brown: #b16286; + --brown-light: #c6789c; + --brown-dark: #8f3f71; + + --pink: #d3869b; + --pink-light: #e0a3b1; + --pink-dark: #b16286; + + --green: #b8bb26; + --green-light: #c8d337; + --green-dark: #98971a; + + --blue: #83a598; + --blue-light: #a0b8b0; + --blue-dark: #458588; + + --purple: #b16286; + --purple-light: #c6789c; + --purple-dark: #8f3f71; +} \ No newline at end of file diff --git a/index.html b/index.html index d5972d3..6cf603e 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,16 @@