Cream CSS framework

Customization instructions

Change the colors

Include a css file with your definitions before Cream CSS, example:

<link rel="stylesheet" href="my-color-customization.css">
<link rel="stylesheet" href="cream-mn.css">

These are the optional defines:

  • for main color define --u-main-light and --u-main-dark
  • for error color define --u-err-light and --u-err-dark
  • for code color define --u-code-light and --u-code-dark

Here is an example file:

:root {
  --u-code-light: #400080;
  --u-code-dark: #ffff60;
}