From 223edaad047d36247a2fed85a695e86d805ffaaa Mon Sep 17 00:00:00 2001 From: Matias Ventura Date: Thu, 1 Aug 2019 19:46:24 +0200 Subject: [PATCH] Add purple / violet color to default color palette. (#16833) --- packages/block-editor/src/store/defaults.js | 5 +++++ packages/block-library/src/style.scss | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/packages/block-editor/src/store/defaults.js b/packages/block-editor/src/store/defaults.js index dc950c9a426deb..1f91e29c7e2f50 100644 --- a/packages/block-editor/src/store/defaults.js +++ b/packages/block-editor/src/store/defaults.js @@ -71,6 +71,11 @@ export const SETTINGS_DEFAULTS = { slug: 'vivid-cyan-blue', color: '#0693e3', }, + { + name: __( 'Vivid purple' ), + slug: 'vivid-purple', + color: '#9b51e0', + }, { name: __( 'Very light gray' ), slug: 'very-light-gray', diff --git a/packages/block-library/src/style.scss b/packages/block-library/src/style.scss index 540fd4cd99ec51..fd78fcc3b18d11 100644 --- a/packages/block-library/src/style.scss +++ b/packages/block-library/src/style.scss @@ -63,6 +63,10 @@ background-color: #0693e3; } + .has-vivid-purple-background-color { + background-color: #9b51e0; + } + .has-very-light-gray-background-color { background-color: #eee; } @@ -109,6 +113,10 @@ color: #0693e3; } + .has-vivid-purple-color { + color: #9b51e0; + } + .has-very-light-gray-color { color: #eee; }