gdtest-navbar-color-same
Test navbar_color with same color both modes
Installation
pip install gdtest-navbar-color-same
Source files
📁 gdtest_navbar_color_same/
📄 __init__.py
"""Navbar color: same for both modes."""
__version__ = "0.1.0"
__all__ = ["blend", "mix"]
def blend(color_a: str, color_b: str) -> str:
"""
Blend two colors together.
Parameters
----------
color_a
First CSS color.
color_b
Second CSS color.
Returns
-------
str
The blended result.
"""
return f"Blend({color_a}, {color_b})"
def mix(colors: list[str], weights: list[float] | None = None) -> str:
"""
Mix multiple colors with optional weights.
Parameters
----------
colors
List of CSS color strings.
weights
Optional weights for each color.
Returns
-------
str
The mixed color value.
"""
return f"Mix({', '.join(colors)})"
📄 great-docs.yml
navbar_color: steelblue
display_name: Navbar Color (Same Both Modes)