I searched for a while and browsed the settings, but i cannot find such settings related to changing highlight color. Could anyone tell me where it is? If you don't have this feature currently, please consider adding it! Thanks a lot!
--
You received this message because you are subscribed to the Google Groups "dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dev+uns...@list.hypothes.is.
To post to this group, send email to d...@list.hypothes.is.
To view this discussion on the web visit https://groups.google.com/a/list.hypothes.is/d/msgid/dev/a3cf0f13-9b43-42ac-a4fe-237fe59110a7%40list.hypothes.is.
To view this discussion on the web visit https://groups.google.com/a/list.hypothes.is/d/msgid/dev/CAOSYSD666mbjfTQawnYWK4OOZ1ArR21_xNv%3D%3D1-KtcWQWYRn%2Bg%40mail.gmail.com.
If you have control over the CSS files loaded by the hosting site, you can simply change the color of the classes which control the color. We had an instructor who wanted highlights on their book to be darker, so we added this to the site's CSS file:
html .annotator-highlights-always-on .annotator-hl, .annotator-hl
{
background-color: rgba(255, 255, 60, 0.5);
}
html .annotator-highlights-always-on .annotator-hl .annotator-hl,
.annotator-hl .annotator-hl {
background-color: rgba(206, 206, 60, 0.6);
}
html .annotator-highlights-always-on .annotator-hl .annotator-hl
.annotator-hl, .annotator-hl .annotator-hl .annotator-hl{
background-color: rgba(192, 192, 49, 0.7);
}
We just made these darker yellow (by changing the opacity of the
color), but these rgba values could be anything. Probably not
exactly what you're looking for, but perhaps helpful?
To view this discussion on the web visit https://groups.google.com/a/list.hypothes.is/d/msgid/dev/CA%2BXLwoLgdArymZ68XYG23wqZSFza83Uvoq3NiEXDoUm8Fe4Ytg%40mail.gmail.com.
javascript:(function(){var styleSheet = document.createElement("style"); styleSheet.type = "text/css"; styleSheet.innerText =`.hypothesis-highlight {background-color: rgba(255, 150, 255, 0.5) !important;}`; document.head.appendChild(styleSheet);window.hypothesisConfig=function(){return{showHighlights:true,appType:'bookmarklet'};};var d=document,s=d.createElement('script');s.setAttribute('src','https://hypothes.is/embed.js');d.body.appendChild(s)})();