Skip to content

Commit 74f48b0

Browse files
committed
fix: remaining issues for build
1 parent 03f2f20 commit 74f48b0

File tree

10 files changed

+34
-38
lines changed

10 files changed

+34
-38
lines changed

CODE-OF-CONDUCT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ We as members, contributors, and leaders pledge to make participation in our
66
community a harassment-free experience for everyone, regardless of age, body
77
size, visible or invisible disability, ethnicity, sex characteristics, gender
88
identity and expression, level of experience, education, socio-economic status,
9-
nationality, personal appearance, race, caste, color, religion, or sexual
9+
nationality, plusal appearance, race, caste, color, religion, or sexual
1010
identity and orientation.
1111

1212
We pledge to act and interact in ways that contribute to an open, welcoming,
@@ -29,7 +29,7 @@ Examples of unacceptable behavior include:
2929

3030
- The use of sexualized language or imagery, and sexual attention or advances of
3131
any kind
32-
- Trolling, insulting or derogatory comments, and personal or political attacks
32+
- Trolling, insulting or derogatory comments, and plusal or political attacks
3333
- Public or private harassment
3434
- Publishing others' private information, such as a physical or email address,
3535
without their explicit permission

angular17-example/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
13. `expressive`
4444
14. Goto browser; All texts should have different sizes
4545
15. Goto `src/app/app.component.html` and add `class` with those classes for each `<div>`:
46-
1. `db-informational-bg-basic-level-1`
47-
2. `db-successful-bg-basic-level-1`
48-
3. `db-successful-bg-basic-level-2`
46+
1. `db-color-informational`
47+
2. `db-color-successful`
48+
3. `db-color-successful db-bg-color-basic-level-2`
4949
19. Goto browser; All containers should have different background and foreground colors
5050
20. Goto `src/styles.scss` and append a new class:
5151

