My nix-darwin and NixOS config
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: prevent colour inversion

+59 -1
+59 -1
modules/server/smartd-alert-template.html
··· 4 4 <meta charset="UTF-8" /> 5 5 <meta name="viewport" content="width=device-width,initial-scale=1" /> 6 6 <title>$SUBJECT</title> 7 + <meta name="color-scheme" content="dark" /> 8 + <meta name="supported-color-schemes" content="dark" /> 9 + <style> 10 + :root { 11 + color-scheme: dark; 12 + } 13 + /* Apple Mail / Outlook Mac: lock in dark palette */ 14 + @media (prefers-color-scheme: dark) { 15 + body { 16 + background-color: #0d1210 !important; 17 + } 18 + #outer { 19 + background-color: #0d1210 !important; 20 + } 21 + #card { 22 + background-color: #141c19 !important; 23 + } 24 + #titlebar { 25 + background-color: #243028 !important; 26 + } 27 + .inset { 28 + background-color: #1a2420 !important; 29 + } 30 + .codebox { 31 + background-color: #0d1210 !important; 32 + } 33 + } 34 + </style> 7 35 <!--[if mso 8 36 ]><noscript 9 37 ><xml ··· 19 47 margin: 0; 20 48 padding: 0; 21 49 background-color: #0d1210; 50 + background-image: linear-gradient(#0d1210, #0d1210); 22 51 font-family: 23 52 &quot;JetBrains Mono&quot;, ui-monospace, SFMono-Regular, Menlo, Monaco, 24 53 Consolas, &quot;Courier New&quot;, monospace; ··· 29 58 width="100%" 30 59 cellpadding="0" 31 60 cellspacing="0" 32 - style="background-color: #0d1210; padding: 32px 16px" 61 + id="outer" 62 + style=" 63 + background-color: #0d1210; 64 + background-image: linear-gradient(#0d1210, #0d1210); 65 + padding: 32px 16px; 66 + " 33 67 > 34 68 <tr> 35 69 <td align="center"> ··· 51 85 0 8px 32px rgba(0, 0, 0, 0.5); 52 86 overflow: hidden; 53 87 background-color: #141c19; 88 + background-image: linear-gradient(#141c19, #141c19); 54 89 " 90 + id="card" 55 91 > 56 92 <!-- Titlebar --> 57 93 <table ··· 62 98 > 63 99 <tr> 64 100 <td 101 + id="titlebar" 65 102 style=" 66 103 background-color: #243028; 104 + background-image: linear-gradient(#243028, #243028); 67 105 padding: 9px 16px; 68 106 border-bottom: 1px solid rgba(166, 227, 161, 0.15); 69 107 " ··· 234 272 width="100%" 235 273 cellpadding="0" 236 274 cellspacing="0" 275 + class="inset" 237 276 style=" 238 277 background-color: #1a2420; 278 + background-image: linear-gradient( 279 + #1a2420, 280 + #1a2420 281 + ); 239 282 border: 1px solid #2e3d34; 240 283 border-radius: 6px; 241 284 " ··· 276 319 width="100%" 277 320 cellpadding="0" 278 321 cellspacing="0" 322 + class="inset" 279 323 style=" 280 324 background-color: #1a2420; 325 + background-image: linear-gradient( 326 + #1a2420, 327 + #1a2420 328 + ); 281 329 border: 1px solid #2e3d34; 282 330 border-radius: 6px; 283 331 " ··· 317 365 width="100%" 318 366 cellpadding="0" 319 367 cellspacing="0" 368 + class="inset" 320 369 style=" 321 370 background-color: #1a2420; 371 + background-image: linear-gradient( 372 + #1a2420, 373 + #1a2420 374 + ); 322 375 border: 1px solid #2e3d34; 323 376 border-radius: 6px; 324 377 " ··· 395 448 > 396 449 <tr> 397 450 <td 451 + class="codebox" 398 452 style=" 399 453 background-color: #0d1210; 454 + background-image: linear-gradient( 455 + #0d1210, 456 + #0d1210 457 + ); 400 458 border: 1px solid #243028; 401 459 border-radius: 6px; 402 460 padding: 16px 18px;