Skip to content

Commit b0afce3

Browse files
Merge pull request #731 from pattern-lab/726-theme-in-config
feat(package): Add default theme config to patternlab-config.json
2 parents 165f2d1 + 2f6747d commit b0afce3

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

patternlab-config.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,10 @@
6262
"markupOnly": ".markup-only"
6363
},
6464
"cleanOutputHtml": true,
65-
"exportToGraphViz": false
65+
"exportToGraphViz": false,
66+
"theme": {
67+
"color": "dark",
68+
"density": "compact",
69+
"layout": "horizontal"
70+
}
6671
}

test/util/patternlab-config.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,10 @@
6969
},
7070
"cleanOutputHtml": true,
7171
"exportToGraphViz": false,
72-
"cleanPublic": true
72+
"cleanPublic": true,
73+
"theme": {
74+
"color": "dark",
75+
"density": "compact",
76+
"layout": "horizontal"
77+
}
7378
}

0 commit comments

Comments
 (0)