mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 22:45:39 +00:00
Twenty Ten: Custom colors should override :visited link styles on blocks.
Make sure the block editor custom colors in the theme also override the theme's `:visited` link styles. This prevents contrast issues, like in the button block -- when the background is dark, the purple `:visited` link can be difficult to read. Props laurelfulford. Merges [44188] into trunk. Fixes #45434. Built from https://develop.svn.wordpress.org/trunk@44299 git-svn-id: http://core.svn.wordpress.org/trunk@44129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
110aae8048
commit
7f02dfc545
@ -204,42 +204,52 @@ p.has-drop-cap:not(:focus)::first-letter {
|
|||||||
6.0 Blocks - Colors
|
6.0 Blocks - Colors
|
||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
|
|
||||||
.has-blue-color {
|
.has-blue-color,
|
||||||
|
.has-blue-color:visited {
|
||||||
color: #0066cc;
|
color: #0066cc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-blue-background-color {
|
.has-blue-background-color,
|
||||||
|
.has-blue-background-color:visited {
|
||||||
background-color: #0066cc;
|
background-color: #0066cc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-black-color {
|
.has-black-color,
|
||||||
|
.has-black-color:visited {
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-black-background-color {
|
.has-black-background-color,
|
||||||
|
.has-black-background-color:visited {
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-medium-gray-color {
|
.has-medium-gray-color,
|
||||||
|
.has-medium-gray-color:visited {
|
||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-medium-gray-background-color {
|
.has-medium-gray-background-color,
|
||||||
|
.has-medium-gray-background-color:visited {
|
||||||
background-color: #666;
|
background-color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-light-gray-color {
|
.has-light-gray-color,
|
||||||
|
.has-light-gray-color:visited {
|
||||||
color: #f1f1f1;
|
color: #f1f1f1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-light-gray-background-color {
|
.has-light-gray-background-color,
|
||||||
|
.has-light-gray-background-color:visited {
|
||||||
background-color: #f1f1f1;
|
background-color: #f1f1f1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-white-color {
|
.has-white-color,
|
||||||
|
.has-white-color:visited {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-white-background-color {
|
.has-white-background-color,
|
||||||
|
.has-white-background-color:visited {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.1-alpha-44298';
|
$wp_version = '5.1-alpha-44299';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user