37 lines
1.1 KiB
CSS
37 lines
1.1 KiB
CSS
/*
|
|
Theme Name: Twenty Twenty-Five Child
|
|
Theme URI: https://healthfitnesswealth.com
|
|
Description: A child theme for Twenty Twenty-Five with dark mode support.
|
|
Author: Flatlogic
|
|
Template: twentytwentyfive
|
|
Version: 1.0.0
|
|
*/
|
|
|
|
/* Dark Mode Overrides */
|
|
body.is-dark-theme {
|
|
--wp--preset--color--base: #0a0a0a !important;
|
|
--wp--preset--color--contrast: #ffffff !important;
|
|
--wp--preset--color--accent-1: #1a1a1a !important;
|
|
--wp--preset--color--accent-2: #222222 !important;
|
|
--wp--preset--color--accent-3: #2a2a2a !important;
|
|
--wp--preset--color--accent-4: #bbbbbb !important;
|
|
--wp--preset--color--accent-5: #eeeeee !important;
|
|
--wp--preset--color--accent-6: rgba(255, 255, 255, 0.2) !important;
|
|
|
|
background-color: var(--wp--preset--color--base);
|
|
color: var(--wp--preset--color--contrast);
|
|
}
|
|
|
|
body.is-dark-theme img {
|
|
filter: brightness(.8) contrast(1.2);
|
|
}
|
|
|
|
body.is-dark-theme .wp-block-button__link {
|
|
background-color: var(--wp--preset--color--contrast) !important;
|
|
color: var(--wp--preset--color--base) !important;
|
|
}
|
|
|
|
body.is-dark-theme .wp-block-social-links {
|
|
--wp--preset--color--contrast: #ffffff;
|
|
}
|