@things-factory/auth-ui 7.0.1-beta.6 → 7.0.1-beta.8

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 (72) hide show
  1. package/client/auth-style-sign.ts +14 -14
  2. package/client/components/abstract-auth-page.ts +1 -1
  3. package/client/components/create-domain-popup.ts +2 -2
  4. package/client/components/create-role.ts +1 -1
  5. package/client/components/create-user.ts +7 -8
  6. package/client/components/domain-switch.ts +5 -5
  7. package/client/components/invite-customer.ts +6 -3
  8. package/client/components/invite-user.ts +4 -2
  9. package/client/components/ownership-transfer-popup.ts +1 -1
  10. package/client/components/partner-info-card.ts +2 -2
  11. package/client/components/role-edit-form.ts +2 -2
  12. package/client/components/role-selector.ts +1 -1
  13. package/client/entries/auth/activate.ts +6 -6
  14. package/client/entries/auth/checkin.ts +3 -3
  15. package/client/entries/auth/result.ts +4 -4
  16. package/client/entries/oauth2/oauth2-decision-page.ts +2 -2
  17. package/client/pages/app-binding/app-binding.ts +3 -3
  18. package/client/pages/appliance/appliance.ts +3 -3
  19. package/client/pages/appliance/register.ts +2 -2
  20. package/client/pages/application/application.ts +3 -3
  21. package/client/pages/application/register.ts +2 -2
  22. package/client/pages/role/role-management.ts +1 -1
  23. package/client/themes/auth-theme.css +2 -5
  24. package/dist-client/auth-style-sign.js +14 -14
  25. package/dist-client/auth-style-sign.js.map +1 -1
  26. package/dist-client/components/abstract-auth-page.js +1 -1
  27. package/dist-client/components/abstract-auth-page.js.map +1 -1
  28. package/dist-client/components/create-domain-popup.js +2 -2
  29. package/dist-client/components/create-domain-popup.js.map +1 -1
  30. package/dist-client/components/create-role.js +1 -1
  31. package/dist-client/components/create-role.js.map +1 -1
  32. package/dist-client/components/create-user.d.ts +2 -1
  33. package/dist-client/components/create-user.js +6 -8
  34. package/dist-client/components/create-user.js.map +1 -1
  35. package/dist-client/components/domain-switch.js +5 -5
  36. package/dist-client/components/domain-switch.js.map +1 -1
  37. package/dist-client/components/invite-customer.js +1 -1
  38. package/dist-client/components/invite-customer.js.map +1 -1
  39. package/dist-client/components/invite-user.js +4 -2
  40. package/dist-client/components/invite-user.js.map +1 -1
  41. package/dist-client/components/ownership-transfer-popup.js +1 -1
  42. package/dist-client/components/ownership-transfer-popup.js.map +1 -1
  43. package/dist-client/components/partner-info-card.js +2 -2
  44. package/dist-client/components/partner-info-card.js.map +1 -1
  45. package/dist-client/components/role-edit-form.js +2 -2
  46. package/dist-client/components/role-edit-form.js.map +1 -1
  47. package/dist-client/components/role-selector.js +1 -1
  48. package/dist-client/components/role-selector.js.map +1 -1
  49. package/dist-client/entries/auth/activate.js +6 -6
  50. package/dist-client/entries/auth/activate.js.map +1 -1
  51. package/dist-client/entries/auth/checkin.js +3 -3
  52. package/dist-client/entries/auth/checkin.js.map +1 -1
  53. package/dist-client/entries/auth/result.js +4 -4
  54. package/dist-client/entries/auth/result.js.map +1 -1
  55. package/dist-client/entries/oauth2/oauth2-decision-page.js +2 -2
  56. package/dist-client/entries/oauth2/oauth2-decision-page.js.map +1 -1
  57. package/dist-client/pages/app-binding/app-binding.js +3 -3
  58. package/dist-client/pages/app-binding/app-binding.js.map +1 -1
  59. package/dist-client/pages/appliance/appliance.js +3 -3
  60. package/dist-client/pages/appliance/appliance.js.map +1 -1
  61. package/dist-client/pages/appliance/register.js +2 -2
  62. package/dist-client/pages/appliance/register.js.map +1 -1
  63. package/dist-client/pages/application/application.js +3 -3
  64. package/dist-client/pages/application/application.js.map +1 -1
  65. package/dist-client/pages/application/register.js +2 -2
  66. package/dist-client/pages/application/register.js.map +1 -1
  67. package/dist-client/pages/role/role-management.js +1 -1
  68. package/dist-client/pages/role/role-management.js.map +1 -1
  69. package/dist-client/themes/auth-theme.css +2 -5
  70. package/dist-client/tsconfig.tsbuildinfo +1 -1
  71. package/dist-server/tsconfig.tsbuildinfo +1 -1
  72. package/package.json +4 -4
