def METHOD_NAME():
    css = "* { --mycolor: #123456 } diagram { color: var(--mycolor) }"
    compiled_style_sheet = CompiledStyleSheet(css)
    props = compiled_style_sheet.match(Node("diagram"))
    assert props.get("color") == pytest.approx(
        (0x12 / 255.0, 0x34 / 255.0, 0x56 / 255.0, 1.0)
    )