tutors-sdk / tutors

The core Tutors Reader application.
https://tutors.dev
MIT License
106 stars 38 forks source link

Reintegrate Theme Designer #670

Open edeleastar opened 5 months ago

edeleastar commented 5 months ago

The Skeleton Theme Designer:

… was part tutors in the past. The latest source for this component appears to be here:

A previous version of Tutors had adapted this component into the core reader. We would like to have this back as part of the Layout menu.

Related Issues:

edeleastar commented 5 months ago

Update: This component:

can be integrated reasonably easily - by also bringing in this:

However - this line (200) causes a run time error:

    $: livePreviewStylesheet = $storePreview ? `\<style\>${cssOutput}\</style\>` : '';

unless the cssOutput is removed:

    $: livePreviewStylesheet = $storePreview;

However, this disables preview. Could be a project config error - possibly postcss?