@@ -3,7 +3,7 @@ import { css } from 'lit'
3
3
  export const AUTH_STYLE_SIGN = css`
4
4
  :host {
5
5
  display: flex;
6
- background-color: var(--auth-background);
6
+ background-color: var(--auth-background, var(--md-sys-color-primary));
7
7
  }
8
8
 
9
9
  :host *:focus {
@@ -14,10 +14,6 @@ export const AUTH_STYLE_SIGN = css`
14
14
  box-sizing: border-box;
15
15
  }
16
16
 
17
- ::placeholder {
18
- color: var(--opacity-light-color);
19
- font: var(--auth-input-font);
20
- }
21
17
  .wrap {
22
18
  display: block;
23
19
  width: 450px;
@@ -26,13 +22,15 @@ export const AUTH_STYLE_SIGN = css`
26
22
  padding-bottom: 100px;
27
23
  text-align: center;
28
24
  }
25
+
29
26
  .auth-brand {
30
- color: #fff;
27
+ color: var(--md-sys-color-on-primary);
31
28
  }
29
+
32
30
  .auth-brand img {
33
31
  margin: 15% auto 5px auto;
34
32
  width: 100px;
35
- border: 3px solid var(--theme-white-color);
33
+ border: 3px solid var(--md-sys-color-on-primary);
36
34
  border-radius: 25px;
37
35
  box-shadow: var(--box-shadow);
38
36
  }
@@ -62,7 +60,7 @@ export const AUTH_STYLE_SIGN = css`
62
60
  grid-column: 1 / -1;
63
61
  margin: 50px 0 0 0;
64
62
  font: var(--auth-title-font);
65
- color: var(--auth-title-color);
63
+ color: var(--auth-title-color, var(--md-sys-color-on-primary));
66
64
  text-transform: uppercase;
67
65
  }
68
66
 
@@ -81,8 +79,8 @@ export const AUTH_STYLE_SIGN = css`
81
79
  }
82
80
 
83
81
  .fingerprint {
84
- color: var(--md-sys-color-on-primary-container);
85
- border: 1.5px solid var(--md-sys-color-on-primary-container);
82
+ color: var(--md-sys-color-on-primary);
83
+ border: 1.5px solid var(--md-sys-color-on-primary);
86
84
  border-radius: 20%;
87
85
  width: 36px;
88
86
  height: 36px;
@@ -105,11 +103,13 @@ export const AUTH_STYLE_SIGN = css`
105
103
  }
106
104
 
107
105
  .wrap .link md-text-button {
108
- --md-text-button-label-text-color: var(--md-sys-color-primary-container);
106
+ --md-text-button-label-text-color: var(--md-sys-color-on-primary);
107
+ --md-text-button-focus-label-text-color: var(--md-sys-color-on-primary);
108
+ --md-text-button-hover-label-text-color: var(--md-sys-color-on-primary);
109
109
  }
110
110
 
111
111
  .wrap .link md-icon {
112
- color: var(--md-sys-color-primary-container);
112
+ color: var(--md-sys-color-on-primary);
113
113
  }
114
114
 
115
115
  #locale-area {
@@ -121,7 +121,7 @@ export const AUTH_STYLE_SIGN = css`
121
121
  #locale-area > label {
122
122
  display: flex;
123
123
  align-items: center;
124
- color: var(--theme-white-color);
124
+ color: var(--md-sys-color-on-primary);
125
125
  --md-icon-size: 16px;
126
126
  }
127
127
 
@@ -134,7 +134,7 @@ export const AUTH_STYLE_SIGN = css`
134
134
  --i18n-selector-field-border: none;
135
135
  --i18n-selector-field-background-color: none;
136
136
  --i18n-selector-field-font-size: 14px;
