#import "utils.typ": ccicon, cc-url, cc-is-valid, _cc-colorize

// Logos
#let ccLogo = ccicon("logo")
#let cc = ccicon("cc")

// Icons
#let ccAttribution = ccicon("by")
#let ccShareAlike = ccicon("sa")
#let ccNoDerivatives = ccicon("nd")
#let ccNonCommercial = ccicon("nc")
#let ccNonCommercialEU = ccicon("nceu")
#let ccNonCommercialJP = ccicon("ncjp")
#let ccZero = ccicon("zero")
#let ccPublicDomain = ccicon("pd")
#let ccSampling = ccicon("sampling")
#let ccSamplingPlus = ccicon("sampling.plus")
#let ccRemix = ccicon("remix")
#let ccShare = ccicon("share")

#let cc-by = ccicon("cc-by")
#let cc-by-sa = ccicon("cc-by-sa")
#let cc-by-nd = ccicon("cc-by-nd")
#let cc-by-nc = ccicon("cc-by-nc")
#let cc-by-nc-sa = ccicon("cc-by-nc-sa")
#let cc-by-nc-sa-eu = ccicon("cc-by-nceu-sa")
#let cc-by-nc-sa-jp = ccicon("cc-by-ncjp-sa")
#let cc-by-nc-nd = ccicon("cc-by-nc-nd")
#let cc-by-nc-nd-eu = ccicon("cc-by-nceu-nd")
#let cc-by-nc-nd-jp = ccicon("cc-by-ncjp-nd")
#let cc-zero = ccicon("zero")
#let cc-pd = ccicon("pd")

// Badges
#let cc-by-badge = ccicon("by", format: "badge")
#let cc-by-sa-badge = ccicon("cc-by-sa", format: "badge")
#let cc-by-nd-badge = ccicon("cc-by-nd", format: "badge")
#let cc-by-nc-badge = ccicon("cc-by-nc", format: "badge")
#let cc-by-nc-sa-badge = ccicon("cc-by-nc-sa", format: "badge")
#let cc-by-nc-nd-badge = ccicon("cc-by-nc-nd", format: "badge")
#let cc-zero-badge = ccicon("zero", format: "badge")
#let cc-pd-badge = ccicon("pd", format: "badge")

// Shields
#let cc-by-shield = ccicon("by", format: "shield")
#let cc-by-sa-shield = ccicon("cc-by-sa", format: "shield")
#let cc-by-nd-shield = ccicon("cc-by-nd", format: "shield")
#let cc-by-nc-shield = ccicon("cc-by-nc", format: "shield")
#let cc-by-nc-sa-shield = ccicon("cc-by-nc-sa", format: "shield")
#let cc-by-nc-nd-shield = ccicon("cc-by-nc-nd", format: "shield")
#let cc-zero-shield = ccicon("zero", format: "shield")
#let cc-pd-shield = ccicon("pd", format: "shield")

