Skip to content

Commit acc7fa7

Browse files
authored
refactor: renamed bundle scss file and fixed path in usage files (#113)
* refactor: renamed db-ui-base.scss * fix: path in usage files
1 parent ade52aa commit acc7fa7

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
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/db-ui-base.scss:out/css/db-ui-base.css --style=compressed --embed-sources --load-path=node_modules",
18+
"build:patternlab-css": "sass source/css/patternlab.scss:out/css/patternlab.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",
20-
"build-test:css": "sass build/scss/_db-ui.scss:build/css/db-ui.css --load-path=node_modules",
20+
"build-test:css": "sass build/scss/_db-ui-base.scss:build/css/db-ui-base.css --load-path=node_modules",
2121
"build": "npm-run-all copy:assets build:* pl:build",
2222
"clean": "rm -rf build",
2323
"lint": "npm-run-all -p lint:*",
File renamed without changes.

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/db-ui-base.css?{{ cacheBuster }}" media="all" />
8+
<link rel="stylesheet" href="../../css/patternlab.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

source/_patterns/sizings/usage.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<db-tab label="SCSS" name="tab-bar" active>
2626
<pre>
2727
<code class="language-scss">/* ./index.scss */
28-
@import "@db-ui-base/build/scss/db-ui";
28+
@import "@db-ui/base/build/scss/db-ui-base";
2929

3030
body {
3131
@extend %db-ui-functional;

source/_patterns/spacings/usage.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<db-tab label="SCSS" name="tab-bar" active>
2626
<pre>
2727
<code class="language-scss">/* ./index.scss */
28-
@import "@db-ui-base/build/scss/db-ui";
28+
@import "@db-ui/base/build/scss/db-ui-base";
2929

3030
body {
3131
@extend %db-ui-functional;

source/_patterns/typography/usage.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<p>Applies all font-faces to body and headlines:</p>
2828
<pre>
2929
<code class="language-scss">/* ./index.scss */
30-
@import "@db-ui-base/build/scss/db-ui";
30+
@import "@db-ui/base/build/scss/db-ui-base";
3131

3232
body {
3333
@extend %db-ui-functional;

source/css/db-ui-base.scss renamed to source/css/patternlab.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "../../build/scss/db-ui";
1+
@import "../../build/scss/db-ui-base";
22
@import "../../build/scss/typography-classes";
33
@import "../../build/scss/color-classes";
44

0 commit comments

Comments
 (0)