Jump to content

Recommended Posts

Posted

 

The dark theme is a bit... off-kilter.

 

This is just an infodump in a reliable location while i try to figure my way around the Web repo and actually effect these changes myself.

 

If you go to somebody's profile and switch to dark theme:

unknown.png

 

The text becomes unbearably low contrast.

The dark text is color #555 and the background is #3C3F41, meaning a contrast of 1.4:1.

The Web Content Accessibility Guidelines (WCAG 2.0) level AA requires a 4.5:1 color contrast between text and background for normal text, and you can certainly see why.

 

A 4.5:1 color rating means the text must be at least #999999, but #BBBBBB is far better on my eyes, and maintains a decent color contrast from the headers and infos ("8 minutes ago").

 

 

It's 5:21am as i write this, and i need sleep, but i didn't want to forget this and i didn't trust Notepad to keep it safe >.>

Will update as i meander the https://github.com/MinecraftForge/Web/tree/master/sass repo

  • 6 months later...
Posted

The same file also defines:

#ipsLayout_footer p{font-size:14px;text-decoration:none;color:#353c41;}

 

which leads to this niceness:
 unknown.png

 

I didn't even realise there was text there until i wanted to change the theme to light...

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.