Home
last modified time | relevance | path

Searched refs:theme_json (Results 1 – 10 of 10) sorted by relevance

/dports/chinese/wordpress-zh_TW/wordpress/wp-includes/
H A Dclass-wp-theme-json.php23 private $theme_json = null; variable in WP_Theme_JSON
279 if ( ! isset( $theme_json['version'] ) || self::LATEST_SCHEMA !== $theme_json['version'] ) {
280 $this->theme_json = array();
284 $this->theme_json = self::sanitize( $theme_json );
484 if ( ! isset( $this->theme_json['settings'] ) ) {
487 return $this->theme_json['settings'];
988 if ( ! isset( $theme_json['settings'] ) ) {
1041 if ( ! isset( $theme_json['styles'] ) ) {
1051 if ( isset( $theme_json['styles']['elements'] ) ) {
1098 $this->theme_json = array_replace_recursive( $this->theme_json, $incoming_data );
[all …]
H A Dclass-wp-theme-json-resolver.php185 * @param array $theme_json The theme.json to translate.
190 private static function translate( $theme_json, $domain = 'default' ) { argument
211 $base_tree = _wp_array_get( $theme_json, $base_path, array() );
221 _wp_array_set( $theme_json, $whole_path, $translated_array );
224 $array_to_translate = _wp_array_get( $theme_json, $path, null );
230 _wp_array_set( $theme_json, $path, $translated_array );
234 return $theme_json;
H A Dblock-editor.php294 $theme_json = WP_Theme_JSON_Resolver::get_merged_data( $editor_settings );
298 'css' => $theme_json->get_stylesheet( 'block_styles' ),
302 'css' => $theme_json->get_stylesheet( 'css_variables' ),
308 $editor_settings['__experimentalFeatures'] = $theme_json->get_settings();
H A Dscript-loader.php2309 $theme_json = WP_Theme_JSON_Resolver::get_merged_data( $settings );
2310 $stylesheet = $theme_json->get_stylesheet();
/dports/chinese/wordpress-zh_CN/wordpress/wp-includes/
H A Dclass-wp-theme-json.php23 private $theme_json = null; variable in WP_Theme_JSON
279 if ( ! isset( $theme_json['version'] ) || self::LATEST_SCHEMA !== $theme_json['version'] ) {
280 $this->theme_json = array();
284 $this->theme_json = self::sanitize( $theme_json );
484 if ( ! isset( $this->theme_json['settings'] ) ) {
487 return $this->theme_json['settings'];
988 if ( ! isset( $theme_json['settings'] ) ) {
1041 if ( ! isset( $theme_json['styles'] ) ) {
1051 if ( isset( $theme_json['styles']['elements'] ) ) {
1098 $this->theme_json = array_replace_recursive( $this->theme_json, $incoming_data );
[all …]
H A Dclass-wp-theme-json-resolver.php185 * @param array $theme_json The theme.json to translate.
190 private static function translate( $theme_json, $domain = 'default' ) { argument
211 $base_tree = _wp_array_get( $theme_json, $base_path, array() );
221 _wp_array_set( $theme_json, $whole_path, $translated_array );
224 $array_to_translate = _wp_array_get( $theme_json, $path, null );
230 _wp_array_set( $theme_json, $path, $translated_array );
234 return $theme_json;
H A Dblock-editor.php294 $theme_json = WP_Theme_JSON_Resolver::get_merged_data( $editor_settings );
298 'css' => $theme_json->get_stylesheet( 'block_styles' ),
302 'css' => $theme_json->get_stylesheet( 'css_variables' ),
308 $editor_settings['__experimentalFeatures'] = $theme_json->get_settings();
H A Dscript-loader.php2309 $theme_json = WP_Theme_JSON_Resolver::get_merged_data( $settings );
2310 $stylesheet = $theme_json->get_stylesheet();
/dports/accessibility/feedbackd/feedbackd-b2a8061cdc7be4fa76f7fa976c67bac4f5a0055c/data/
H A Dmeson.build47 theme_json = ['default.json'] variable
49 theme_json,
55 foreach theme : theme_json
60 input: theme_json,
/dports/editors/jucipp/jucipp-b3b5182258b25835e7c5f683623ab774d8e34c75/src/
H A Dconfig.cpp169 auto theme_json = cfg.object("gtk_theme"); in read() local
170 theme.name = theme_json.string("name"); in read()
171 theme.variant = theme_json.string("variant"); in read()
172 theme.font = theme_json.string("font"); in read()