137
- --i18n-selector-field-color: var(--theme-white-color);
137
+ --i18n-selector-field-color: var(--md-sys-color-on-primary);
138
138
  }
139
139
 
140
140
  .lottie-container {
@@ -43,7 +43,7 @@ export abstract class AbstractAuthPage extends localize(i18next)(LitElement) {
43
43
  padding: var(--padding-dufault, 9px);
44
44
  left: 20px;
45
45
  top: 10px;
46
- color: var(--theme-white-color);
46
+ color: var(--md-sys-color-on-primary);
47
47
  }
48
48
 
49
49
  div.field {
@@ -36,12 +36,12 @@ class CreateDomainPopup extends localize(i18next)(LitElement) {
36
36
  flex-direction: column;
37
37
 
38
38
  font: var(--label-font);
39
- color: var(--label-color);
39
+ color: var(--label-color, var(--md-sys-color-on-surface));
40
40
  text-transform: var(--label-text-transform);
41
41
  }
42
42
 
43
43
  input {
44
- border: var(--border-dark-color);
44
+ border: var(--border-dim-color);
45
45
  border-radius: var(--border-radius);
46
46
  margin: var(--input-margin);
47
47
  padding: var(--input-padding);
@@ -12,7 +12,7 @@ import { OxPrompt } from '@operato/popup/ox-prompt.js'
12
12
  class CreateRole extends localize(i18next)(LitElement) {
13
13
  static styles = css`
14
14
  :host {
15
- --md-text-field-fill-color: var(--theme-white-color);
15
+ --md-text-field-fill-color: var(--md-sys-color-on-primary);
16
16
  background-color: var(--md-sys-color-surface);
17
17
  margin: var(--margin-wide) 0;
18
18
  padding: var(--padding-wide);
@@ -1,3 +1,6 @@
1
+ import '@material/web/button/outlined-button.js'
2
+ import '@material/web/textfield/filled-text-field.js'
3
+
1
4
  import { css, html, LitElement } from 'lit'
2
5
  import { customElement, query } from 'lit/decorators.js'
3
6
 
@@ -7,7 +10,7 @@ import { i18next } from '@operato/i18n'
7
10
  class CreateUser extends LitElement {
8
11
  static styles = css`
9
12
  :host {
10
- --md-text-field-fill-color: var(--theme-white-color);
13
+ --md-text-field-fill-color: var(--md-sys-color-on-primary);
11
14
  background-color: var(--md-sys-color-surface);
12
15
  margin: var(--margin-wide) 0;
13
16
  padding: var(--padding-wide);
@@ -45,17 +48,13 @@ class CreateUser extends LitElement {
45
48
 
46
49
  render() {
47
50
  return html`
48
- <md-outlined-text-field
51
+ <md-filled-text-field
49
52
  type="text"
50
53
  name="name"
51
54
  label=${String(i18next.t('label.x name', { x: i18next.t('label.user') }))}
52
- ></md-outlined-text-field>
55
+ ></md-filled-text-field>
53
56
 
54
- <md-outlined-text-field
55
- type="email"
56
- name="email"
57
- label=${String(i18next.t('field.email'))}
58
- ></md-outlined-text-field>
57
+ <md-filled-text-field type="email" name="email" label=${String(i18next.t('field.email'))}></md-filled-text-field>
59
58
 
60
59
  <md-outlined-button @click=${this.onCreateUser.bind(this)}
61
60
  >${String(i18next.t('button.create'))}</md-outlined-button
@@ -16,7 +16,7 @@ export class DomainSwitch extends connect(store)(LitElement) {
16
16
  display: flex;
17
17
  max-width: 100%;
18
18
  background-color: rgba(var(--primary-color-rgb), 0.1);
19
- border-bottom: var(--border-dark-color);
19
+ border-bottom: var(--border-dim-color);
20
20
  }
21
21
 
22
22
  :host * {
@@ -36,7 +36,7 @@ export class DomainSwitch extends connect(store)(LitElement) {
36
36
  padding: 2px;
37
37
  border-radius: 50%;
38
38
  font-size: var(--fontsize-large);
39
- color: var(--theme-white-color);
39
+ color: var(--md-sys-color-on-primary);
40
40
  }
41
41
  span,
42
42
  select {
@@ -67,12 +67,12 @@ export class DomainSwitch extends connect(store)(LitElement) {
67
67
  }
68
68
  :host([dark]) span,
69
69
  :host([dark]) select {
70
- color: var(--theme-white-color);
70
+ color: var(--md-sys-color-on-primary);
71
71
  font: bold 13px/13px var(--theme-font);
72
72
  }
73
73
  :host([dark]) option {
74
74
  background-color: var(--primary-color, #585858);
75
- color: var(--theme-white-color, #fff);
75
+ color: var(--md-sys-color-on-primary, #fff);
76
76
  }
77
77
  :host([dark]) span {
78
78
  line-height: 23px;
@@ -81,7 +81,7 @@ export class DomainSwitch extends connect(store)(LitElement) {
81
81
  :host([rounded-corner]) {
82
82
  height: 30px;
83
83
  border-radius: 20px;
84
- border: var(--border-dark-color);
84
+ border: var(--border-dim-color);
85
85
  }
86
86
  :host([rounded-corner]) div {
87
87
  padding: var(--padding-narrow) var(--padding-default);
@@ -11,7 +11,7 @@ class InviteCustomer extends localize(i18next)(LitElement) {
11
11
  static styles = [
12
12
  css`
13
13
  input {
14
- border: var(--border-dark-color);
14
+ border: var(--border-dim-color);
15
15
  border-radius: var(--border-radius);
16
16
  margin: var(--input-margin);
17
17
  padding: var(--input-padding);
@@ -47,10 +47,13 @@ class InviteCustomer extends localize(i18next)(LitElement) {
47
47
 
48
48
  async invite() {
49
49
  try {
50
- if (!this.customerNameInput.value) throw new Error(i18next.t('error.value is empty', { value: i18next.t('field.name') }))
50
+ if (!this.customerNameInput.value)
51
+ throw new Error(i18next.t('error.value is empty', { value: i18next.t('field.name') }))
51
52
 
52
53
  if (this.customers.find(c => c.name?.toLowerCase() === this.customerNameInput.value.toLowerCase())) {
53
- throw new Error(i18next.t('error.x already exists in y', { x: this.customerNameInput.value, y: i18next.t('field.customer') }))
54
+ throw new Error(
55
+ i18next.t('error.x already exists in y', { x: this.customerNameInput.value, y: i18next.t('field.customer') })
56
+ )
54
57
  }
55
58
 
56
59
  if (
@@ -18,7 +18,7 @@ class InviteUser extends localize(i18next)(LitElement) {
18
18
  input {
19
19
  flex: 1;
20
20
 
21
- border: var(--border-dark-color);
21
+ border: var(--border-dim-color);
22
22
  border-radius: var(--border-radius);
23
23
  margin: var(--input-margin);
24
24
  padding: var(--input-padding);
@@ -36,7 +36,9 @@ class InviteUser extends localize(i18next)(LitElement) {
36
36
  render() {
37
37
  return html`
38
38
  <input name="email" type="email" required name="invite-email" autocapitalize="off" />
39
- <md-outlined-button @click=${this.invite.bind(this)}> <md-icon slot="icon">group_add</md-icon>${String(i18next.t('label.invite user'))} </md-outlined-button>
39
+ <md-outlined-button @click=${this.invite.bind(this)}>
40
+ <md-icon slot="icon">group_add</md-icon>${String(i18next.t('label.invite user'))}
41
+ </md-outlined-button>
40
42
  `
41
43
  }
42
44
 
@@ -25,7 +25,7 @@ class OwnershipTransferPopup extends localize(i18next)(LitElement) {
25
25
  flex: 1;
26
26
  }
27
27
  input {
28
- border: var(--border-dark-color);
28
+ border: var(--border-dim-color);
29
29
  border-radius: var(--border-radius);
30
30
  margin: var(--input-margin);
31
31
  padding: var(--input-padding);
@@ -8,7 +8,7 @@ export class PartnerInfoCard extends LitElement {
8
8
  static styles = [
9
9
  css`
10
10
  input {
11
- border: var(--border-dark-color);
11
+ border: var(--border-dim-color);
12
12
  border-radius: var(--border-radius);
13
13
  margin: var(--input-margin);
14
14
  padding: var(--input-padding);
@@ -50,7 +50,7 @@ export class PartnerInfoCard extends LitElement {
50
50
  flex-direction: column;
51
51
 
52
52
  font: var(--label-font);
53
- color: var(--label-color);
53
+ color: var(--label-color, var(--md-sys-color-on-surface));
54
54
  text-transform: var(--label-text-transform);
55
55
  }
56
56
  @media screen and (max-width: 480px) {
@@ -20,7 +20,7 @@ class RoleEditForm extends localize(i18next)(LitElement) {
20
20
  padding-bottom: var(--padding-default);
21
21
  }
22
22
  input {
23
- border: var(--border-dark-color);
23
+ border: var(--border-dim-color);
24
24
  border-radius: var(--border-radius);
25
25
  margin: var(--input-margin);
26
26
  padding: var(--input-padding);
@@ -31,7 +31,7 @@ class RoleEditForm extends localize(i18next)(LitElement) {
31
31
  display: flex;
32
32
  flex-direction: column;
33
33
  font: var(--label-font);
34
- color: var(--theme-white-color);
34
+ color: var(--md-sys-color-on-primary);
35
35
  text-transform: var(--label-text-transform);
36
36
  }
37
37
  @media screen and (max-width: 480px) {
@@ -33,7 +33,7 @@ export class RoleSelector extends LitElement {
33
33
  padding-left: var(--padding-narrow);
34
34
  text-transform: capitalize;
35
35
  font: var(--label-font);
36
- color: var(--label-color);
36
+ color: var(--label-color, var(--md-sys-color-on-surface));
37
37
  }
38
38
  li {
39
39
  padding: var(--padding-narrow);
@@ -20,7 +20,7 @@ export class AuthActivate extends localize(i18next)(LitElement) {
20
20
  width: 100vw;
21
21
  height: 100vh;
22
22
  height: 100dvh;
23
- background-color: var(--auth-background);
23
+ background-color: var(--auth-background, var(--md-sys-color-primary));
24
24
  }
25
25
 
26
26
  .wrap {
@@ -38,7 +38,7 @@ export class AuthActivate extends localize(i18next)(LitElement) {
38
38
  .auth-brand img {
39
39
  margin: 15% auto 5px auto;
40
40
  width: 100px;
41
- border: 3px solid var(--theme-white-color);
41
+ border: 3px solid var(--md-sys-color-on-primary);
42
42
  border-radius: 25px;
43
43
  box-shadow: var(--box-shadow);
44
44
  }
@@ -53,14 +53,14 @@ export class AuthActivate extends localize(i18next)(LitElement) {
53
53
  margin: 50px 0 0 0;
54
54
  padding: 0;
55
55
  font-size: 24px;
56
- color: var(--auth-title-color);
56
+ color: var(--auth-title-color, var(--md-sys-color-on-primary));
57
57
  }
58
58
 
59
59
  p {
60
60
  margin: 0;
61
61
  padding: var(--auth-description-padding);
62
62
  font: var(--auth-description-font);
63
- color: var(--auth-description-color);
63
+ color: var(--auth-description-color, var(--md-sys-color-on-secondary));
64
64
  }
65
65
 
66
66
  #button-area {
@@ -69,9 +69,9 @@ export class AuthActivate extends localize(i18next)(LitElement) {
69
69
  }
70
70
 
71
71
  md-elevated-button {
72
- --md-theme-primary: var(--auth-button-background-color);
72
+ --md-theme-primary: var(--md-sys-color-on-primary);
73
73
  --md-theme-on-primary: var(--md-sys-color-primary);
74
- --md-button-horizontal-padding: var(--padding-default);
74
+ --md-button-horizontal-padding: var(--spacing-medium);
75
75
  --md-button-ink-color: var(--md-sys-color-primary);
76
76
  }
77
77
 
@@ -21,7 +21,7 @@ export class AuthCheckIn extends localize(i18next)(LitElement) {
21
21
  display: flex;
22
22
  flex-direction: column;
23
23
  margin: auto;
24
- background-color: var(--auth-background);
24
+ background-color: var(--auth-background, var(--md-sys-color-primary));
25
25
  height: 100vh;
26
26
  height: 100dvh;
27
27
  }
@@ -39,11 +39,11 @@ export class AuthCheckIn extends localize(i18next)(LitElement) {
39
39
  padding: 0;
40
40
  background-color: var(--md-sys-color-surface);
41
41
  border-radius: var(--border-radius);
42
- border: var(--border-dark-color);
42
+ border: var(--border-dim-color);
43
43
  list-style: none;
44
44
  }
45
45
  li {
46
- border-bottom: var(--border-dark-color);
46
+ border-bottom: var(--border-dim-color);
47
47
  margin-bottom: -1px;
48
48
  padding: var(--padding-default) var(--padding-wide);
49
49
  font-size: 18px;
@@ -18,7 +18,7 @@ export class AuthResult extends localize(i18next)(LitElement) {
18
18
  width: 100vw;
19
19
  height: 100vh;
20
20
  height: 100dvh;
21
- background-color: var(--auth-background);
21
+ background-color: var(--auth-background, var(--md-sys-color-primary));
22
22
  }
23
23
  .wrap {
24
24
  display: block;
@@ -33,7 +33,7 @@ export class AuthResult extends localize(i18next)(LitElement) {
33
33
  .auth-brand img {
34
34
  margin: 15% auto 5px auto;
35
35
  width: 100px;
36
- border: 3px solid var(--theme-white-color);
36
+ border: 3px solid var(--md-sys-color-on-primary);
37
37
  border-radius: 25px;
38
38
  box-shadow: var(--box-shadow);
39
39
  }
@@ -46,13 +46,13 @@ export class AuthResult extends localize(i18next)(LitElement) {
46
46
  margin: 50px 0 0 0;
47
47
  padding: 0;
48
48
  font-size: 24px;
49
- color: var(--auth-title-color);
49
+ color: var(--auth-title-color, var(--md-sys-color-on-primary));
50
50
  }
51
51
  p {
52
52
  margin: 0;
53
53
  padding: var(--auth-description-padding);
54
54
  font: var(--auth-description-font);
55
- color: var(--auth-description-color);
55
+ color: var(--auth-description-color, var(--md-sys-color-on-secondary));
56
56
  }
57
57
  :host *:focus {
58
58
  outline: none;
@@ -42,7 +42,7 @@ class OAuth2DecisionPage extends LitElement {
42
42
  }
43
43
 
44
44
  input {
45
- border: var(--border-dark-color);
45
+ border: var(--border-dim-color);
46
46
  border-radius: var(--border-radius);
47
47
  margin: var(--input-margin);
48
48
  padding: var(--input-padding);
@@ -54,7 +54,7 @@ class OAuth2DecisionPage extends LitElement {
54
54
  display: flex;
55
55
  flex-direction: column;
56
56
  font: var(--label-font);
57
- color: var(--label-color);
57
+ color: var(--label-color, var(--md-sys-color-on-surface));
58
58
  text-transform: var(--label-text-transform);
59
59
  }
60
60
 
@@ -49,11 +49,11 @@ class AppBinding extends connect(store)(PageView) {
49
49
 
50
50
  label {
51
51
  font: var(--label-font);
52
- color: var(--label-color);
52
+ color: var(--label-color, var(--md-sys-color-on-surface));
53
53
  text-transform: var(--label-text-transform);
54
54
  }
55
55
  input {
56
- border: var(--border-dark-color);
56
+ border: var(--border-dim-color);
57
57
  border-radius: var(--border-radius);
58
58
  margin: var(--input-margin);
59
59
  padding: var(--input-padding);
@@ -82,7 +82,7 @@ class AppBinding extends connect(store)(PageView) {
82
82
  }
83
83
  fieldset {
84
84
  border-radius: var(--border-radius);
85
- border: var(--border-dark-color);
85
+ border: var(--border-dim-color);
86
86
  margin: var(--fieldset-margin);
87
87
  padding: var(--fieldset-padding);
88
88
  }
@@ -37,11 +37,11 @@ class Appliance extends connect(store)(PageView) {
37
37
 
38
38
  label {
39
39
  font: var(--label-font);
40
- color: var(--label-color);
40
+ color: var(--label-color, var(--md-sys-color-on-surface));
41
41
  text-transform: var(--label-text-transform);
42
42
  }
43
43
  input {
44
- border: var(--border-dark-color);
44
+ border: var(--border-dim-color);
45
45
  border-radius: var(--border-radius);
46
46
  margin: var(--input-margin);
47
47
  padding: var(--input-padding);
@@ -70,7 +70,7 @@ class Appliance extends connect(store)(PageView) {
70
70
  }
71
71
  fieldset {
72
72
  border-radius: var(--border-radius);
73
- border: var(--border-dark-color);
73
+ border: var(--border-dim-color);
74
74
  margin: var(--fieldset-margin);
75
75
  padding: var(--fieldset-padding);
76
76
  }
@@ -45,11 +45,11 @@ class ApplianceRegister extends connect(store)(PageView) {
45
45
  }
46
46
  label {
47
47
  font: var(--label-font);
48
- color: var(--label-color);
48
+ color: var(--label-color, var(--md-sys-color-on-surface));
49
49
  text-transform: var(--label-text-transform);
50
50
  }
51
51
  input {
52
- border: var(--border-dark-color);
52
+ border: var(--border-dim-color);
53
53
  border-radius: var(--border-radius);
54
54
  margin: var(--input-margin);
55
55
  padding: var(--input-padding);
@@ -49,12 +49,12 @@ class Application extends connect(store)(PageView) {
49
49
  }
50
50
  label {
51
51
  font: var(--label-font);
52
- color: var(--label-color);
52
+ color: var(--label-color, var(--md-sys-color-on-surface));
53
53
  text-transform: var(--label-text-transform);
54
54
  }
55
55
  input,
56
56
  select {
57
- border: var(--border-dark-color);
57
+ border: var(--border-dim-color);
58
58
  border-radius: var(--border-radius);
59
59
  margin: var(--input-margin);
60
60
  padding: 9px;
@@ -79,7 +79,7 @@ class Application extends connect(store)(PageView) {
79
79
  }
80
80
  fieldset {
81
81
  border-radius: var(--border-radius);
82
- border: var(--border-dark-color);
82
+ border: var(--border-dim-color);
83
83
  margin: var(--fieldset-margin);
84
84
  padding: var(--fieldset-padding);
85
85
  }
@@ -60,11 +60,11 @@ class ApplicationRegister extends connect(store)(PageView) {
60
60
  }
61
61
  label {
62
62
  font: var(--label-font);
63
- color: var(--label-color);
63
+ color: var(--label-color, var(--md-sys-color-on-surface));
64
64
  text-transform: var(--label-text-transform);
65
65
  }
66
66
  input {
67
- border: var(--border-dark-color);
67
+ border: var(--border-dim-color);
68
68
  border-radius: var(--border-radius);
69
69
  margin: var(--input-margin);
70
70
  padding: var(--input-padding);
@@ -41,7 +41,7 @@ class RoleManagement extends connect(store)(PageView) {
41
41
  max-width: var(--content-container-max-width);
42
42
  flex-direction: row;
43
43
  overflow: auto;
44
- border-top: var(--border-dark-color);
44
+ border-top: var(--border-dim-color);
45
45
  }
46
46
  `
47
47
  ]
@@ -1,20 +1,17 @@
1
1
  body {
2
2
  /* login page style*/
3
- --auth-background: var(--md-sys-color-primary);
4
3
  --auth-brand-name: bold 20px var(--theme-font);
5
4
  --auth-brand-name-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
6
5
  --auth-brand-welcome-msg: normal 12px var(--theme-font);
7
6
 
8
- --auth-title-color: var(--theme-white-color);
9
7
  --auth-title-font: bold 32px var(--theme-font);
10
- --auth-description-color: var(--secondary-text-color);
11
8
  --auth-description-font: normal 12px var(--theme-font);
12
9
  --auth-description-padding: 5px 5px 15px 5px;
13
10
 
14
11
  --auth-input-font: normal 18px/24px var(--theme-font);
15
12
  --auth-input-border: 1px solid var(--opacity-dark-color);
16
13
  --auth-input-border-light: 1px solid var(--opacity-light-color);
17
- --auth-input-color: var(--theme-white-color);
14
+ --auth-input-color: var(--md-sys-color-on-primary);
18
15
 
19
16
  --auth-button-background-color: var(--md-sys-color-surface-variant);
20
17
  --auth-button-background-focus-color: var(--status-success-color);
@@ -46,7 +43,7 @@ body {
46
43
  --checkin-header-height: 45px;
47
44
  --checkin-header-background-color: var(--md-sys-color-primary);
48
45
  --checkin-header-title-font: bold 19px var(--theme-font);
49
- --checkin-header-title-color: var(--theme-white-color);
46
+ --checkin-header-title-color: var(--md-sys-color-on-primary);
50
47
  --checkin-wrap-max-width: 500px;
51
48
  --checkin-wrap-padding: var(--padding-wide);
52
49
  }
@@ -2,7 +2,7 @@ import { css } from 'lit';
2
2
  export const AUTH_STYLE_SIGN = css `
3
3
  :host {
4
4
  display: flex;
5
- background-color: var(--auth-background);
5
+ background-color: var(--auth-background, var(--md-sys-color-primary));
6
6
  }
7
7
 
8
8
  :host *:focus {
@@ -13,10 +13,6 @@ export const AUTH_STYLE_SIGN = css `
13
13
  box-sizing: border-box;
14
14
  }
15
15
 
16
- ::placeholder {
17
- color: var(--opacity-light-color);
18
- font: var(--auth-input-font);
19
- }
20
16
  .wrap {
21
17
  display: block;
22
18
  width: 450px;
@@ -25,13 +21,15 @@ export const AUTH_STYLE_SIGN = css `
25
21
  padding-bottom: 100px;
26
22
  text-align: center;
27
23
  }
24
+
28
25
  .auth-brand {
29
- color: #fff;
26
+ color: var(--md-sys-color-on-primary);
30
27
  }
28
+
31
29
  .auth-brand img {
32
30
  margin: 15% auto 5px auto;
33
31
  width: 100px;
34
- border: 3px solid var(--theme-white-color);
32
+ border: 3px solid var(--md-sys-color-on-primary);
35
33
  border-radius: 25px;
36
34
  box-shadow: var(--box-shadow);
37
35
  }
@@ -61,7 +59,7 @@ export const AUTH_STYLE_SIGN = css `
61
59
  grid-column: 1 / -1;
62
60
  margin: 50px 0 0 0;
63
61
  font: var(--auth-title-font);
64
- color: var(--auth-title-color);
62
+ color: var(--auth-title-color, var(--md-sys-color-on-primary));
65
63
  text-transform: uppercase;
66
64
  }
67
65
 
@@ -80,8 +78,8 @@ export const AUTH_STYLE_SIGN = css `
80
78
  }
81
79
 
82
80
  .fingerprint {
83
- color: var(--md-sys-color-on-primary-container);
84
- border: 1.5px solid var(--md-sys-color-on-primary-container);
81
+ color: var(--md-sys-color-on-primary);
82
+ border: 1.5px solid var(--md-sys-color-on-primary);
85
83
  border-radius: 20%;
86
84
  width: 36px;
87
85
  height: 36px;
@@ -104,11 +102,13 @@ export const AUTH_STYLE_SIGN = css `
104
102
  }
105
103
 
106
104
  .wrap .link md-text-button {
107
- --md-text-button-label-text-color: var(--md-sys-color-primary-container);
105
+ --md-text-button-label-text-color: var(--md-sys-color-on-primary);
106
+ --md-text-button-focus-label-text-color: var(--md-sys-color-on-primary);
107
+ --md-text-button-hover-label-text-color: var(--md-sys-color-on-primary);
108
108
  }
109
109
 
110
110
  .wrap .link md-icon {
111
- color: var(--md-sys-color-primary-container);
111
+ color: var(--md-sys-color-on-primary);
112
112
  }
113
113
 
114
114
  #locale-area {
@@ -120,7 +120,7 @@ export const AUTH_STYLE_SIGN = css `
120
120
  #locale-area > label {
121
121
  display: flex;
122
122
  align-items: center;
123
- color: var(--theme-white-color);
123
+ color: var(--md-sys-color-on-primary);
124
124
  --md-icon-size: 16px;
125
125
  }
126
126
 
@@ -133,7 +133,7 @@ export const AUTH_STYLE_SIGN = css `
133
133
  --i18n-selector-field-border: none;
134
134
  --i18n-selector-field-background-color: none;
135
135
  --i18n-selector-field-font-size: 14px;
136
- --i18n-selector-field-color: var(--theme-white-color);
136
+ --i18n-selector-field-color: var(--md-sys-color-on-primary);
137
137
  }
138
138
 
139
139
  .lottie-container {