Skip to content

Adding Customized States does not work #108

@mooddesign

Description

@mooddesign

First of all, thanks for the great work, folks!

I'm currently evaluating Pattern Lab (Edition Node Gulp) for a use case at my current employer.
Besides some other minor issues that I'm experiencing I'm trying to use customized states ("production" in the screenshots, green dot) for components as stated here: http://patternlab.io/docs/pattern-states.html. And they are not showing up.


Screens:
Fails on the component's "page"
bildschirmfoto 2018-01-29 um 17 24 36

Fails in the navigation
bildschirmfoto 2018-01-29 um 17 24 02

Works in "View All"
bildschirmfoto 2018-01-29 um 17 24 17


The root cause is that the custom styles (style.css or pattern-scaffolding.css) are not being included in index.html. So the custom format neither applies to navigation nor content. Whereas they are properly included in #sg-viewport-iframes.


Version information:
Node: v6.11.3
NPM: 3.10.10
NVM: 0.33.0

Pattern Lab (Edition Node Gulp): 1.3.4
styleguidekit-assets-default: ^3.5.2
styleguidekit-mustache-default: ^3.0.0


Maybe I'm misunderstanding the docs.
Can you please enlighten me?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions