gdtest-navbar-color-split
Test navbar_color with different colors per mode
Installation
pip install gdtest-navbar-color-split
Source files
📁 gdtest_navbar_color_split/
📄 __init__.py
"""Navbar color: contrasting warm/cool per mode."""
__version__ = "0.1.0"
__all__ = ["warm", "cool"]
def warm(temperature: float) -> str:
"""
Create a warm color value from a temperature.
Parameters
----------
temperature
Color temperature in Kelvin (2000–4500).
Returns
-------
str
A warm hex color.
"""
return f"Warm({temperature}K)"
def cool(temperature: float) -> str:
"""
Create a cool color value from a temperature.
Parameters
----------
temperature
Color temperature in Kelvin (5500–10000).
Returns
-------
str
A cool hex color.
"""
return f"Cool({temperature}K)"
📄 great-docs.yml
navbar_color:
light: "#3e2723"
dark: "#bbdefb"
display_name: Navbar Color (Split Warm/Cool)