@@ -75,5 +75,5 @@ export class AppComponent {
7575
}
7676
```
7777

78-
18. Goto `src/app/app.component.html` and add `<db-button icon="user">Test</db-button>` inside each div
78+
18. Goto `src/app/app.component.html` and add `<db-button icon="plus">Test</db-button>` inside each div
7979
19. Goto browser; Button should be visible with different paddings
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
<main>
22
<div
33
data-density="functional"
4-
class="db-informational-bg-basic-level-1 container-with-padding"
4+
class="db-color-informational container-with-padding"
55
>
66
<h1>db-ux-functional</h1>
77
<p>Use this as default for enterprise apps</p>
8-
<db-button icon="person">Test</db-button>
8+
<db-button icon="plus">Test</db-button>
99
</div>
1010
<div
1111
data-density="regular"
12-
class="db-successful-bg-basic-level-1 container-with-padding"
12+
class="db-color-successful container-with-padding"
1313
>
1414
<h1>db-ux-regular</h1>
1515
<p>Use this as default for consumer apps</p>
16-
<db-button icon="person">Test</db-button>
16+
<db-button icon="plus">Test</db-button>
1717
</div>
1818
<div
1919
data-density="expressive"
20-
class="db-successful-bg-basic-level-2 container-with-padding"
20+
class="db-color-successful db-bg-color-basic-level-2 container-with-padding"
2121
>
2222
<h1>db-ux-expressive</h1>
2323
<p>Use this as default for marketing apps</p>
24-
<db-button icon="person">Test</db-button>
24+
<db-button icon="plus">Test</db-button>
2525
</div>
2626
</main>

react-example/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
```scss
1414
// Combined dependencies like variables, colors and tonality and all components
15-
@forward "@db-ux/core-components/build/styles/db-ux-42-rollup";
15+
@forward "@db-ux/core-components/build/styles/rollup";
1616
```
1717

1818
7. Goto `src/main.tsx` and rename `import './index.css'` to `import './index.scss'`
@@ -49,9 +49,9 @@ export default App;
4949
3. `expressive`
5050
12. Goto browser; All texts should have different sizes
5151
13. Goto `src/App.tsx` and add `className` with those classes for each `<div>`:
52-
1. `db-informational-bg-basic-level-1`
53-
2. `db-successful-bg-basic-level-1`
54-
3. `db-successful-bg-basic-level-2`
52+
1. `db-color-informational`
53+
2. `db-color-successful`
54+
3. `db-color-successful db-bg-color-basic-level-2`
5555
14. Goto browser; All containers should have different background and foreground colors
5656
15. Goto `src/index.scss` and append a new class:
5757

react-example/src/App.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,27 @@ const App = () => {
55
<main>
66
<div
77
data-density="functional"
8-
className="db-informational-bg-basic-level-1 container-with-padding"
8+
className="db-color-informational container-with-padding"
99
>
1010
<h1>db-ux-functional</h1>
1111
<p>Use this as default for enterprise apps</p>
12-
<DBButton icon="person">Test</DBButton>
12+
<DBButton icon="plus">Test</DBButton>
1313
</div>
1414
<div
1515
data-density="regular"
16-
className="db-successful-bg-basic-level-1 container-with-padding"
16+
className="db-color-successful container-with-padding"
1717
>
1818
<h1>db-ux-regular</h1>
1919
<p>Use this as default for consumer apps</p>
20-
<DBButton icon="person">Test</DBButton>
20+
<DBButton icon="plus">Test</DBButton>
2121
</div>
2222
<div
2323
data-density="expressive"
24-
className="db-successful-bg-basic-level-2 container-with-padding"
24+
className="db-color-successful db-bg-color-basic-level-2 container-with-padding"
2525
>
2626
<h1>db-ux-expressive</h1>
2727
<p>Use this as default for marketing apps</p>
28-
<DBButton icon="person">Test</DBButton>
28+
<DBButton icon="plus">Test</DBButton>
2929
</div>
3030
</main>
3131
);

react-example/src/index.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
@forward "@db-ux/core-components/build/styles/rollup";
33
// We use $db-spacing-fixed-md variable so we need to import the file where the variable is defined
44
@use "@db-ux/core-foundations/build/styles/variables";
5-
// Color-classes are optional, we use them in the example to have easy access to colors
6-
@forward "@db-ux/core-foundations/build/css/colors/classes/all";
75

86
// Example styles
97
.container-with-padding {

react-tailwind-template/src/pages/Page1.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const Page1 = () => {
1414
<p data-font-size="sm">Smaller font-size</p>
1515
<div className="flex gap-fix-md flex-wrap">
1616
{/* TODO: Change my icon; https://db-ux-design-system.github.io/core-web/review/main/foundations/icons/overview */}
17-
<DBButton icon="person">Button 1</DBButton>
17+
<DBButton icon="plus">Button 1</DBButton>
1818
<DBButton>Button 2</DBButton>
1919
<DBButton>Button 3</DBButton>
2020
</div>

vue-example/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@
4747
3. `expressive`
4848
12. Goto browser; All texts should have different sizes
4949
13. Goto `src/App.vue` and add `class` with those classes for each `<div>`:
50-
1. `db-informational-bg-basic-level-1`
51-
2. `db-successful-bg-basic-level-1`
52-
3. `db-successful-bg-basic-level-2`
50+
1. `db-color-informational`
51+
2. `db-color-successful`
52+
3. `db-color-successful db-bg-color-basic-level-2`
5353
14. Goto browser; All containers should have different background and foreground colors
5454
15. Goto `src/style.scss` and append a new class:
5555

@@ -61,5 +61,5 @@
6161

6262
16. Goto `src/App.vue` and add `container-with-padding` class for each `<div>`
6363
17. Goto browser; All containers should have different paddings
64-
18. Goto `src/App.vue` and add `import { DBButton } from "@db-ux/v-core-components";` inside the `<script>` tags and add `<DBButton icon="person">Test</DBButton>` inside each div
64+
18. Goto `src/App.vue` and add `import { DBButton } from "@db-ux/v-core-components";` inside the `<script>` tags and add `<DBButton icon="plus">Test</DBButton>` inside each div
6565
19. Goto browser; Button should be visible with different paddings

vue-example/src/App.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,27 @@ import { DBButton } from "@db-ux/v-core-components";
66
<main>
77
<div
88
data-density="functional"
9-
class="db-informational-bg-basic-level-1 container-with-padding"
9+
class="db-color-informational container-with-padding"
1010
>
1111
<h1>db-ux-functional</h1>
1212
<p>Use this as default for enterprise apps</p>
13-
<DBButton icon="person">Test</DBButton>
13+
<DBButton icon="plus">Test</DBButton>
1414
</div>
1515
<div
1616
data-density="regular"
17-
class="db-successful-bg-basic-level-1 container-with-padding"
17+
class="db-color-successful container-with-padding"
1818
>
1919
<h1>db-ux-regular</h1>
2020
<p>Use this as default for consumer apps</p>
21-
<DBButton icon="person">Test</DBButton>
21+
<DBButton icon="plus">Test</DBButton>
2222
</div>
2323
<div
2424
data-density="expressive"
25-
class="db-successful-bg-basic-level-2 container-with-padding"
25+
class="db-color-successful db-bg-color-basic-level-2 container-with-padding"
2626
>
2727
<h1>db-ux-expressive</h1>
2828
<p>Use this as default for marketing apps</p>
29-
<DBButton icon="person">Test</DBButton>
29+
<DBButton icon="plus">Test</DBButton>
3030
</div>
3131
</main>
3232
</template>

vue-example/src/style.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
// Combined dependencies like variables, colors and tonality and all components
2-
@forward "@db-ux/core-components/build/styles/db-ux-42-rollup";
2+
@forward "@db-ux/core-components/build/styles/rollup";
33
// We use $db-spacing-fixed-md variable so we need to import the file where the variable is defined
44
@use "@db-ux/core-foundations/build/styles/variables";
5-
// Color-classes are optional, we use them in the example to have easy access to colors
6-
@forward "@db-ux/core-foundations/build/css/colors/classes/all";
75

86
// Example styles
97
.container-with-padding {

0 commit comments

Comments
 (0)