← GDG /

#234 gdtest_gradient_prism

#234 gdtest_gradient_prism OK CONFIG
Tests announcement banner with prism gradient preset
View Site → Build Log ๐Ÿงช Test Coverage

Build Mode

● Has great-docs.yml

This package ships a pre-supplied config. The great-docs init step is skipped and great-docs build uses the spec-defined configuration directly. Tests specific config options and their rendered output.

Dimensions

K30
K30gradient: prismconfig

Source Files

๐Ÿ“ gdtest_gradient_prism/
๐Ÿ“„ __init__.py
"""Package testing prism gradient preset."""

__version__ = "0.1.0"
__all__ = ["shimmer", "pulse"]


def shimmer(color: str) -> str:
    """
    Create a shimmering effect.

    Parameters
    ----------
    color
        Base color name.

    Returns
    -------
    str
        Effect description.
    """
    return f"Shimmering {color}"


def pulse(rate: float) -> str:
    """
    Pulse at a given rate.

    Parameters
    ----------
    rate
        Pulses per second.

    Returns
    -------
    str
        Effect description.
    """
    return f"Pulsing at {rate}Hz"
๐Ÿ“„ great-docs.yml
announcement:
  content: Prism gradient test banner!
  style: prism