Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions packages/admin-ui/src/page/style.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
.admin-ui-page {
display: flex;
height: 100%;
// @TODO: Revisit page background color. Consider using
// --wpds-color-bg-surface-neutral once existing pages (e.g. Styles)
// are updated to handle the contrast change.
// See https://github.com/WordPress/gutenberg/pull/76548
background-color: var(--wpds-color-bg-surface-neutral-strong);
background-color: var(--wpds-color-bg-surface-neutral);
color: var(--wpds-color-fg-content-neutral);
position: relative;
z-index: 1;
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/src/color-ramps/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const CONTRAST_COMBINATIONS: {

// Used when generating the DTCG tokens and the static color ramps.
export const DEFAULT_SEED_COLORS = {
bg: '#f8f8f8',
bg: '#fcfcfc',
primary: '#3858e9',
info: '#0090ff',
success: '#4ab866',
Expand Down
100 changes: 50 additions & 50 deletions packages/theme/src/color-ramps/lib/default-ramps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,28 @@ export const DEFAULT_RAMPS: Record<
> = {
bg: {
ramp: {
surface2: '#f8f8f8',
surface2: '#fcfcfc',
bgFill1: '#555',
fgFill: '#f0f0f0',
bgFill2: '#484848',
surface6: '#d2d2d2',
surface5: '#e2e2e2',
surface4: '#eaeaea',
surface6: '#d6d6d6',
surface5: '#e6e6e6',
surface4: '#ededed',
surface3: '#fff',
fgSurface4: '#1e1e1e',
fgSurface3: '#6d6d6d',
fgSurface2: '#8a8a8a',
fgSurface1: '#aaa',
stroke3: '#8a8a8a',
stroke4: '#6c6c6c',
stroke2: '#d8d8d8',
stroke1: '#e0e0e0',
fgSurface3: '#707070',
fgSurface2: '#8d8d8d',
fgSurface1: '#aeaeae',
stroke3: '#8d8d8d',
stroke4: '#6e6e6e',
stroke2: '#dbdbdb',
stroke1: '#e4e4e4',
bgFillDark: '#1e1e1e',
fgFillDark: '#f0f0f0',
bgFillInverted2: '#1e1e1e',
bgFillInverted1: '#2d2d2d',
fgFillInverted: '#f0f0f0',
surface1: '#f0f0f0',
surface1: '#f4f4f4',
},
direction: 'darker',
},
Expand All @@ -40,15 +40,15 @@ export const DEFAULT_RAMPS: Record<
bgFill1: '#3858e9',
fgFill: '#eff0f2',
bgFill2: '#2e49d9',
surface2: '#f6f8fd',
surface6: '#c7d2ed',
surface5: '#dbe2f4',
surface2: '#f6f8fe',
surface6: '#c7d2ee',
surface5: '#dce3f4',
surface4: '#e6eaf4',
surface3: '#fff',
fgSurface4: '#0b0070',
fgSurface3: '#3858e9',
fgSurface2: '#5b82ff',
fgSurface1: '#85a9ff',
fgSurface2: '#5a82ff',
fgSurface1: '#86a9ff',
stroke3: '#3858e9',
stroke4: '#2337c8',
stroke2: '#9caacc',
Expand All @@ -58,7 +58,7 @@ export const DEFAULT_RAMPS: Record<
bgFillInverted2: '#1a1e27',
bgFillInverted1: '#13009f',
fgFillInverted: '#eff0f2',
surface1: '#ecf0f9',
surface1: '#ecf0fa',
},
direction: 'darker',
},
Expand All @@ -67,15 +67,15 @@ export const DEFAULT_RAMPS: Record<
bgFill1: '#0090ff',
fgFill: '#1a1f24',
bgFill2: '#007fed',
surface2: '#f2f9ff',
surface2: '#f3f9ff',
surface6: '#bcd5f2',
surface5: '#d3e4f7',
surface5: '#d4e4f7',
surface4: '#deebfa',
surface3: '#fff',
fgSurface4: '#001b4f',
fgSurface3: '#006bd7',
fgSurface2: '#008bfa',
fgSurface1: '#58b0ff',
fgSurface1: '#59b0ff',
stroke3: '#006bd7',
stroke4: '#004fa9',
stroke2: '#95b5d9',
Expand All @@ -85,7 +85,7 @@ export const DEFAULT_RAMPS: Record<
bgFillInverted2: '#1a1f24',
bgFillInverted1: '#002a69',
fgFillInverted: '#eef0f3',
surface1: '#e4f1ff',
surface1: '#e5f1ff',
},
direction: 'darker',
},
Expand All @@ -94,25 +94,25 @@ export const DEFAULT_RAMPS: Record<
bgFill1: '#4ab866',
fgFill: '#1b1f1c',
bgFill2: '#37a756',
surface2: '#eaffed',
surface2: '#ebffed',
surface6: '#88e89b',
surface5: '#aff3bb',
surface4: '#c5f7cc',
surface5: '#b0f3bb',
surface4: '#c6f7cd',
surface3: '#fff',
fgSurface4: '#002900',
fgSurface3: '#007f30',
fgSurface2: '#2b9e4e',
fgSurface1: '#53c16e',
stroke3: '#007f30',
stroke4: '#006013',
stroke2: '#84c08e',
fgSurface3: '#008030',
fgSurface2: '#2b9f4e',
fgSurface1: '#54c16e',
stroke3: '#008030',
stroke4: '#006113',
stroke2: '#84c08f',
stroke1: '#8ac894',
bgFillDark: '#1b1f1c',
fgFillDark: '#eaf3eb',
bgFillInverted2: '#1b1f1c',
bgFillInverted1: '#003701',
fgFillInverted: '#eaf3eb',
surface1: '#cbfdd2',
surface1: '#ccfdd3',
},
direction: 'darker',
},
Expand All @@ -121,25 +121,25 @@ export const DEFAULT_RAMPS: Record<
bgFill1: '#f0d149',
fgFill: '#1f1e1b',
bgFill2: '#dcbe2f',
surface2: '#fff9c9',
surface6: '#e8d172',
surface5: '#f7e18a',
surface4: '#fee994',
surface2: '#fff9ca',
surface6: '#e9d170',
surface5: '#f7e28a',
surface4: '#fee995',
surface3: '#fff',
fgSurface4: '#281d00',
fgSurface3: '#826a00',
fgSurface2: '#a48600',
fgSurface2: '#a48700',
fgSurface1: '#c6a800',
stroke3: '#826a00',
stroke4: '#624f00',
stroke4: '#634f00',
stroke2: '#bdb17e',
stroke1: '#c5b883',
bgFillDark: '#1f1e1b',
fgFillDark: '#fdf1bf',
bgFillInverted2: '#1f1e1b',
bgFillInverted1: '#392c00',
fgFillInverted: '#fdf1bf',
surface1: '#ffef9b',
surface1: '#fff09c',
},
direction: 'darker',
},
Expand All @@ -148,25 +148,25 @@ export const DEFAULT_RAMPS: Record<
bgFill1: '#f0b849',
fgFill: '#1f1e1b',
bgFill2: '#dda633',
surface2: '#fff7e0',
surface6: '#f4cc84',
surface5: '#faddac',
surface4: '#fde6bd',
surface2: '#fff7e1',
surface6: '#f4cc85',
surface5: '#fadead',
surface4: '#fde6be',
surface3: '#fff',
fgSurface4: '#2e1900',
fgSurface3: '#926300',
fgSurface2: '#b47f00',
fgSurface1: '#d7a02a',
fgSurface2: '#b57f00',
fgSurface1: '#d7a02b',
stroke3: '#926300',
stroke4: '#6f4900',
stroke2: '#c7ad7e',
stroke1: '#d0b381',
stroke1: '#d0b481',
bgFillDark: '#1f1e1b',
fgFillDark: '#f7efe2',
bgFillInverted2: '#1f1e1b',
bgFillInverted1: '#422800',
fgFillInverted: '#f7efe2',
surface1: '#ffecc4',
surface1: '#ffedc5',
},
direction: 'darker',
},
Expand All @@ -175,9 +175,9 @@ export const DEFAULT_RAMPS: Record<
bgFill1: '#cc1818',
fgFill: '#f2efef',
bgFill2: '#b90000',
surface2: '#fff6f4',
surface6: '#f3c8c2',
surface5: '#f8dcd7',
surface2: '#fff6f5',
surface6: '#f3c9c2',
surface5: '#f7dbd7',
surface4: '#f6e6e3',
surface3: '#fff',
fgSurface4: '#470000',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports[`buildRamps accent ramp snapshots 1`] = `
},
},
"seedComputed": "#d1d1d1",
"seedOriginal": "#f8f8f8",
"seedOriginal": "#fcfcfc",
"seedUnchanged": false,
},
"output": {
Expand Down Expand Up @@ -58,7 +58,7 @@ exports[`buildRamps accent ramp snapshots 1`] = `
},
},
"seedComputed": "#d1d1d1",
"seedOriginal": "#f8f8f8",
"seedOriginal": "#fcfcfc",
"seedUnchanged": false,
},
"output": {
Expand Down Expand Up @@ -103,7 +103,7 @@ exports[`buildRamps accent ramp snapshots 1`] = `
},
},
"seedComputed": "#d1d1d1",
"seedOriginal": "#f8f8f8",
"seedOriginal": "#fcfcfc",
"seedUnchanged": false,
},
"output": {
Expand Down Expand Up @@ -148,7 +148,7 @@ exports[`buildRamps accent ramp snapshots 1`] = `
},
},
"seedComputed": "#d1d1d1",
"seedOriginal": "#f8f8f8",
"seedOriginal": "#fcfcfc",
"seedUnchanged": false,
},
"output": {
Expand Down Expand Up @@ -193,7 +193,7 @@ exports[`buildRamps accent ramp snapshots 1`] = `
},
},
"seedComputed": "#d2d2d2",
"seedOriginal": "#f8f8f8",
"seedOriginal": "#fcfcfc",
"seedUnchanged": false,
},
"output": {
Expand Down Expand Up @@ -237,15 +237,15 @@ exports[`buildRamps accent ramp snapshots 1`] = `
"value": 0.7,
},
},
"seedComputed": "#f8f8f8",
"seedOriginal": "#f8f8f8",
"seedComputed": "#fcfcfc",
"seedOriginal": "#fcfcfc",
"seedUnchanged": true,
},
"output": {
"direction": "darker",
"ramp": {
"bgFill1": "#f8f8f8",
"bgFill2": "#e2e2e2",
"bgFill1": "#fcfcfc",
"bgFill2": "#e6e6e6",
"bgFillDark": "#050505",
"bgFillInverted1": "#1e1e1e",
"bgFillInverted2": "#050505",
Expand Down Expand Up @@ -279,15 +279,15 @@ exports[`buildRamps accent ramp snapshots 1`] = `
"value": 0.8,
},
},
"seedComputed": "#f8f8f8",
"seedOriginal": "#f8f8f8",
"seedComputed": "#fcfcfc",
"seedOriginal": "#fcfcfc",
"seedUnchanged": true,
},
"output": {
"direction": "darker",
"ramp": {
"bgFill1": "#f8f8f8",
"bgFill2": "#e2e2e2",
"bgFill1": "#fcfcfc",
"bgFill2": "#e6e6e6",
"bgFillDark": "#1e1e1e",
"bgFillInverted1": "#2d2d2d",
"bgFillInverted2": "#1e1e1e",
Expand Down Expand Up @@ -321,15 +321,15 @@ exports[`buildRamps accent ramp snapshots 1`] = `
"value": 0.9,
},
},
"seedComputed": "#f8f8f8",
"seedOriginal": "#f8f8f8",
"seedComputed": "#fcfcfc",
"seedOriginal": "#fcfcfc",
"seedUnchanged": true,
},
"output": {
"direction": "darker",
"ramp": {
"bgFill1": "#f8f8f8",
"bgFill2": "#e2e2e2",
"bgFill1": "#fcfcfc",
"bgFill2": "#e6e6e6",
"bgFillDark": "#1e1e1e",
"bgFillInverted1": "#2d2d2d",
"bgFillInverted2": "#1e1e1e",
Expand Down Expand Up @@ -363,15 +363,15 @@ exports[`buildRamps accent ramp snapshots 1`] = `
"value": 1,
},
},
"seedComputed": "#f8f8f8",
"seedOriginal": "#f8f8f8",
"seedComputed": "#fcfcfc",
"seedOriginal": "#fcfcfc",
"seedUnchanged": true,
},
"output": {
"direction": "darker",
"ramp": {
"bgFill1": "#f8f8f8",
"bgFill2": "#e2e2e2",
"bgFill1": "#fcfcfc",
"bgFill2": "#e6e6e6",
"bgFillDark": "#1e1e1e",
"bgFillInverted1": "#2d2d2d",
"bgFillInverted2": "#1e1e1e",
Expand Down
Loading
Loading