Function __global->_calculate_themewizard_dynamic_css_colours

Definitions

sources/themewizard.php

  • Augment an array of CSS colours with colours that are derived actually inside the CSS-sheets.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$seed string required parameter N/A N/A Colour seed
$dark boolean required parameter N/A N/A Whether it will be a dark theme
$colours array required parameter N/A N/A Map of colours
$source_theme ID_TEXT required parameter N/A N/A The theme it's being generated from

Return

  • A pair: extended map of colours, colour expression landscape
  • Type: array
  • Set: N/A
  • Range: N/A