PHP code example of concrete5-community / dark_mode_editor

1. Go to this page and download the library: Download concrete5-community/dark_mode_editor library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

concrete5-community / dark_mode_editor example snippets



return [
    // Your custom background color
    'backgroundColor' => '#d0d0d0',
    // Your custom background color
    'textColor' => '#00ff00',
];


return [
    'backgroundColor' => '#d0d0d0',
    'textColor' => '',
];