Skip to content

Commit

Permalink
Add purple / violet color to default color palette. (#16833)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtias authored and gziolo committed Aug 29, 2019
1 parent 3e835ad commit aa7073a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/block-editor/src/store/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
8 changes: 8 additions & 0 deletions packages/block-library/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
background-color: #0693e3;
}

.has-vivid-purple-background-color {
background-color: #9b51e0;
}

.has-very-light-gray-background-color {
background-color: #eee;
}
Expand Down Expand Up @@ -109,6 +113,10 @@
color: #0693e3;
}

.has-vivid-purple-color {
color: #9b51e0;
}

.has-very-light-gray-color {
color: #eee;
}
Expand Down

0 comments on commit aa7073a

Please sign in to comment.