def css.choice.scan

gralha-css-style@0.1.0.1 · css.bend:394

import gralha-css-style@0.1.0.1/css.bend as Css
import Base
import gralha-text-scan@0.1.0.1/scan.bend as U

394def css.choice.scan(+k: String, value: U.Scan, score: U32) -> CSSChoice:
395  U.Scan{h, t} = value
396  +strong = U.string.equal(css.lower(U.trim.both(U.drop(t, "!"))), "important")
397  CSSChoice{k, U.trim.both(h), strong, score}

Uses (8)

Used by (1)