feat: initial element-web-theme repository with W-MAKE Cyber Noir theme
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
# Matrix Element Web Theme & Customization
|
||||||
|
|
||||||
|
Custom Cyberpunk Theme für den Matrix Element Web Client ([chat.free-warez.top](https://chat.free-warez.top) / `chat.element.free-warez.top`).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📁 Struktur
|
||||||
|
|
||||||
|
- `config.json`: Zentrale Client-Konfiguration für Element Web.
|
||||||
|
- `themes/`:
|
||||||
|
- `w-make-cyber.json`: **W-MAKE Cyber Noir** Theme-Definition (Cyan Akzente `#00f2fe`, Deep Obsidian Background `#050812`, Glassmorphism-kompatible Menüs & Bubbles).
|
||||||
|
- `deploy.sh`: Synchronisiert die Konfiguration nach `/matrix/client-element/config.json` auf `free-warez.top` und startet den Web-Client-Container neu.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🚀 Deployment
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./deploy.sh
|
||||||
|
```
|
||||||
+88
@@ -0,0 +1,88 @@
|
|||||||
|
{
|
||||||
|
"brand": "Element",
|
||||||
|
"branding": {
|
||||||
|
"auth_footer_links": null,
|
||||||
|
"auth_header_logo_url": "themes/element/img/logos/element-logo.svg",
|
||||||
|
"welcome_background_url": "themes/element/img/backgrounds/lake.jpg"
|
||||||
|
},
|
||||||
|
"bug_report_endpoint_url": "https://element.io/bugreports/submit",
|
||||||
|
"default_country_code": "GB",
|
||||||
|
"default_server_config": {
|
||||||
|
"m.homeserver": {
|
||||||
|
"base_url": "https://matrix.free-warez.top",
|
||||||
|
"server_name": "free-warez.top"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"default_theme": "W-MAKE Cyber Noir",
|
||||||
|
"disable_custom_urls": true,
|
||||||
|
"disable_guests": true,
|
||||||
|
"element_call": {
|
||||||
|
"brand": "Element Call",
|
||||||
|
"participant_limit": 8,
|
||||||
|
"url": "https://call.element.free-warez.top",
|
||||||
|
"use_exclusively": true
|
||||||
|
},
|
||||||
|
"embedded_pages": {
|
||||||
|
"homeUrl": ""
|
||||||
|
},
|
||||||
|
"features": {
|
||||||
|
"feature_element_call_video_rooms": true,
|
||||||
|
"feature_group_calls": true,
|
||||||
|
"feature_video_rooms": true
|
||||||
|
},
|
||||||
|
"integrations_jitsi_widget_url": "https://scalar.vector.im/api/widgets/jitsi.html",
|
||||||
|
"integrations_rest_url": "https://scalar.vector.im/api",
|
||||||
|
"integrations_ui_url": "https://scalar.vector.im/",
|
||||||
|
"integrations_widgets_urls": [
|
||||||
|
"https://scalar.vector.im/api"
|
||||||
|
],
|
||||||
|
"logout_redirect_url": "",
|
||||||
|
"mobile_guide_app_variant": "element",
|
||||||
|
"permalink_prefix": "https://matrix.to",
|
||||||
|
"room_directory": {
|
||||||
|
"servers": [
|
||||||
|
"matrix.org"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"setting_defaults": {
|
||||||
|
"custom_themes": [
|
||||||
|
{
|
||||||
|
"name": "W-MAKE Cyber Noir",
|
||||||
|
"is_dark": true,
|
||||||
|
"colors": {
|
||||||
|
"accent": "#00f2fe",
|
||||||
|
"primary_content": "#f8fafc",
|
||||||
|
"secondary_content": "#94a3b8",
|
||||||
|
"tertiary_content": "#64748b",
|
||||||
|
"bg_color": "#050812",
|
||||||
|
"status_tag_bg": "#0d1528",
|
||||||
|
"timeline_background": "#070c18",
|
||||||
|
"timeline_text_color": "#f8fafc",
|
||||||
|
"timeline_text_secondary_color": "#94a3b8",
|
||||||
|
"roomlist_background": "#050812",
|
||||||
|
"roomlist_text_color": "#f8fafc",
|
||||||
|
"roomlist_text_secondary_color": "#94a3b8",
|
||||||
|
"roomlist_highlights_color": "#0e1830",
|
||||||
|
"roomlist_separator_color": "rgba(0, 242, 254, 0.15)",
|
||||||
|
"roomsublist_background": "#050812",
|
||||||
|
"panel_divider_color": "rgba(0, 242, 254, 0.18)",
|
||||||
|
"panel_border_color": "rgba(0, 242, 254, 0.22)",
|
||||||
|
"sidebar_color": "#03060c",
|
||||||
|
"header_panel_bg_color": "#070a14",
|
||||||
|
"menu_border_color": "rgba(0, 242, 254, 0.25)",
|
||||||
|
"menu_bg_color": "#0b1222",
|
||||||
|
"dialog_background": "#0b1222",
|
||||||
|
"dialog_backdrop_color": "rgba(0, 0, 0, 0.8)",
|
||||||
|
"dialog_shadow_color": "rgba(0, 242, 254, 0.25)",
|
||||||
|
"input_placeholder": "#64748b",
|
||||||
|
"input_background": "#0d162a",
|
||||||
|
"input_border_color": "rgba(0, 242, 254, 0.25)",
|
||||||
|
"reaction_row_button_selected_bg": "rgba(0, 242, 254, 0.2)",
|
||||||
|
"button_primary_bg": "#00f2fe",
|
||||||
|
"button_primary_fg": "#03060c"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"show_labs_settings": true
|
||||||
|
}
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# deploy.sh - Deploy Matrix Element Web Theme & Config
|
||||||
|
# Domain: chat.free-warez.top / element.free-warez.top
|
||||||
|
# Target Host: free-warez.top -> /matrix/client-element/config.json
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
TARGET_HOST="free-warez.top"
|
||||||
|
LOCAL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
CONFIG_FILE="$LOCAL_DIR/config.json"
|
||||||
|
|
||||||
|
echo "🚀 Deploying Matrix Element Web Theme & Config"
|
||||||
|
echo " Target Host: $TARGET_HOST:/matrix/client-element/config.json"
|
||||||
|
echo "========================================================="
|
||||||
|
|
||||||
|
# 1. Check SSH connection
|
||||||
|
echo "📡 Checking SSH connection to $TARGET_HOST..."
|
||||||
|
if ! ssh -q -o BatchMode=yes -o ConnectTimeout=5 "$TARGET_HOST" exit; then
|
||||||
|
echo "❌ Cannot connect to $TARGET_HOST via SSH."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# 2. Transfer config
|
||||||
|
echo "🔄 Transferring config.json to $TARGET_HOST..."
|
||||||
|
scp "$CONFIG_FILE" "$TARGET_HOST:/matrix/client-element/config.json"
|
||||||
|
|
||||||
|
# 3. Reload Element Web container
|
||||||
|
echo "🔄 Reloading Element Web container..."
|
||||||
|
ssh "$TARGET_HOST" "docker restart matrix-client-element"
|
||||||
|
|
||||||
|
echo "✅ Element Web theme deployed successfully!"
|
||||||
|
echo "✨ Deployment complete!"
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"name": "W-MAKE Cyber Noir",
|
||||||
|
"is_dark": true,
|
||||||
|
"colors": {
|
||||||
|
"accent": "#00f2fe",
|
||||||
|
"primary_content": "#f8fafc",
|
||||||
|
"secondary_content": "#94a3b8",
|
||||||
|
"tertiary_content": "#64748b",
|
||||||
|
"bg_color": "#050812",
|
||||||
|
"status_tag_bg": "#0d1528",
|
||||||
|
"timeline_background": "#070c18",
|
||||||
|
"timeline_text_color": "#f8fafc",
|
||||||
|
"timeline_text_secondary_color": "#94a3b8",
|
||||||
|
"roomlist_background": "#050812",
|
||||||
|
"roomlist_text_color": "#f8fafc",
|
||||||
|
"roomlist_text_secondary_color": "#94a3b8",
|
||||||
|
"roomlist_highlights_color": "#0e1830",
|
||||||
|
"roomlist_separator_color": "rgba(0, 242, 254, 0.15)",
|
||||||
|
"roomsublist_background": "#050812",
|
||||||
|
"panel_divider_color": "rgba(0, 242, 254, 0.18)",
|
||||||
|
"panel_border_color": "rgba(0, 242, 254, 0.22)",
|
||||||
|
"sidebar_color": "#03060c",
|
||||||
|
"header_panel_bg_color": "#070a14",
|
||||||
|
"menu_border_color": "rgba(0, 242, 254, 0.25)",
|
||||||
|
"menu_bg_color": "#0b1222",
|
||||||
|
"dialog_background": "#0b1222",
|
||||||
|
"dialog_backdrop_color": "rgba(0, 0, 0, 0.8)",
|
||||||
|
"dialog_shadow_color": "rgba(0, 242, 254, 0.25)",
|
||||||
|
"input_placeholder": "#64748b",
|
||||||
|
"input_background": "#0d162a",
|
||||||
|
"input_border_color": "rgba(0, 242, 254, 0.25)",
|
||||||
|
"reaction_row_button_selected_bg": "rgba(0, 242, 254, 0.2)",
|
||||||
|
"button_primary_bg": "#00f2fe",
|
||||||
|
"button_primary_fg": "#03060c"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user