Fixes to color tweak via customizer.
This commit is contained in:
parent
bef62d9251
commit
11172a861e
|
@ -22,17 +22,20 @@
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
&.is-root-container.is-layout-flow>h1 {
|
||||||
|
margin-left: 0px !important;
|
||||||
|
margin-right: 0px !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.wp-block.editor-post-title__block,
|
.wp-block.editor-post-title__block,
|
||||||
.editor-post-title__block .editor-post-title__input,
|
.editor-post-title__block .editor-post-title__input,
|
||||||
.editor-post-title.editor-post-title__input {
|
.editor-post-title.editor-post-title__input {
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
font-family: 'Roboto', sans-serif;
|
font-family: 'Roboto', sans-serif;
|
||||||
color: var(--tainacan-interface--link-color, #298596);
|
color:#1d1d1d;
|
||||||
textarea {
|
textarea {
|
||||||
padding: 3px 6px;
|
padding: 3px 6px;
|
||||||
color: var(--tainacan-interface--link-color, #298596);
|
color: #1d1d1d;
|
||||||
color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"version": 3,
|
"version": 3,
|
||||||
"mappings": "AACA,KAAM,CACF,gCAAgC,CAAC,QAAQ,CACzC,mCAAmC,CAAC,QAAQ,CAC5C,wBAAwB,CAAC,+CAA+C,CACxE,8BAA8B,CAAC,KAAK,CACpC,gCAAgC,CAAC,KAAK,CACtC,8BAA8B,CAAC,KAAK,CACpC,6BAA6B,CAAC,KAAK,CACnC,4BAA4B,CAAC,uCAAuC,CACpE,4BAA4B,CAAC,QAAQ,CACrC,2BAA2B,CAAC,QAAQ,CACpC,4BAA4B,CAAC,QAAQ,CACrC,8BAA8B,C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AI,CACf,UAAU,CAAE,KAAK,CACjB,UAAU,CAAE,MAAM,CAClB,KAAK,CAAE,OAAO,CAKd,sJAA6B,CACzB,UAAU,CAAE,uFAAuF,CACnG,aAAa,CAAE,uFAAuF,CAG1G,uYAC8C,CAC1C,SAAS,CAAE,QAAQ,CACnB,WAAW,CAAE,GAAG,CAEpB,+dACoE,CAChE,KAAK,CAAE,8CAA8C,CACrD,KAAK,CAAE,6EAA6E,CAExF,4JAA8B,CAC1B,KAAK,CAAE,OAAO,CACd,SAAS,CAAE,IAAI,CACf,WAAW,CAAE,MAAM,CACnB,UAAU,CAAE,MAAM,CAClB,cAAc,CAAE,IAAI,CAK5B,gGAAoB,CAKhB,KAAK,CAAE,GAAG,CACV,SAAS,CAAE,KAAK,CALhB,sJAA6B,CACzB,YAAY,CAAE,8CAA8C,CAC5D,YAAY,CAAE,6EAA6E,CAI/F,4HAAgB,CACZ,KAAK,CAAE,IAAI,CAGX,kMAAqC,CACjC,KAAK,CAAE,8CAA8C,CACrD,KAAK,CAAE,6EAA6E,CAExF,4IAAU,CACN,WAAW,CAAE,GAAG,CAM5B,8FAAmB,CACf,UAAU,CAAE,IAAI,CAChB,WAAW,CAAE,IAAI,CACjB,YAAY,CAAE,IAAI,CAClB,aAAa,CAAE,iBAAiB,CAChC,WAAW,CAAE,MAAM,CACnB,SAAS,CAAE,OAAO,CAClB,OAAO,CAAE,MAAM,CAEnB,8FAAmB,CACf,MAAM,CAAE,iBAAiB,CACzB,SAAS,CAAE,QAAQ,CACnB,OAAO,CAAE,MAAM,CAGnB,kJAA6C,CACzC,WAAW,CAAE,GAAG",
|
||||||
"sources": ["assets/scss/_variables.scss","assets/scss/editor-style.scss"],
|
"sources": ["assets/scss/_variables.scss","assets/scss/editor-style.scss"],
|
||||||
"names": [],
|
"names": [],
|
||||||
"file": "editor-style.css"
|
"file": "editor-style.css"
|
||||||
|
|
|
@ -352,7 +352,7 @@ function tainacan_get_color_scheme_css( $colors ) {
|
||||||
$filter = ( has_filter( 'tainacan-customize-css-class' ) ) ? apply_filters( 'tainacan-customize-css-class', $colors ) : '';
|
$filter = ( has_filter( 'tainacan-customize-css-class' ) ) ? apply_filters( 'tainacan-customize-css-class', $colors ) : '';
|
||||||
|
|
||||||
return <<<CSS
|
return <<<CSS
|
||||||
:root {
|
body {
|
||||||
--tainacan-interface--link-color: {$colors['tainacan_link_color']} !important;
|
--tainacan-interface--link-color: {$colors['tainacan_link_color']} !important;
|
||||||
--tainacan-interface--tooltip-color: {$colors['tainacan_tooltip_color']} !important;
|
--tainacan-interface--tooltip-color: {$colors['tainacan_tooltip_color']} !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,6 +42,7 @@ if ( ! function_exists( 'tainacan_enqueues' ) ) {
|
||||||
$settings = array(
|
$settings = array(
|
||||||
'theme_items_list_url' => esc_url_raw( get_site_url() ) . '/' . \Tainacan\Theme_Helper::get_instance()->get_items_list_slug(),
|
'theme_items_list_url' => esc_url_raw( get_site_url() ) . '/' . \Tainacan\Theme_Helper::get_instance()->get_items_list_slug(),
|
||||||
'theme_collection_list_url' => get_post_type_archive_link( 'tainacan-collection' ),
|
'theme_collection_list_url' => get_post_type_archive_link( 'tainacan-collection' ),
|
||||||
|
'theme_taxonomy_list_url' => get_post_type_archive_link( 'tainacan-taxonomy' ),
|
||||||
'site_url' => get_site_url()
|
'site_url' => get_site_url()
|
||||||
);
|
);
|
||||||
wp_register_script( 'tainacan_searchBarRedirect', get_template_directory_uri() . '/assets/js/search-bar-redirect.js', '', TAINACAN_INTERFACE_VERSION, false );
|
wp_register_script( 'tainacan_searchBarRedirect', get_template_directory_uri() . '/assets/js/search-bar-redirect.js', '', TAINACAN_INTERFACE_VERSION, false );
|
||||||
|
|
Loading…
Reference in New Issue