Migrate colors directory to theme with consistent naming convention
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
This commit is contained in:
@@ -46,8 +46,8 @@ This document provides a complete reference of all CSS variables available in th
|
||||
To create custom color schemes:
|
||||
|
||||
1. **Copy template files** from `./templates/` directory:
|
||||
- `colors_custom_light.css` → `media/templates/site/mokocassiopeia/css/colors/light/colors_custom.css`
|
||||
- `colors_custom_dark.css` → `media/templates/site/mokocassiopeia/css/colors/dark/colors_custom.css`
|
||||
- `theme_custom_light.css` → `media/templates/site/mokocassiopeia/css/theme/light.custom.css`
|
||||
- `theme_custom_dark.css` → `media/templates/site/mokocassiopeia/css/theme/dark.custom.css`
|
||||
|
||||
2. **Edit the variables** in the copied files to match your brand
|
||||
|
||||
|
||||
@@ -587,7 +587,7 @@ cp -r src/html/mod_virtuemart_cart src/html/mod_virtuemart_cart_original
|
||||
Override CSS variables in your custom color scheme:
|
||||
|
||||
```css
|
||||
/* src/media/css/colors/light/colors_custom.css */
|
||||
/* src/media/css/theme/light.custom.css */
|
||||
:root {
|
||||
--vm-price-color: #28a745;
|
||||
--vm-cart-bg: #f8f9fa;
|
||||
|
||||
Reference in New Issue
Block a user