mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-02-19 15:26:22 -05:00
Compare commits
2 Commits
add_authen
...
fix_pwa_in
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8574c7c660 | ||
|
|
573dbcf882 |
@@ -124,12 +124,18 @@ public static class ApiDI
|
||||
{
|
||||
name = "Cleanuparr",
|
||||
short_name = "Cleanuparr",
|
||||
description = "Automated cleanup for *arr applications and download clients",
|
||||
start_url = basePath,
|
||||
display = "standalone",
|
||||
background_color = "#ffffff",
|
||||
theme_color = "#ffffff",
|
||||
background_color = "#0e0a1a",
|
||||
theme_color = "#1a1135",
|
||||
icons = new[]
|
||||
{
|
||||
new {
|
||||
src = "icons/128.png",
|
||||
sizes = "128x128",
|
||||
type = "image/png"
|
||||
},
|
||||
new {
|
||||
src = "icons/icon-192x192.png",
|
||||
sizes = "192x192",
|
||||
|
||||
BIN
code/frontend/public/icons/icon-192x192.png
Normal file
BIN
code/frontend/public/icons/icon-192x192.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
BIN
code/frontend/public/icons/icon-512x512.png
Normal file
BIN
code/frontend/public/icons/icon-512x512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
@@ -11,6 +11,16 @@
|
||||
"src": "icons/128.png",
|
||||
"sizes": "128x128",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "icons/icon-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "icons/icon-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
1
code/frontend/public/sw.js
Normal file
1
code/frontend/public/sw.js
Normal file
@@ -0,0 +1 @@
|
||||
self.addEventListener('fetch', () => {});
|
||||
@@ -28,6 +28,11 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<meta name="apple-mobile-web-app-title" content="Cleanuparr">
|
||||
<link rel="apple-touch-icon" href="icons/128.png">
|
||||
<script>
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.register('sw.js');
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<app-root></app-root>
|
||||
|
||||
@@ -131,6 +131,7 @@
|
||||
--glass-blur-sm: 0px;
|
||||
--glass-blur-lg: 0px;
|
||||
--glass-shadow: none;
|
||||
--surface-elevated: #1e1232;
|
||||
--duration-fast: 0ms;
|
||||
--duration-normal: 0ms;
|
||||
--duration-slow: 0ms;
|
||||
@@ -142,6 +143,11 @@
|
||||
-webkit-backdrop-filter: none !important;
|
||||
}
|
||||
|
||||
:root[data-performance-mode='true'][data-theme='light'],
|
||||
:root[data-performance-mode='true'][data-theme='light'] *:not([role='status']):not([role='status'] *) {
|
||||
--surface-elevated: #ffffff;
|
||||
}
|
||||
|
||||
:root[data-performance-mode='true'] .shell__main::before,
|
||||
:root[data-performance-mode='true'] .shell__main::after,
|
||||
:root[data-performance-mode='true'] .shell::after {
|
||||
@@ -154,11 +160,16 @@
|
||||
--glass-blur-sm: 0px;
|
||||
--glass-blur-lg: 0px;
|
||||
--glass-shadow: none;
|
||||
--surface-elevated: #1e1232;
|
||||
--duration-fast: 0ms;
|
||||
--duration-normal: 0ms;
|
||||
--duration-slow: 0ms;
|
||||
}
|
||||
|
||||
:root[data-theme='light'] {
|
||||
--surface-elevated: #ffffff;
|
||||
}
|
||||
|
||||
*:not([role='status']):not([role='status'] *),
|
||||
*:not([role='status']):not([role='status'] *)::before,
|
||||
*:not([role='status']):not([role='status'] *)::after {
|
||||
|
||||
Reference in New Issue
Block a user