Brighter low free space colors.

This commit is contained in:
Leo Vasanko
2026-02-04 20:40:59 +00:00
parent 84d80518a6
commit ad37a48df9
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -25,7 +25,9 @@ def create_banner():
"""
def create_startup_box(*, folder, url, unix=None, dev=False, paskia_url=None, public=False):
def create_startup_box(
*, folder, url, unix=None, dev=False, paskia_url=None, public=False
):
"""Create a framed startup box with server information."""
title = f"Cista {cista.__version__}"
listen = unix if unix else url
+2 -2
View File
@@ -157,8 +157,8 @@ const freeColor = computed(() => {
if (!s.disk) return '#6c6'
const freePct = s.free / s.disk
if (freePct > 0.25) return '#5b5'
if (freePct > 0.10) return '#db3'
return '#d44'
if (freePct > 0.10) return '#ff0'
return '#f00'
})
const PIE_RADIUS = 55