@dereekb/dbx-form 13.4.2 → 13.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/fesm2022/dereekb-dbx-form-calendar.mjs +76 -76
  2. package/fesm2022/dereekb-dbx-form-calendar.mjs.map +1 -1
  3. package/fesm2022/dereekb-dbx-form-mapbox.mjs +21 -21
  4. package/fesm2022/dereekb-dbx-form-quiz.mjs +63 -63
  5. package/fesm2022/dereekb-dbx-form-quiz.mjs.map +1 -1
  6. package/fesm2022/dereekb-dbx-form.mjs +270 -270
  7. package/fesm2022/dereekb-dbx-form.mjs.map +1 -1
  8. package/lib/extension/_extension.scss +0 -13
  9. package/lib/extension/calendar/_calendar.scss +0 -19
  10. package/lib/form/_form.scss +0 -19
  11. package/lib/formly/_formly.scss +0 -19
  12. package/lib/formly/field/_field.scss +0 -6
  13. package/lib/formly/field/checklist/_checklist.scss +0 -24
  14. package/lib/formly/field/component/_component.scss +0 -19
  15. package/lib/formly/field/selection/_selection.scss +0 -4
  16. package/lib/formly/field/selection/list/_list.scss +0 -19
  17. package/lib/formly/field/selection/pickable/_pickable.scss +0 -19
  18. package/lib/formly/field/selection/searchable/_searchable.scss +0 -19
  19. package/lib/formly/field/selection/sourceselect/_sourceselect.scss +0 -19
  20. package/lib/formly/field/texteditor/_texteditor.scss +10 -40
  21. package/lib/formly/field/value/_value.scss +0 -6
  22. package/lib/formly/field/value/array/_array.scss +3 -32
  23. package/lib/formly/field/value/boolean/_boolean.scss +0 -19
  24. package/lib/formly/field/value/date/_date.scss +1 -24
  25. package/lib/formly/field/value/number/_number.scss +0 -18
  26. package/lib/formly/field/value/phone/_phone.scss +4 -35
  27. package/lib/formly/field/value/text/_text.scss +0 -19
  28. package/lib/formly/field/wrapper/_wrapper.scss +0 -19
  29. package/lib/formly/form/_form.scss +0 -19
  30. package/lib/layout/_layout.scss +0 -19
  31. package/lib/style/_all-typography.scss +0 -13
  32. package/lib/style/_theming.scss +1 -200
  33. package/package.json +16 -16
@@ -15,19 +15,6 @@
15
15
  }
16
16
 
17
17
  @mixin all-extension-typography($theme-config-or-typography-config) {
18
- $calendar-enabled: 1;
19
-
20
- @if ($theme-config-or-typography-config != null) {
21
- @if (theming.private-is-theme-object($theme-config-or-typography-config)) {
22
- $theme-config: $theme-config-or-typography-config;
23
-
24
- $calendar-enabled: config.get-dbx-extension-calendar-enabled($theme-config);
25
- }
26
-
27
- @if ($calendar-enabled == 1) {
28
- @include calendar.typography($theme-config-or-typography-config);
29
- }
30
- }
31
18
  }
32
19
 
33
20
  @mixin all-extension-theme($theme-config) {
@@ -143,24 +143,5 @@
143
143
  }
144
144
  }
145
145
 
146
- @mixin color($theme-config) {
147
- }
148
-
149
- @mixin typography($theme-config-or-typography-config) {
150
- }
151
-
152
146
  @mixin theme($theme-config) {
153
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-calendar') {
154
- $color: theming.m2-get-color-config($theme-config);
155
- $density: theming.m2-get-density-config($theme-config);
156
- $typography: theming.m2-get-typography-config($theme-config);
157
-
158
- @if $color !=null {
159
- @include color($theme-config);
160
- }
161
-
162
- @if $typography !=null {
163
- @include typography($theme-config);
164
- }
165
- }
166
147
  }
@@ -6,24 +6,5 @@
6
6
  @mixin core() {
7
7
  }
8
8
 
