From 7084408a7ebf280d5865868f1dfedecf108272ca Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 13 May 2025 14:50:37 +0000 Subject: [PATCH] Coding Standards: Simplify gradient color specifications in `theme.json`. `rgba(#,#,#,1)` is equivalent to `rgb(#,#,#)` and can be replaced with the latter for more consistency. Original PR from Gutenberg repository: * [https://github.com/WordPress/gutenberg/pull/70008 #70008 Simplify color specifications from rgba to rgb] Follow-up to [50959], [55405]. Props georgestephanis, wildworks, juanfra. Fixes #63381. Built from https://develop.svn.wordpress.org/trunk@60234 git-svn-id: http://core.svn.wordpress.org/trunk@59570 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/theme.json | 10 +++++----- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-includes/theme.json b/wp-includes/theme.json index 641c379557..85836d6c24 100644 --- a/wp-includes/theme.json +++ b/wp-includes/theme.json @@ -65,7 +65,7 @@ "gradients": [ { "name": "Vivid cyan blue to vivid purple", - "gradient": "linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)", + "gradient": "linear-gradient(135deg,rgb(6,147,227) 0%,rgb(155,81,224) 100%)", "slug": "vivid-cyan-blue-to-vivid-purple" }, { @@ -75,12 +75,12 @@ }, { "name": "Luminous vivid amber to luminous vivid orange", - "gradient": "linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)", + "gradient": "linear-gradient(135deg,rgb(252,185,0) 0%,rgb(255,105,0) 100%)", "slug": "luminous-vivid-amber-to-luminous-vivid-orange" }, { "name": "Luminous vivid orange to vivid red", - "gradient": "linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)", + "gradient": "linear-gradient(135deg,rgb(255,105,0) 0%,rgb(207,46,46) 100%)", "slug": "luminous-vivid-orange-to-vivid-red" }, { @@ -251,12 +251,12 @@ { "name": "Outlined", "slug": "outlined", - "shadow": "6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1)" + "shadow": "6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0)" }, { "name": "Crisp", "slug": "crisp", - "shadow": "6px 6px 0px rgba(0, 0, 0, 1)" + "shadow": "6px 6px 0px rgb(0, 0, 0)" } ] }, diff --git a/wp-includes/version.php b/wp-includes/version.php index 10cb2d9a0e..0e939afa4d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.9-alpha-60233'; +$wp_version = '6.9-alpha-60234'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.