jhudsl / AnVIL_Template

An OTTR spinoff template for creating AnVIL content
https://jhudatascience.org/AnVIL_Template/
Creative Commons Attribution 4.0 International
0 stars 1 forks source link

Taking a look at the theme #197

Closed avahoffman closed 1 year ago

avahoffman commented 1 year ago

Worked on the theming for GDSCN a bit - the green for the main headers was kind of light and I think this is more readable.

Appreciate any additional thoughts @KatherineCox @ehumph ! Here's a preview (won't show up on the link below since it uses the AnVIL theme by default)

image
github-actions[bot] commented 1 year ago

No broken urls! :tada: Comment updated at 2023-03-06 with changes from f2ab5141e2e36439540539380a9f36bb4bad49cf

github-actions[bot] commented 1 year ago

No spelling errors! :tada: Comment updated at 2023-03-06 with changes from f2ab5141e2e36439540539380a9f36bb4bad49cf

github-actions[bot] commented 1 year ago

Re-rendered previews from the latest commit:

Updated at 2023-03-06 with changes from f2ab5141e2e36439540539380a9f36bb4bad49cf

KatherineCox commented 1 year ago

@avahoffman Nice! It's been on my wishlist to do something like this. Looks great! My only comment is, instead of changing the css colors in place, I would override them at the bottom of the file, so that it's easier to maintain.

I had just noticed some of our GDSCN-specific stuff was not set up like this, and was working on moving things to the end of the file as part of integrating in the new OTTR updates in #195

avahoffman commented 1 year ago

@avahoffman Nice! It's been on my wishlist to do something like this. Looks great! My only comment is, instead of changing the css colors in place, I would override them at the bottom of the file, so that it's easier to maintain.

I had just noticed some of our GDSCN-specific stuff was not set up like this, and was working on moving things to the end of the file as part of integrating in the new OTTR updates in #195

Makes sense! Will fix.

avahoffman commented 1 year ago

@KatherineCox I am working on a possible solution here: https://github.com/jhudsl/ottrpal/pull/115 FYI! The goal is that one would be able to use multiple css files in both the regular and ToC-less versions.

ehumph commented 1 year ago

@avahoffman I am a little worried that the black and green color scheme won't work for people who are red-green colorblind. It might not be a problem - the green is just going to be indistinguishable from the black for some people - though it's nice to have the different colors on the side menu. It's probably a bit late for me to worry about this, since the original color scheme is green and black too.

avahoffman commented 1 year ago

@ehumph thanks for raising this. I think the only changes are from dark blue --> dark green and light blue --> light green. So they should hopefully still be distinguishable.

Not sure if this is 100% accurate, but here's a simulation of no green color vis:

image

monochrome:

image

Think this will work?

KatherineCox commented 1 year ago

@KatherineCox I am working on a possible solution here: jhudsl/ottrpal#115 FYI! The goal is that one would be able to use multiple css files in both the regular and ToC-less versions.

Awesome! That would be great, to be able to split things out into separate files.

ehumph commented 1 year ago

Looks good to me!