9
- @mixin color($theme-config) {
10
- }
11
-
12
- @mixin typography($theme-config-or-typography-config) {
13
- }
14
-
15
9
  @mixin theme($theme-config) {
16
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-form') {
17
- $color: theming.m2-get-color-config($theme-config);
18
- $density: theming.m2-get-density-config($theme-config);
19
- $typography: theming.m2-get-typography-config($theme-config);
20
-
21
- @if $color !=null {
22
- @include color($theme-config);
23
- }
24
-
25
- @if $typography !=null {
26
- @include typography($theme-config);
27
- }
28
- }
29
10
  }
@@ -12,24 +12,5 @@
12
12
  }
13
13
  }
14
14
 
15
- @mixin color($theme-config) {
16
- }
17
-
18
- @mixin typography($theme-config-or-typography-config) {
19
- }
20
-
21
15
  @mixin theme($theme-config) {
22
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-formly') {
23
- $color: theming.m2-get-color-config($theme-config);
24
- $density: theming.m2-get-density-config($theme-config);
25
- $typography: theming.m2-get-typography-config($theme-config);
26
-
27
- @if $color !=null {
28
- @include color($theme-config);
29
- }
30
-
31
- @if $typography !=null {
32
- @include typography($theme-config);
33
- }
34
- }
35
16
  }
@@ -15,12 +15,6 @@
15
15
  }
16
16
 
17
17
  @mixin all-field-typography($theme-config) {
18
- @include checklist.typography($theme-config);
19
- @include component.typography($theme-config);
20
- @include selection.all-selection-typography($theme-config);
21
- @include texteditor.typography($theme-config);
22
- @include value.all-value-typography($theme-config);
23
- @include wrapper.typography($theme-config);
24
18
  }
25
19
 
26
20
  @mixin all-field-theme($theme-config) {
@@ -36,38 +36,14 @@ $dbx-checklist-item-spacing: 8px;
36
36
  border-left: 1px solid black;
37
37
  }
38
38
  }
39
- }
40
-
41
- @mixin color($theme-config) {
42
- }
43
39
 
44
- @mixin typography($theme-config-or-typography-config) {
45
40
  .dbx-default-checklist-item-field {
46
41
  .item-label {
47
42
  font-size: 1.35em;
48
43
  line-height: 1.35em;
49
44
  }
50
-
51
- .item-sublabel {
52
- }
53
-
54
- .item-description {
55
- }
56
45
  }
57
46
  }
58
47
 
59
48
  @mixin theme($theme-config) {
60
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-checklist') {
61
- $color: theming.m2-get-color-config($theme-config);
62
- $density: theming.m2-get-density-config($theme-config);
63
- $typography: theming.m2-get-typography-config($theme-config);
64
-
65
- @if $color !=null {
66
- @include color($theme-config);
67
- }
68
-
69
- @if $typography !=null {
70
- @include typography($theme-config);
71
- }
72
- }
73
49
  }
@@ -6,24 +6,5 @@
6
6
  @mixin core() {
7
7
  }
8
8
 
9
- @mixin color($theme-config) {
10
- }
11
-
12
- @mixin typography($theme-config-or-typography-config) {
13
- }
14
-
15
9
  @mixin theme($theme-config) {
16
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-component') {
17
- $color: theming.m2-get-color-config($theme-config);
18
- $density: theming.m2-get-density-config($theme-config);
19
- $typography: theming.m2-get-typography-config($theme-config);
20
-
21
- @if $color !=null {
22
- @include color($theme-config);
23
- }
24
-
25
- @if $typography !=null {
26
- @include typography($theme-config);
27
- }
28
- }
29
10
  }
@@ -11,10 +11,6 @@
11
11
  }
12
12
 
13
13
  @mixin all-selection-typography($theme-config) {
14
- @include list.typography($theme-config);
15
- @include pickable.typography($theme-config);
16
- @include searchable.typography($theme-config);
17
- @include sourceselect.typography($theme-config);
18
14
  }
19
15
 
20
16
  @mixin all-selection-theme($theme-config) {
@@ -11,24 +11,5 @@ $dbx-list-item-field-content-max-height: 300px;
11
11
  }
