Custom Color Schemes with Ruby on Rails

This blog post uses Rails and Hotwire to let you edit the color scheme of this site, Joy of Rails . Give it a try. ( Go to the article to see dynamic content ) JavaScript not enabled? Go to the color scheme demo . Then come back when you’re done. How it works Pretty cool, huh? Here are the key ingredients: CSS Variables : Also known as CSS custom properties SQLite : A color_schemes table to store…