In Johku, you can create your own color scheme for your storefront without coding under Settings → Storefront → Theme. The easiest way is the Color selection view: you choose a few main colors and see the result right away in the preview. For finer adjustments, you can use the theme's list of variables.
How editing works
You can make your own color scheme in two ways:
Color selection: you choose the theme's main, accent, background and text colors and, if you like, the colors of the top bar and the footer. Johku forms all the other colors of the theme from them, and the preview shows the changes right away. This is enough for most shops.
Variable fields: each editable part of the theme, called a variable, is on its own row, and you can adjust individual colors and fonts in more detail.
You enter colors as a color code or pick them from the color picker or with the eyedropper, and you choose fonts from the Google Fonts library. You can edit only colors and fonts: the layout and sizes of elements can't be changed, because they scale automatically to different screen sizes.
Choose colors with the preview
Open Settings → Storefront → Theme. The side menu usually also has a shortcut to the storefront settings (the globe icon).
Select Use customised settings in the Storefront color scheme menu.
If you want a dark theme, select Dark under Reset to a base style and click Apply.
Select Color selection. If the theme already has its own color settings, Johku tells you that the color selection replaces them. Fonts, corner rounding and other settings that aren't related to colors are kept. Continue by selecting Use color selection.
Choose the theme's colors: Main, Accent, Background and Text. Enter a color code or pick a color from the color picker or with the eyedropper. With the eyedropper, you can pick a color from any browser window, for example from your logo.
If you like, also choose separate colors for the top bar (Header) and the Footer. If you don't choose a color for them, they use the default.
Check the result in the preview. If the message Some colors are hard to read appears, the text in some part stands out poorly from its background. The message names the part and its contrast. Adjust the colors until the message disappears.
Save and check how the theme works on your storefront.
The preview shows the theme's color and font variables. If you use your own rules in the advanced CSS, they aren't shown in the preview, but they are kept in the theme.
Edit colors and fonts in the variable fields
Open Settings → Storefront → Theme and select Use customised settings in the Storefront color scheme menu.
Select Variable fields. The theme's main variables appear.
Change the colors of the main variables: enter a color code or pick a color from the color picker or with the eyedropper.
Choose the fonts from the drop-down menus.
Save and check how the theme works on your storefront. The other variables are formed automatically from the main variables, so changing the main colors is often enough.
Fine-tune if needed
Open the rest of the variables by selecting Show all variables at the bottom of the list of main variables.
Edit the values you want. You can change the percentages directly or pick your own color from the color icon.
Use the clock icon at the end of a row to restore the default value of a single variable.
Save and test on your storefront. Repeat until you're happy with the result.
Some values refer to other style definitions: a value that starts with var is a reference to another variable, and a value that starts with color-mix forms a shade automatically from another color. You can change these fields to a color of your own as well. Note that the preview box of the color picker shows black if the field contains something other than a regular color code; this is not an error.
You can also start with Color selection and fine-tune the result in the variable fields. Note, however, that if you use Color selection again later, it replaces the color changes you made in the variable fields.
Check that your color scheme works
Your storefront uses your own colors and fonts on all pages and at all screen sizes. Check in particular that the texts of the buttons, the top bar and the footer stand out well from their background.
Return to a ready-made color scheme
You can return to a ready-made color scheme at any time by selecting Use a predefined color scheme in the Storefront color scheme menu. The variables you edited are kept, unless you reset the settings of your own color scheme by selecting Light or Dark under Reset to a base style.