Files
2026-03-30 07:59:11 +02:00

46 lines
1.1 KiB
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# -*- coding: utf-8 -*-
"""AZA Premium Design System Einheitliche Styling-Konstanten."""
# ─── Farben ───
BG = "#F5F7FA"
CARD_BG = "#FFFFFF"
CARD_HOVER_BG = "#F8FAFF"
CARD_BORDER = "#E2E8F0"
CARD_HOVER_BORDER = "#0984E3"
ACCENT = "#0984E3"
ACCENT_HOVER = "#0770C4"
ACCENT_DARK = "#005FA3"
TEXT = "#2D3436"
SUBTLE = "#636E72"
BORDER = "#E2E8F0"
FOOTER_BG = "#EDF2F7"
SUCCESS = "#00B894"
WARNING_AMBER = "#F0932B"
DANGER = "#D63031"
TURQUOISE = "#00CEC9"
CAPACITY_BLUE = "#0078D7"
# ─── Schriften ───
FONT_FAMILY = "Segoe UI"
FONT_TITLE = (FONT_FAMILY, 26, "bold")
FONT_SUBTITLE = (FONT_FAMILY, 11)
FONT_HEADING = (FONT_FAMILY, 16, "bold")
FONT_BODY = (FONT_FAMILY, 11)
FONT_BODY_BOLD = (FONT_FAMILY, 11, "bold")
FONT_SMALL = (FONT_FAMILY, 9)
FONT_TINY = (FONT_FAMILY, 8)
FONT_CARD_TITLE = (FONT_FAMILY, 12, "bold")
FONT_CARD_DESC = (FONT_FAMILY, 8)
FONT_ICON = (FONT_FAMILY, 26)
# ─── Dimensionen ───
SPACING = 16
def format_number_de(n: int) -> str:
"""Formatiert Zahl mit Punkt als Tausender-Trennzeichen (de-CH)."""
return f"{n:,}".replace(",", "\u2019")