Overwrite Gutenberg link button hover/visited styles.

This commit is contained in:
Steven Dufresne 2020-04-25 01:51:52 +09:00 committed by GitHub
parent 2d8932cbd5
commit ba529d54f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -10,6 +10,11 @@
background: none;
color: $color__link-button;
text-decoration: none;
&:hover,
&:visited {
color: $color__link-button;
}
}
// Add "danger" button styles, red text on grey background.

View file

@ -123,7 +123,7 @@ add_action( 'after_setup_theme', __NAMESPACE__ . '\content_width', 0 );
* Enqueue scripts and styles.
*/
function scripts() {
wp_enqueue_style( 'wporg-style', get_theme_file_uri( '/css/style.css' ), [ 'dashicons', 'open-sans' ], '20191216' );
wp_enqueue_style( 'wporg-style', get_theme_file_uri( '/css/style.css' ), [ 'dashicons', 'open-sans' ], '20200423' );
wp_enqueue_script( 'wporg-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20181209', true );
wp_enqueue_script( 'wporg-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20151215', true );