12
12
  }
13
13
 
14
- @mixin color($theme-config) {
15
- }
16
-
17
- @mixin typography($theme-config-or-typography-config) {
18
- }
19
-
20
14
  @mixin theme($theme-config) {
21
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-selection-list') {
22
- $color: theming.m2-get-color-config($theme-config);
23
- $density: theming.m2-get-density-config($theme-config);
24
- $typography: theming.m2-get-typography-config($theme-config);
25
-
26
- @if $color !=null {
27
- @include color($theme-config);
28
- }
29
-
30
- @if $typography !=null {
31
- @include typography($theme-config);
32
- }
33
- }
34
15
  }
@@ -14,24 +14,5 @@
14
14
  }
15
15
  }
16
16
 
17
- @mixin color($theme-config) {
18
- }
19
-
20
- @mixin typography($theme-config-or-typography-config) {
21
- }
22
-
23
17
  @mixin theme($theme-config) {
24
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-selection-pickable') {
25
- $color: theming.m2-get-color-config($theme-config);
26
- $density: theming.m2-get-density-config($theme-config);
27
- $typography: theming.m2-get-typography-config($theme-config);
28
-
29
- @if $color !=null {
30
- @include color($theme-config);
31
- }
32
-
33
- @if $typography !=null {
34
- @include typography($theme-config);
35
- }
36
- }
37
18
  }
@@ -43,24 +43,5 @@
43
43
  }
44
44
  }
45
45
 
46
- @mixin color($theme-config) {
47
- }
48
-
49
- @mixin typography($theme-config-or-typography-config) {
50
- }
51
-
52
46
  @mixin theme($theme-config) {
53
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-selection-searchable') {
54
- $color: theming.m2-get-color-config($theme-config);
55
- $density: theming.m2-get-density-config($theme-config);
56
- $typography: theming.m2-get-typography-config($theme-config);
57
-
58
- @if $color !=null {
59
- @include color($theme-config);
60
- }
61
-
62
- @if $typography !=null {
63
- @include typography($theme-config);
64
- }
65
- }
66
47
  }
@@ -22,24 +22,5 @@
22
22
  }
23
23
  }
24
24
 
25
- @mixin color($theme-config) {
26
- }
27
-
28
- @mixin typography($theme-config-or-typography-config) {
29
- }
30
-
31
25
  @mixin theme($theme-config) {
32
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-source-select') {
33
- $color: theming.m2-get-color-config($theme-config);
34
- $density: theming.m2-get-density-config($theme-config);
35
- $typography: theming.m2-get-typography-config($theme-config);
36
-
37
- @if $color !=null {
38
- @include color($theme-config);
39
- }
40
-
41
- @if $typography !=null {
42
- @include typography($theme-config);
43
- }
44
- }
45
26
  }
@@ -1,6 +1,3 @@
1
- @use 'sass:map';
2
- @use 'sass:list';
3
- @use 'sass:color';
4
1
  @use '../../../style/theming';
5
2
 
6
3
  // MARK: Variables
@@ -19,42 +16,31 @@
19
16
  max-height: 400px;
20
17
  overflow: auto;
21
18
  }
