Skip to content

Commit 29eddbb

Browse files
authored
chore(mistica-css): add boxed example in mistica-css html (#1368)
1 parent 64b7904 commit 29eddbb

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ dist-es/
66
public/
77
storybook-static/
88
.vercel/
9+
.yarn/
910
CHANGELOG.md
1011
reports
1112

examples/css/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ <h3 class="mistica-text-title2">TextLink</h3>
7373
this is a <a class="mistica-text-link" href="#" disabled>disabled text link</a> too.
7474
</p>
7575

76+
<h3 class="mistica-text-title2">Boxed</h3>
77+
<div class="mistica-boxed" style="padding: 16px">
78+
<h2 class="mistica-text-title2">Title</h2>
79+
<p class="mistica-text-1">Some text</p>
80+
</div>
81+
7682
<h3 class="mistica-text-title2">Tag</h3>
7783
<div>
7884
<div class="mistica-tag-promo">Promo</div>

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"test": "jest --config jest.unit.config.js",
2121
"test-acceptance": "test-acceptance",
2222
"test-ssr": "test-acceptance --config jest.ssr.config.js",
23-
"prettier-check": "prettier --check \"**/*.js\" \"**/*.tsx\" \"**/*.ts\" \"**/*.json\"",
23+
"prettier-check": "prettier --check \"**/*.js\" \"**/*.tsx\" \"**/*.ts\" \"**/*.json\" \"**/*.css\" \"**/*.html\"",
2424
"lint": "eslint --report-unused-disable-directives .",
2525
"ts-check": "tsc --project tsconfig.json --noEmit",
2626
"build": "yarn clean && node scripts/build.js",
@@ -176,7 +176,7 @@
176176
"*.css"
177177
],
178178
"lint-staged": {
179-
"*.{js,css,md,yml,yaml,ts,tsx,d.ts,json}": "prettier --write"
179+
"*.{js,css,md,yml,yaml,ts,tsx,d.ts,json,html}": "prettier --write"
180180
},
181181
"release": {
182182
"plugins": [

0 commit comments

Comments
 (0)