Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

// THAT is why we need a own f.t ThemeProcessor API #12

Open
Tracked by #23
carstingaxion opened this issue Jul 18, 2023 · 0 comments
Open
Tracked by #23

// THAT is why we need a own f.t ThemeProcessor API #12

carstingaxion opened this issue Jul 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@carstingaxion
Copy link
Member

	// 1.1. defaults are swapped 
	// (Lets's see how (long) this will work.)
	//
	// $relevant_colors['ft_background'] = '#f1f1f1';
	// $relevant_colors['ft_text']       = '#000';
	$relevant_colors['ft_background'] = '#000';
	$relevant_colors['ft_accent']     = '#808080';
	$relevant_colors['ft_text']       = '#f1f1f1';

$relevant_colors['ft_background'] = ( isset( $ft_global_styles['foreground'] ) ) ? $ft_global_styles['foreground'] : $relevant_colors['ft_background'];
// @TODO // THAT is why we need a own f.t ThemeProcessor API
$relevant_colors['ft_accent'] = ( isset( $ft_global_styles['primary'] ) ) ? $ft_global_styles['primary'] : $relevant_colors['ft_accent'];
// @TODO // THAT is why we need a own f.t ThemeProcessor API
// $ft_secondary = $ft_global_styles['secondary'];
// @TODO // THAT is why we need a own f.t ThemeProcessor API
$relevant_colors['ft_text'] = ( isset( $ft_global_styles['background'] ) ) ? $ft_global_styles['background'] : $relevant_colors['ft_text'];

@carstingaxion carstingaxion added the enhancement New feature or request label Jul 18, 2023
@carstingaxion carstingaxion mentioned this issue Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant