Function __global->generate_theme_wizard_css_sheet
Definitions
sources/themewizard.php
- Rewrite a CSS file's code according to a CSS landscape.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $css_file | ID_TEXT | No | No | required parameter | N/A | N/A | CSS filename of source file |
| $css_source_path | ?PATH | No | No | required parameter | N/A | N/A | Where to get the CSS file from (null: search) |
| $landscape | array | No | No | required parameter | N/A | N/A | The colour expression landscape which we'll make substitutions using |
| $source_theme | ID_TEXT | No | No | required parameter | N/A | N/A | The theme this is being generated from |
| $algorithm | ID_TEXT | No | No | required parameter | equations hsv | N/A | The algorithm to use |
| $seed | ID_TEXT | No | No | required parameter | N/A | N/A | The seed colour |
Returns
- The sheet
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Rewrite a CSS file's code according to a CSS landscape.
*
* @param ID_TEXT $css_file CSS filename of source file
* @param ?PATH $css_source_path Where to get the CSS file from (null: search)
* @param array $landscape The colour expression landscape which we'll make substitutions using
* @param ID_TEXT $source_theme The theme this is being generated from
* @param ID_TEXT $algorithm The algorithm to use
* @set equations hsv
* @param ID_TEXT $seed The seed colour
* @return string The sheet
*/
function generate_theme_wizard_css_sheet(string $css_file, ?string $css_source_path, array $landscape, string $source_theme, string $algorithm, string $seed) : string
* Rewrite a CSS file's code according to a CSS landscape.
*
* @param ID_TEXT $css_file CSS filename of source file
* @param ?PATH $css_source_path Where to get the CSS file from (null: search)
* @param array $landscape The colour expression landscape which we'll make substitutions using
* @param ID_TEXT $source_theme The theme this is being generated from
* @param ID_TEXT $algorithm The algorithm to use
* @set equations hsv
* @param ID_TEXT $seed The seed colour
* @return string The sheet
*/
function generate_theme_wizard_css_sheet(string $css_file, ?string $css_source_path, array $landscape, string $source_theme, string $algorithm, string $seed) : string