22
- }
23
-
24
- @mixin color($theme-config) {
25
- $color-config: theming.m2-get-color-config($theme-config);
26
- $background: map.get($color-config, 'background');
27
- $foreground: map.get($color-config, 'foreground');
28
- $background-color: theming.m2-get-color-from-palette($background, 'background');
29
- $hover-color: theming.m2-get-color-from-palette($background, 'hover');
30
- $focused-color: theming.m2-get-color-from-palette($background, 'focused-button');
31
- $border-color: theming.m2-get-color-from-palette($foreground, 'divider');
32
- $text-color: theming.m2-get-color-from-palette($foreground, 'text');
33
19
 
34
20
  .dbx-texteditor-field {
35
21
  .NgxEditor {
36
22
  background: transparent;
37
- color: $text-color;
38
- border-color: $border-color;
23
+ color: var(--mat-sys-on-surface);
24
+ border-color: var(--mat-sys-outline);
39
25
  }
40
26
 
41
27
  .NgxEditor__MenuBar {
42
- background: $background-color;
43
- color: $text-color;
28
+ background: var(--mat-sys-background);
29
+ color: var(--mat-sys-on-surface);
44
30
  @include theming.elevation(2);
45
31
 
46
32
  svg {
47
- fill: $text-color;
33
+ fill: var(--mat-sys-on-surface);
48
34
  }
49
35
  }
50
36
 
51
37
  .NgxEditor__MenuItem:hover,
52
38
  .NgxEditor__Dropdown:hover {
53
- background-color: $hover-color;
39
+ background-color: color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent);
54
40
  }
55
41
 
56
42
  .NgxEditor__MenuItem.NgxEditor__MenuItem--Active {
57
- background-color: $focused-color;
43
+ background-color: color-mix(in srgb, var(--mat-sys-on-surface) 8%, transparent);
58
44
  }
59
45
 
60
46
  .NgxEditor__Popup,
@@ -62,31 +48,15 @@
62
48
  .NgxEditor__Dropdown.NgxEditor__Dropdown--Open,
63
49
  .NgxEditor__Dropdown .NgxEditor__Dropdown--DropdownMenu,
64
50
  .NgxEditor__Popup--FormGroup input {
65
- background: $background-color;
66
- color: $text-color;
51
+ background: var(--mat-sys-background);
52
+ color: var(--mat-sys-on-surface);
67
53
  }
68
54
 
69
55
  .NgxEditor__Dropdown.NgxEditor__Dropdown--Selected .NgxEditor__Dropdown--Text {
70
- color: $text-color;
56
+ color: var(--mat-sys-on-surface);
71
57
  }
72
58
  }
73
59
  }
74
60
 
75
- @mixin typography($theme-config-or-typography-config) {
76
- }
77
-
78
61
  @mixin theme($theme-config) {
79
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-texteditor') {
80
- $color: theming.m2-get-color-config($theme-config);
81
- $density: theming.m2-get-density-config($theme-config);
82
- $typography: theming.m2-get-typography-config($theme-config);
83
-
84
- @if $color !=null {
85
- @include color($theme-config);
86
- }
87
-
88
- @if $typography !=null {
89
- @include typography($theme-config);
90
- }
91
- }
92
62
  }
@@ -15,12 +15,6 @@
15
15
  }
16
16
 
17
17
  @mixin all-value-typography($theme-config) {
18
- @include array.typography($theme-config);
19
- @include boolean.typography($theme-config);
20
- @include date.typography($theme-config);
21
- @include number.typography($theme-config);
22
- @include phone.typography($theme-config);
23
- @include text.typography($theme-config);
24
18
  }
25
19
 
26
20
  @mixin all-value-theme($theme-config) {
@@ -1,5 +1,3 @@
1
- @use 'sass:map';
2
- @use 'sass:color';
3
1
  @use '../../../../style/theming';
4
2
 
5
3
  // MARK: Variables
@@ -30,7 +28,7 @@
30
28
 
31
29
  padding: 0;
32
30
  margin-bottom: 4px;
33
- border-radius: 4px;
31
+ border-radius: var(--dbx-form-repeat-array-field-container-shape, var(--mat-sys-corner-medium));
34
32
 
35
33
  .dbx-form-repeat-array-field-content {
36
34
  display: block;
@@ -42,21 +40,10 @@
42
40
  margin-top: 6px;
43
41
  }
44
42
  }
45
- }
46
-
47
- @mixin color($theme-config) {
48
- $color-config: theming.m2-get-color-config($theme-config);
49
- $background: map.get($color-config, 'background');
50
-
51
- $form-repeat-array-field-bg: theming.m2-get-color-from-palette($background, 'card');
52
43
 
53
44
  .dbx-form-repeat-array-field {
54
- background: $form-repeat-array-field-bg;
55
- border: 4px solid $form-repeat-array-field-bg;
56
- }
57
-
58
- .dbx-form-repeat-array-bar {
59
- background: none;
45
+ background: var(--mat-sys-surface);
46
+ border: 4px solid var(--mat-sys-surface);
60
47
  }
61
48
 
62
49
  .dbx-form-repeat-array-drag-button.mdc-button > .mat-icon {
@@ -64,21 +51,5 @@
64
51
  }
65
52
  }
