Closed mattt closed 3 years ago
@Lukas-Stuehrk Thanks for pointing out the contrast ratios for that and suggesting more accessible alternatives. These look a lot more reasonable:
Still some room for improvement, possibly using text shadows to preserve contrast without compromising the color palette as much. And some work to do to make this work with dark mode (#160 I know, sorry for the delay 🙇). But I think this is good enough for now. :shipit:
Fixes #281
This PR adopts the following color coding for annotation types, but I'm very much open to changing this around:
bug
): Pinkattention
,important
,warning
): Orangeauthor[s]
,copyright
,date
): GrayThis doesn't handle custom callouts, but those are Xcode Playgrounds-specific, and the default rendering is good enough.