Error to inherit from a theme

Dear all,
Not sure if this is the right place.

I just create a new theme inherited from typhoon theme (premium).
can you please help me with the following error?

The very best.
Carlos.

Server Error

0 - Mexitek\PHPColors\Color::__construct(): Argument #1 ($hex) must be of type string, null given, called in C:\xampp\htdocs\des\user\plugins\color-tools\color-tools.php on line 65

Is color tools plugin a part of the Typhoon theme?

Thanks Karmalakas,
No idea.

best
Carlos.

It’s in the Typhoon docs: ’ If you chose to inherit from Typhoon when creating your theme, a few more steps are required for NPM to work properly.

  1. From the original Typhoon theme folder, copy the following files into your new theme’s folder: package.json, vite.config.ts
  2. Create a new file css/site.css in your new theme, with the following content:
@import '../../typhoon/css/site.css';
  1. You will also be able to add your own CSS declarations and imports in this file, going forward.
  2. Finally, run the npm install command as explained in the previous section, and you are ready to continue on.
1 Like