66
53
 
67
- @mixin typography($theme-config-or-typography-config) {
68
- }
69
-
70
54
  @mixin theme($theme-config) {
71
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-value-array') {
72
- $color: theming.m2-get-color-config($theme-config);
73
- $density: theming.m2-get-density-config($theme-config);
74
- $typography: theming.m2-get-typography-config($theme-config);
75
-
76
- @if $color !=null {
77
- @include color($theme-config);
78
- }
79
-
80
- @if $typography !=null {
81
- @include typography($theme-config);
82
- }
83
- }
84
55
  }
@@ -48,24 +48,5 @@
48
48
  }
49
49
  }
50
50
 
51
- @mixin color($theme-config) {
52
- }
53
-
54
- @mixin typography($theme-config-or-typography-config) {
55
- }
56
-
57
51
  @mixin theme($theme-config) {
58
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-value-boolean') {
59
- $color: theming.m2-get-color-config($theme-config);
60
- $density: theming.m2-get-density-config($theme-config);
61
- $typography: theming.m2-get-typography-config($theme-config);
62
-
63
- @if $color !=null {
64
- @include color($theme-config);
65
- }
66
-
67
- @if $typography !=null {
68
- @include typography($theme-config);
69
- }
70
- }
71
52
  }
@@ -1,4 +1,3 @@
1
- @use 'sass:map';
2
1
  @use '../../../../style/theming';
3
2
 
4
3
  // MARK: Variables
@@ -115,35 +114,13 @@ $dbx-datetime-row-width: 40px + ($dbx-datetime-button-spacing * 2); // times 2 f
115
114
  .dbx-form-fixed-date-range-field-wrapper .mat-mdc-form-field-appearance-outline > .mat-mdc-form-field-wrapper > .mat-mdc-form-field-flex > .mat-mdc-form-field-infix {
116
115
  padding: 0;
117
116
  }
118
- }
119
-
120
- @mixin color($theme-config) {
121
- $color-config: theming.m2-get-color-config($theme-config);
122
- $background: map.get($color-config, 'background');
123
- $background-color: theming.m2-get-color-from-palette($background, 'hover');
124
117
 
125
118
  // affect both the direct button or a child button
126
119
  .mat-datepicker-button-highlight .mat-icon-button,
127
120
  .mat-datepicker-button-highlight.mat-icon-button {
128
- background-color: rgba($background-color, 0.08);
121
+ background-color: color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent);
129
122
  }
130
123
  }
131
124
 
132
- @mixin typography($theme-config-or-typography-config) {
133
- }
134
-
135
125
  @mixin theme($theme-config) {
136
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-value-date') {
137
- $color: theming.m2-get-color-config($theme-config);
138
- $density: theming.m2-get-density-config($theme-config);
139
- $typography: theming.m2-get-typography-config($theme-config);
140
-
141
- @if $color !=null {
142
- @include color($theme-config);
143
- }
144
-
145
- @if $typography !=null {
146
- @include typography($theme-config);
147
- }
148
- }
149
126
  }
@@ -13,23 +13,5 @@ $dbx-formly-number-slider-field-thumb-label-margin-fix-size: 22px;
13
13
  }
14
14
  }
15
15
 
16
- @mixin color($theme-config) {
17
- }
18
-
19
- @mixin typography($theme-config-or-typography-config) {
20
- }
21
-
22
16
  @mixin theme($theme-config) {
23
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-value-number') {
24
- $color: theming.m2-get-color-config($theme-config);
25
- $typography: theming.m2-get-typography-config($theme-config);
26
-
27
- @if $color !=null {
28
- @include color($theme-config);
29
- }
30
-
31
- @if $typography !=null {
32
- @include typography($theme-config);
33
- }
34
- }
35
17
  }
@@ -1,6 +1,3 @@
1
- @use 'sass:map';
2
- @use 'sass:list';
3
- @use 'sass:color';
4
1
  @use '../../../../style/theming';
