How to Change Site Colors

Edit theme colors without touching CSS code.


Overview

The LowDO site uses a centralized color system stored in _data/settings.yaml. You can change all site colors by editing this one file—no CSS knowledge required!


Step 1: Open settings.yaml

Navigate to:

_data/settings.yaml

Open it in your text editor (VS Code recommended).


Step 2: Find the Colors Section

Look for the colors: section (usually near the top):

colors:
  # Main colors
  background: "#ffffff"
  text: "#000000"
  accent: "#0000ff"
  
  # Additional colors
  background-alt: "#f5f5f5"
  border: "#cccccc"
  # ... more colors

Step 3: Edit Color Values

Colors are specified as hex codes (e.g., #ffffff) or color names (e.g., white).

Using Hex Codes

Hex codes start with # followed by 6 characters (0-9, A-F):

Example change:

background: "#f0f0f0"  # Light gray instead of white
text: "#333333"        # Dark gray instead of black
accent: "#ff6600"      # Orange instead of blue

Using Color Names

You can also use basic color names:

background: "white"
text: "black"
accent: "blue"

However, hex codes give you more precise control.


Step 4: Save and Publish

  1. Save settings.yaml
  2. Commit your changes with git
  3. Push to GitHub
  4. Wait 3-5 minutes for the site to rebuild

See Making Commits for details.


Available Color Variables

Here are the main color variables you can edit:

VariableWhat It ControlsDefault
backgroundMain page backgroundWhite
textBody text colorBlack
accentLinks, highlights, hover statesBlue
background-altAlternate background (sections)Light gray
borderGrid lines, bordersGray
accent-hoverLink hover colorDarker blue

Check settings.yaml for the complete list (may vary based on site version).


Common Color Schemes

Dark Mode

colors:
  background: "#1a1a1a"
  text: "#ffffff"
  accent: "#66ccff"
  background-alt: "#2a2a2a"
  border: "#444444"

High Contrast

colors:
  background: "#ffffff"
  text: "#000000"
  accent: "#0000ff"
  background-alt: "#f0f0f0"
  border: "#000000"

Warm Neutrals

colors:
  background: "#faf8f5"
  text: "#2b2520"
  accent: "#c17444"
  background-alt: "#f0ebe3"
  border: "#d4cfc7"

Tips

Finding Colors:

Testing:

Accessibility:


Troubleshooting

"Changes don't appear"

"Site looks broken"

"Not sure what a variable does"


Advanced: CSS Variables

The colors in settings.yaml are converted to CSS custom properties:

--color-background
--color-text
--color-accent

If you're comfortable with CSS, you can edit _includes/assets/css/base.css directly for more control.

See Editing CSS Basics for details.


Next Steps


Questions?

See FAQ or ask a team member.