__( 'Primary', 'buddyx' ), 'slug' => 'theme-primary', 'color' => '#e36d60', ], [ 'name' => __( 'Secondary', 'buddyx' ), 'slug' => 'theme-secondary', 'color' => '#41848f', ], [ 'name' => __( 'Red', 'buddyx' ), 'slug' => 'theme-red', 'color' => '#C0392B', ], [ 'name' => __( 'Green', 'buddyx' ), 'slug' => 'theme-green', 'color' => '#27AE60', ], [ 'name' => __( 'Blue', 'buddyx' ), 'slug' => 'theme-blue', 'color' => '#2980B9', ], [ 'name' => __( 'Yellow', 'buddyx' ), 'slug' => 'theme-yellow', 'color' => '#F1C40F', ], [ 'name' => __( 'Black', 'buddyx' ), 'slug' => 'theme-black', 'color' => '#1C2833', ], [ 'name' => __( 'Grey', 'buddyx' ), 'slug' => 'theme-grey', 'color' => '#95A5A6', ], [ 'name' => __( 'White', 'buddyx' ), 'slug' => 'theme-white', 'color' => '#ECF0F1', ], [ 'name' => __( 'Dusty daylight', 'buddyx' ), 'slug' => 'custom-daylight', 'color' => '#97c0b7', ], [ 'name' => __( 'Dusty sun', 'buddyx' ), 'slug' => 'custom-sun', 'color' => '#eee9d1', ], ] ); /* * Add support custom font sizes. * * Add the line below to disable the custom color picker in the editor. * add_theme_support( 'disable-custom-font-sizes' ); */ add_theme_support( 'editor-font-sizes', [ [ 'name' => __( 'Small', 'buddyx' ), 'shortName' => __( 'S', 'buddyx' ), 'size' => 16, 'slug' => 'small', ], [ 'name' => __( 'Medium', 'buddyx' ), 'shortName' => __( 'M', 'buddyx' ), 'size' => 25, 'slug' => 'medium', ], [ 'name' => __( 'Large', 'buddyx' ), 'shortName' => __( 'L', 'buddyx' ), 'size' => 31, 'slug' => 'large', ], [ 'name' => __( 'Larger', 'buddyx' ), 'shortName' => __( 'XL', 'buddyx' ), 'size' => 39, 'slug' => 'larger', ], ] ); } }