5
2
 
6
3
  // MARK: Variables
@@ -22,47 +19,19 @@
22
19
  padding: 2px 6px 0 110px;
23
20
  }
24
21
 
25
- .dbx-form-phone-field-extension-input {
26
- border: 0;
27
- }
28
- }
29
-
30
- @mixin color($theme-config) {
31
- $color-config: theming.m2-get-color-config($theme-config);
32
- $background: map.get($color-config, 'background');
33
- $foreground: map.get($color-config, 'foreground');
34
- $text-color: theming.m2-get-color-from-palette($foreground, 'text');
35
- $border-color: theming.m2-get-color-from-palette($foreground, 'divider');
36
-
37
22
  .dbx-form-phone-field {
38
- .country-selector.mat-mdc-button,
39
- .country-list-button.mat-menu-item {
40
- color: $text-color;
23
+ .country-selector,
24
+ .country-list-button {
25
+ color: var(--mat-sys-on-surface);
41
26
  }
42
27
  }
43
28
 
44
29
  .dbx-form-phone-field-extension-input {
45
30
  border: 0;
46
- border-bottom: 1px solid $border-color;
31
+ border-bottom: 1px solid var(--mat-sys-outline);
47
32
  background: none;
48
33
  }
49
34
  }
50
35
 
51
- @mixin typography($theme-config-or-typography-config) {
52
- }
53
-
54
36
  @mixin theme($theme-config) {
55
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-value-phone') {
56
- $color: theming.m2-get-color-config($theme-config);
57
- $density: theming.m2-get-density-config($theme-config);
58
- $typography: theming.m2-get-typography-config($theme-config);
59
-
60
- @if $color !=null {
61
- @include color($theme-config);
62
- }
63
-
64
- @if $typography !=null {
65
- @include typography($theme-config);
66
- }
67
- }
68
37
  }
@@ -6,24 +6,5 @@
6
6
  @mixin core() {
7
7
  }
8
8
 
9
- @mixin color($theme-config) {
10
- }
11
-
12
- @mixin typography($theme-config-or-typography-config) {
13
- }
14
-
15
9
  @mixin theme($theme-config) {
16
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-value-text') {
17
- $color: theming.m2-get-color-config($theme-config);
18
- $density: theming.m2-get-density-config($theme-config);
19
- $typography: theming.m2-get-typography-config($theme-config);
20
-
21
- @if $color !=null {
22
- @include color($theme-config);
23
- }
24
-
25
- @if $typography !=null {
26
- @include typography($theme-config);
27
- }
28
- }
29
10
  }
@@ -27,24 +27,5 @@ $form-flex-section-group-item-padding: $form-flex-section-group-padding * 2;
27
27
  }
28
28
  }
29
29
 
30
- @mixin color($theme-config) {
31
- }
32
-
33
- @mixin typography($theme-config-or-typography-config) {
34
- }
35
-
36
30
  @mixin theme($theme-config) {
37
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-wrapper') {
38
- $color: theming.m2-get-color-config($theme-config);
39
- $density: theming.m2-get-density-config($theme-config);
40
- $typography: theming.m2-get-typography-config($theme-config);
41
-
42
- @if $color !=null {
43
- @include color($theme-config);
44
- }
45
-
46
- @if $typography !=null {
47
- @include typography($theme-config);
48
- }
49
- }
50
31
  }
@@ -68,24 +68,5 @@
68
68
  }
69
69
  }
70
70
 
71
- @mixin color($theme-config) {
72
- }
73
-
74
- @mixin typography($theme-config-or-typography-config) {
75
- }
76
-
77
71
  @mixin theme($theme-config) {
78
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-formly-form') {
79
- $color: theming.m2-get-color-config($theme-config);
80
- $density: theming.m2-get-density-config($theme-config);
81
- $typography: theming.m2-get-typography-config($theme-config);
82
-
83
- @if $color !=null {
84
- @include color($theme-config);
85
- }
86
-
87
- @if $typography !=null {
88
- @include typography($theme-config);
89
- }
90
- }
91
72
  }