THEME COLOR

PRECAUTIONS
WHEN MODIFYING
BLOCK THEME COLOR

Block themes contain all color properties in one JSON file. Therefore, the method of editing itself is not difficult. However, if you have a clear understanding of the basic properties of color, such as Primary and Secondary, it will be easy to find exactly what part needs to be modified and how.

01

02

03

04

05

06

07

08

09

10

language

base color

text_fields

contrast color

picture_in_picture_center

primary color

shadow

secondary color

Modify the default JSON file

  • White and black are fixed colors that do not react.
  • Base, contrast, primary, and secondary colors are responsive colors. In dark mode, the colors registered in dark mode json are displayed.
  • All colors from step 1 to 20 are responsive colors. It is best to save the colors separately from base to contrast. (Of course, you can configure it freely.)
  • Duotone and gradient colors can also be modified in this file. Of course, you only need to do this when necessary. (We made most of it.)

Edit dark mode JSON file

  • White and black are fixed colors that do not react.
  • Base, contrast, primary, and secondary colors are responsive colors. In dark mode, the colors registered in dark mode json are displayed.
  • All colors from step 1 to 20 are responsive colors. It is best to save the colors separately from base to contrast. (Of course, you can configure it freely.)
  • /wp-content/themes/hellopanda-theme/styles/ The json rules registered in this path are folders used as “colors” in Block Theme.