In order to display a theme's patterns I've implemented a solution using iframes and requests to a particular URL passing query parameters to select the theme to preview and the pattern to display.
This is implemented by the oik-patterns plugin on the pattern page.
These patterns are displayed in the accordion on the single-oik-themes page.
The accordion is used for Templates, Template Parts and Patterns
The current width allowed is normal
I think it would be better to display it using full width - as many patterns are originally designed to be displayed full width
... though most are responsive.
Requirement
On the single-oik-themes.html template display the post content as full width
Proposed solution
[ ] Add a new template part page-content-full.html which displays the post title in normal width and the post content in full width
[ ] Update the single-oik-themes.html template to use this instead of page-content
In order to display a theme's patterns I've implemented a solution using iframes and requests to a particular URL passing query parameters to select the theme to preview and the pattern to display.
pattern
page.Requirement
Proposed solution
page-content-full.html
which displays the post title in normal width and the post content in full widthsingle-oik-themes.html
template to use this instead ofpage-content