Site Updates: Better Contrast Ratio and Using Xeact
Published on 12/19/2021, 988 words, 4 minutes to read
Happy holidays all! As the year rolls to a close I wanted to take a moment to let you know of some improvements that I've done over the year to try and make the reading experience as best as it can be.
Better Contrast Ratio
Over the years I have gotten reports that my site is hard to read. I've been taking them seriously but I have never really been sure what to do about them. I think I have found the core of the problem and I have changed the site's contrast ratio to hopefully have more contrast between the text of the website and the background.
Here are some comparisons to before and after the change:
This is what my site looked like before I made the changes (dark mode).
This is what my site looks like after I made the changes (dark mode).
This is what my site looked like before I made the changes (light mode).
This is what my site looks like after I made the changes (light mode).
Hopefully this should improve the contrast ratio a lot more. I've always wanted this website to look a lot like my emacs config, but these changes should hopefully reach a balance of readability and stylistic choices to get across the vision I have for my website.
[This is a test <a href="https://zombo.com">with a link</a>.](conversation://Mara/hacker)
This has become an unworkable mess. With the html component I made recently, I can instead write things that look like this:
<XeblogConv name="Mara" mood="hacker"> This is a test [with a link](https://zombo.com). </XeblogConv>
Server-side Syntax Highlighting
You may have noticed that code syntax highlighting has a notably different color scheme to it compared to the rest of the blog as of late. This is not on accident. I used to use Prism to do this on the client side. This worked great, but Prism is a huge (near 1 MB) download. I really want to avoid wasting bandwidth, so I added this at the markdown rendering step with syntect. The theme I use (base16-mocha) is not perfectly aligned with my editor, but this is as close as I can get with their default themes until I have the energy to port gruvbox into this.
Hopefully this should work in the RSS feed too.
Have a good rest of the year and stay safe! I'm gonna try and take a load off over the holidays, so I may end up posting less frequently. 2021 has been a lot.
Please get vaccinated. I want to be able to travel for conventions without it being so scary all the time.
Facts and circumstances may have changed since publication. Please contact me before jumping to conclusions if something seems wrong or unclear.