Skip to content

Commit 8e7aaed

Browse files
authored
refactor: rename patternlab.scss to documentation.scss (#155)
refactor: renamed documentation SCSS file
1 parent 139a1c9 commit 8e7aaed

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"copy:assets": "cpr assets build/assets -d",
1616
"copy:scss": "cpr scss build/scss -o",
1717
"build:style-dictionary": "node style-dictionary.js && npm run copy:scss",
18-
"build:patternlab-css": "sass source/css/patternlab.scss:out/css/patternlab.css --style=compressed --embed-sources --load-path=node_modules",
18+
"build:documentation-css": "sass source/css/documentation.scss:out/css/documentation.css --style=compressed --embed-sources --load-path=node_modules",
1919
"build:tailwind": "node scripts/tailwind-config-generator.mjs false true && cpr scripts/tailwind-config-generator.mjs build/tailwind/tailwind-config-generator.mjs -o",
2020
"build-test:css": "sass build/scss/:build/css/ --load-path=node_modules",
2121
"build": "npm-run-all copy:assets build:* pl:build",
@@ -27,7 +27,7 @@
2727
"start": "npm-run-all build:style-dictionary --parallel pl:serve watch:tokens watch:scss",
2828
"test": "exit 0",
2929
"watch:tokens": "nodemon --watch tokens/ -e json -x \"npm run build:style-dictionary\"",
30-
"watch:scss": "nodemon --watch source/_patterns/ -e scss -x \"npm run build:patternlab-css\"",
30+
"watch:scss": "nodemon --watch source/_patterns/ -e scss -x \"npm run build:documentation-css\"",
3131
"pl:build": "patternlab build --config ./patternlab-config.json",
3232
"pl:help": "patternlab --help",
3333
"pl:install": "patternlab install --config ./patternlab-config.json",

source/_meta/_head.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width" />
77

8-
<link rel="stylesheet" href="../../css/patternlab.css?{{ cacheBuster }}" media="all" />
8+
<link rel="stylesheet" href="../../css/documentation.css?{{ cacheBuster }}" media="all" />
99
<link rel="stylesheet" href="../../css/pattern-scaffolding.css?{{ cacheBuster }}" media="all" />
1010
<link rel="stylesheet" href="https://db-ui.github.io/core/css/pattern-scaffolding-project-specific.css?{{ cacheBuster }}" media="all" />
1111

0 commit comments

Comments
 (0)