@things-factory/reference-app 7.0.1-alpha.103 → 7.0.1-alpha.105

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.
package/_index.html CHANGED
@@ -70,7 +70,8 @@
70
70
  line-height: 1.5;
71
71
  -webkit-font-smoothing: antialiased;
72
72
 
73
- accent-color: var(--primary-color);
73
+ accent-color: var(--md-sys-color-primary);
74
+ background-color: var(--md-sys-color-background);
74
75
  }
75
76
  </style>
76
77
 
@@ -29,7 +29,7 @@ export class IdSelector extends LitElement {
29
29
  display: flex;
30
30
  flex-direction: column;
31
31
 
32
- background-color: #fff;
32
+ background-color: var(--md-sys-color-surface);
33
33
 
34
34
  width: var(--overlay-center-normal-width, 50%);
35
35
  height: var(--overlay-center-normal-height, 50%);
@@ -60,7 +60,12 @@ export class IdSelector extends LitElement {
60
60
 
61
61
  render() {
62
62
  return html`
63
- <ox-grist .mode=${isMobileDevice() ? 'LIST' : 'GRID'} .config=${this.config} .fetchHandler=${this.fetchHandler.bind(this)} .selectedRecords=${this.selectedRecords}>
63
+ <ox-grist
64
+ .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
65
+ .config=${this.config}
66
+ .fetchHandler=${this.fetchHandler.bind(this)}
67
+ .selectedRecords=${this.selectedRecords}
68
+ >
64
69
  <div id="filters" slot="headroom">
65
70
  <ox-filters-form autofocus></ox-filters-form>
66
71
  </div>
@@ -24,7 +24,7 @@ class DataEntryMockupForm extends localize(i18next)(LitElement) {
24
24
  display: flex;
25
25
  flex-direction: column;
26
26
 
27
- background-color: #fff;
27
+ background-color: var(--md-sys-color-surface);
28
28
  }
29
29
 
30
30
  ox-data-entry-form {
@@ -20,7 +20,7 @@ class DataItemList extends localize(i18next)(LitElement) {
20
20
  display: flex;
21
21
  flex-direction: column;
22
22
 
23
- background-color: #fff;
23
+ background-color: var(--md-sys-color-surface);
24
24
  }
25
25
 
26
26
  ox-grist {
@@ -52,7 +52,7 @@ export class DataSetImporter extends LitElement {
52
52
  display: flex;
53
53
  flex-direction: column;
54
54
 
55
- background-color: #fff;
55
+ background-color: var(--md-sys-color-surface);
56
56
  }
57
57
 
58
58
  ox-grist {
@@ -64,7 +64,11 @@ export class DataSetImporter extends LitElement {
64
64
 
65
65
  render() {
66
66
  return html`
67
- <ox-grist .mode=${isMobileDevice() ? 'LIST' : 'GRID'} .config=${this.columns} .data="${{ records: this.scenarios }}"></ox-grist>
67
+ <ox-grist
68
+ .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
69
+ .config=${this.columns}
70
+ .data="${{ records: this.scenarios }}"
71
+ ></ox-grist>
68
72
 
69
73
  <div class="button-container">
70
74
  <button @click="${this.save.bind(this)}"><md-icon>save</md-icon>${i18next.t('button.save')}</button>
@@ -30,7 +30,7 @@ class ProductCombinationsPopup extends localize(i18next)(LitElement) {
30
30
  display: flex;
31
31
  flex-direction: column;
32
32
  overflow: hidden;
33
- background-color: white;
33
+ background-color: var(--md-sys-color-surface);
34
34
  }
35
35
  search-form {
36
36
  overflow: visible;
@@ -23,7 +23,7 @@ export class ProductDetailsPopup extends localize(i18next)(LitElement) {
23
23
  display: flex;
24
24
  flex-direction: column;
25
25
  overflow: hidden;
26
- background-color: white;
26
+ background-color: var(--md-sys-color-surface);
27
27
 
28
28
  --grid-record-emphasized-background-color: #ffdbdb;
29
29
  --grid-record-emphasized-color: #703f3f;