Сделал кастомизацию через env

This commit is contained in:
Ilia Miheev
2026-07-26 14:08:41 +03:00
parent 572ddc35fc
commit d22178e516
15 changed files with 331 additions and 30 deletions
+19
View File
@@ -0,0 +1,19 @@
/* Generated by scripts/generate-config.js — do not edit by hand */
window.__APP_CONFIG__ = {
"name": "irandom",
"title": "irandom",
"brandUrl": "https://git.imiheev.online/admin/irandom",
"logoUrl": "/logo.png",
"colors": {
"primary": "#c9a66b",
"accent": "#e6c566",
"bg": "#1a1815",
"surface": "#2e2820",
"surfaceRaised": "#3a3228",
"text": "#ffffff",
"textMuted": "#c8c0b4",
"danger": "#ee5c5c",
"link": "#4a6a8a",
"border": "#4a4034"
}
};
+2 -1
View File
@@ -5,7 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>logo.png">
<title>irandom — простой генератор случайностей</title>
<title>irandom</title>
<script src="<%= BASE_URL %>config.js"></script>
</head>
<body>
<noscript>
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB