@ionic/react 8.0.0-rc.0 → 8.0.0-rc.2

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 (51) hide show
  1. package/README.md +1 -1
  2. package/css/core.css +1 -624
  3. package/css/core.css.map +1 -1
  4. package/css/display.css +1 -131
  5. package/css/display.css.map +1 -1
  6. package/css/flex-utils.css +1 -81
  7. package/css/flex-utils.css.map +1 -1
  8. package/css/float-elements.css +1 -293
  9. package/css/float-elements.css.map +1 -1
  10. package/css/global.bundle.css +1 -457
  11. package/css/global.bundle.css.map +1 -1
  12. package/css/ionic-swiper.css +1 -127
  13. package/css/ionic-swiper.css.map +1 -1
  14. package/css/ionic.bundle.css +1 -1
  15. package/css/ionic.bundle.css.map +1 -1
  16. package/css/normalize.css +1 -150
  17. package/css/normalize.css.map +1 -1
  18. package/css/padding.css +1 -202
  19. package/css/padding.css.map +1 -1
  20. package/css/palettes/dark.always.css +1 -160
  21. package/css/palettes/dark.always.css.map +1 -1
  22. package/css/palettes/dark.class.css +1 -160
  23. package/css/palettes/dark.class.css.map +1 -1
  24. package/css/palettes/dark.css +0 -2
  25. package/css/palettes/dark.system.css +1 -162
  26. package/css/palettes/dark.system.css.map +1 -1
  27. package/css/palettes/high-contrast-dark.always.css +1 -180
  28. package/css/palettes/high-contrast-dark.always.css.map +1 -1
  29. package/css/palettes/high-contrast-dark.class.css +1 -180
  30. package/css/palettes/high-contrast-dark.class.css.map +1 -1
  31. package/css/palettes/high-contrast-dark.css +0 -2
  32. package/css/palettes/high-contrast-dark.system.css +1 -182
  33. package/css/palettes/high-contrast-dark.system.css.map +1 -1
  34. package/css/palettes/high-contrast.always.css +1 -101
  35. package/css/palettes/high-contrast.always.css.map +1 -1
  36. package/css/palettes/high-contrast.class.css +1 -101
  37. package/css/palettes/high-contrast.class.css.map +1 -1
  38. package/css/palettes/high-contrast.css +0 -2
  39. package/css/palettes/high-contrast.system.css +1 -103
  40. package/css/palettes/high-contrast.system.css.map +1 -1
  41. package/css/structure.css +1 -152
  42. package/css/structure.css.map +1 -1
  43. package/css/text-alignment.css +1 -243
  44. package/css/text-alignment.css.map +1 -1
  45. package/css/text-transformation.css +1 -158
  46. package/css/text-transformation.css.map +1 -1
  47. package/css/typography.css +1 -157
  48. package/css/typography.css.map +1 -1
  49. package/css/utils.bundle.css +1 -1100
  50. package/css/utils.bundle.css.map +1 -1
  51. package/package.json +2 -2
@@ -1,182 +1 @@
1
- @media (prefers-contrast: more) and (prefers-color-scheme: dark) {
2
- :root {
3
- --ion-placeholder-opacity: 0.8;
4
- --ion-color-primary: #7cabff;
5
- --ion-color-primary-rgb: 124, 171, 255;
6
- --ion-color-primary-contrast: #000;
7
- --ion-color-primary-contrast-rgb: 0, 0, 0;
8
- --ion-color-primary-shade: #6d96e0;
9
- --ion-color-primary-tint: #89b3ff;
10
- --ion-color-secondary: #62bdff;
11
- --ion-color-secondary-rgb: 98, 189, 255;
12
- --ion-color-secondary-contrast: #000;
13
- --ion-color-secondary-contrast-rgb: 0, 0, 0;
14
- --ion-color-secondary-shade: #56a6e0;
15
- --ion-color-secondary-tint: #72c4ff;
16
- --ion-color-tertiary: #b6b9f9;
17
- --ion-color-tertiary-rgb: 182, 185, 249;
18
- --ion-color-tertiary-contrast: #000;
19
- --ion-color-tertiary-contrast-rgb: 0, 0, 0;
20
- --ion-color-tertiary-shade: #a0a3db;
21
- --ion-color-tertiary-tint: #bdc0fa;
22
- --ion-color-success: #4ada71;
23
- --ion-color-success-rgb: 74, 218, 113;
24
- --ion-color-success-contrast: #000;
25
- --ion-color-success-contrast-rgb: 0, 0, 0;
26
- --ion-color-success-shade: #41c063;
27
- --ion-color-success-tint: #5cde7f;
28
- --ion-color-warning: #ffce31;
29
- --ion-color-warning-rgb: 255, 206, 49;
30
- --ion-color-warning-contrast: #000;
31
- --ion-color-warning-contrast-rgb: 0, 0, 0;
32
- --ion-color-warning-shade: #e0b52b;
33
- --ion-color-warning-tint: #ffd346;
34
- --ion-color-danger: #fc9aa2;
35
- --ion-color-danger-rgb: 252, 154, 162;
36
- --ion-color-danger-contrast: #000;
37
- --ion-color-danger-contrast-rgb: 0, 0, 0;
38
- --ion-color-danger-shade: #de888f;
39
- --ion-color-danger-tint: #fca4ab;
40
- --ion-color-light: #222428;
41
- --ion-color-light-rgb: 34, 36, 40;
42
- --ion-color-light-contrast: #fff;
43
- --ion-color-light-contrast-rgb: 255, 255, 255;
44
- --ion-color-light-shade: #1e2023;
45
- --ion-color-light-tint: #383a3e;
46
- --ion-color-medium: #a8aab3;
47
- --ion-color-medium-rgb: 168, 170, 179;
48
- --ion-color-medium-contrast: #000;
49
- --ion-color-medium-contrast-rgb: 0, 0, 0;
50
- --ion-color-medium-shade: #94969e;
51
- --ion-color-medium-tint: #b1b3bb;
52
- --ion-color-dark: #f4f5f8;
53
- --ion-color-dark-rgb: 244, 245, 248;
54
- --ion-color-dark-contrast: #000;
55
- --ion-color-dark-contrast-rgb: 0, 0, 0;
56
- --ion-color-dark-shade: #d7d8da;
57
- --ion-color-dark-tint: #f5f6f9;
58
- }
59
-
60
- :root.ios {
61
- --ion-background-color: #000000;
62
- --ion-background-color-rgb: 0, 0, 0;
63
- --ion-text-color: #ffffff;
64
- --ion-text-color-rgb: 255, 255, 255;
65
- --ion-item-background: #000000;
66
- --ion-card-background: #1c1c1d;
67
- --ion-item-border-color: var(--ion-background-color-step-400);
68
- --ion-text-color-step-50: #f9f9f9;
69
- --ion-text-color-step-100: #f3f3f3;
70
- --ion-text-color-step-150: #ededed;
71
- --ion-text-color-step-200: #e7e7e7;
72
- --ion-text-color-step-250: #e1e1e1;
73
- --ion-text-color-step-300: #dbdbdb;
74
- --ion-text-color-step-350: #d5d5d5;
75
- --ion-text-color-step-400: #cfcfcf;
76
- --ion-text-color-step-450: #c9c9c9;
77
- --ion-text-color-step-500: #c4c4c4;
78
- --ion-text-color-step-550: #bebebe;
79
- --ion-text-color-step-600: #b8b8b8;
80
- --ion-text-color-step-650: #b2b2b2;
81
- --ion-text-color-step-700: #acacac;
82
- --ion-text-color-step-750: #a6a6a6;
83
- --ion-text-color-step-800: #a0a0a0;
84
- --ion-text-color-step-850: #9a9a9a;
85
- --ion-text-color-step-900: #949494;
86
- --ion-text-color-step-950: #8e8e8e;
87
- --ion-background-color-step-50: #0d0d0d;
88
- --ion-background-color-step-100: #1a1a1a;
89
- --ion-background-color-step-150: #262626;
90
- --ion-background-color-step-200: #333333;
91
- --ion-background-color-step-250: #404040;
92
- --ion-background-color-step-300: #4d4d4d;
93
- --ion-background-color-step-350: #595959;
94
- --ion-background-color-step-400: #666666;
95
- --ion-background-color-step-450: #737373;
96
- --ion-background-color-step-500: gray;
97
- --ion-background-color-step-550: #8c8c8c;
98
- --ion-background-color-step-600: #999999;
99
- --ion-background-color-step-650: #a6a6a6;
100
- --ion-background-color-step-700: #b3b3b3;
101
- --ion-background-color-step-750: #bfbfbf;
102
- --ion-background-color-step-800: #cccccc;
103
- --ion-background-color-step-850: #d9d9d9;
104
- --ion-background-color-step-900: #e6e6e6;
105
- --ion-background-color-step-950: #f2f2f2;
106
- }
107
- :root.ios ion-modal {
108
- --ion-background-color: var(--ion-background-color-step-100);
109
- --ion-toolbar-background: var(--ion-background-color-step-150);
110
- --ion-toolbar-border-color: var(--ion-background-color-step-250);
111
- }
112
-
113
- :root.md {
114
- /* stylelint-disable-next-line order/order */
115
- }
116
- :root.md {
117
- --ion-background-color: #121212;
118
- --ion-background-color-rgb: 18, 18, 18;
119
- --ion-text-color: #ffffff;
120
- --ion-text-color-rgb: 255, 255, 255;
121
- --ion-border-color: #222222;
122
- --ion-item-background: #1e1e1e;
123
- --ion-toolbar-background: #1f1f1f;
124
- --ion-tab-bar-background: #1f1f1f;
125
- --ion-card-background: #1e1e1e;
126
- --ion-item-border-color: var(--ion-background-color-step-400);
127
- --ion-text-color-step-50: #f9f9f9;
128
- --ion-text-color-step-100: #f3f3f3;
129
- --ion-text-color-step-150: #ededed;
130
- --ion-text-color-step-200: #e7e7e7;
131
- --ion-text-color-step-250: #e1e1e1;
132
- --ion-text-color-step-300: #dbdbdb;
133
- --ion-text-color-step-350: #d5d5d5;
134
- --ion-text-color-step-400: #cfcfcf;
135
- --ion-text-color-step-450: #c9c9c9;
136
- --ion-text-color-step-500: #c4c4c4;
137
- --ion-text-color-step-550: #bebebe;
138
- --ion-text-color-step-600: #b8b8b8;
139
- --ion-text-color-step-650: #b2b2b2;
140
- --ion-text-color-step-700: #acacac;
141
- --ion-text-color-step-750: #a6a6a6;
142
- --ion-text-color-step-800: #a0a0a0;
143
- --ion-text-color-step-850: #9a9a9a;
144
- --ion-text-color-step-900: #949494;
145
- --ion-text-color-step-950: #8e8e8e;
146
- --ion-background-color-step-50: #1e1e1e;
147
- --ion-background-color-step-100: #2a2a2a;
148
- --ion-background-color-step-150: #363636;
149
- --ion-background-color-step-200: #414141;
150
- --ion-background-color-step-250: #4d4d4d;
151
- --ion-background-color-step-300: #595959;
152
- --ion-background-color-step-350: #656565;
153
- --ion-background-color-step-400: #717171;
154
- --ion-background-color-step-450: #7d7d7d;
155
- --ion-background-color-step-500: #898989;
156
- --ion-background-color-step-550: #949494;
157
- --ion-background-color-step-600: #a0a0a0;
158
- --ion-background-color-step-650: #acacac;
159
- --ion-background-color-step-700: #b8b8b8;
160
- --ion-background-color-step-750: #c4c4c4;
161
- --ion-background-color-step-800: #d0d0d0;
162
- --ion-background-color-step-850: #dbdbdb;
163
- --ion-background-color-step-900: #e7e7e7;
164
- --ion-background-color-step-950: #f3f3f3;
165
- }
166
- :root.md ion-toast {
167
- --color: var(--ion-background-color);
168
- }
169
- :root.md ion-toast::part(button) {
170
- color: var(--color);
171
- }
172
- @supports (color: color-mix(in lch, plum, pink)) {
173
- :root.md ion-toast::part(button) {
174
- color: color-mix(in srgb, var(--color) 73%, var(--button-color));
175
- }
176
- }
177
- :root.md ion-toast::part(button cancel) {
178
- color: var(--color);
179
- }
180
- }
181
-
182
- /*# sourceMappingURL=high-contrast-dark.system.css.map */
1
+ @media(prefers-contrast: more)and (prefers-color-scheme: dark){:root{--ion-placeholder-opacity: 0.8;--ion-color-primary: #7cabff;--ion-color-primary-rgb: 124, 171, 255;--ion-color-primary-contrast: #000;--ion-color-primary-contrast-rgb: 0, 0, 0;--ion-color-primary-shade: #6d96e0;--ion-color-primary-tint: #89b3ff;--ion-color-secondary: #62bdff;--ion-color-secondary-rgb: 98, 189, 255;--ion-color-secondary-contrast: #000;--ion-color-secondary-contrast-rgb: 0, 0, 0;--ion-color-secondary-shade: #56a6e0;--ion-color-secondary-tint: #72c4ff;--ion-color-tertiary: #b6b9f9;--ion-color-tertiary-rgb: 182, 185, 249;--ion-color-tertiary-contrast: #000;--ion-color-tertiary-contrast-rgb: 0, 0, 0;--ion-color-tertiary-shade: #a0a3db;--ion-color-tertiary-tint: #bdc0fa;--ion-color-success: #4ada71;--ion-color-success-rgb: 74, 218, 113;--ion-color-success-contrast: #000;--ion-color-success-contrast-rgb: 0, 0, 0;--ion-color-success-shade: #41c063;--ion-color-success-tint: #5cde7f;--ion-color-warning: #ffce31;--ion-color-warning-rgb: 255, 206, 49;--ion-color-warning-contrast: #000;--ion-color-warning-contrast-rgb: 0, 0, 0;--ion-color-warning-shade: #e0b52b;--ion-color-warning-tint: #ffd346;--ion-color-danger: #fc9aa2;--ion-color-danger-rgb: 252, 154, 162;--ion-color-danger-contrast: #000;--ion-color-danger-contrast-rgb: 0, 0, 0;--ion-color-danger-shade: #de888f;--ion-color-danger-tint: #fca4ab;--ion-color-light: #222428;--ion-color-light-rgb: 34, 36, 40;--ion-color-light-contrast: #fff;--ion-color-light-contrast-rgb: 255, 255, 255;--ion-color-light-shade: #1e2023;--ion-color-light-tint: #383a3e;--ion-color-medium: #a8aab3;--ion-color-medium-rgb: 168, 170, 179;--ion-color-medium-contrast: #000;--ion-color-medium-contrast-rgb: 0, 0, 0;--ion-color-medium-shade: #94969e;--ion-color-medium-tint: #b1b3bb;--ion-color-dark: #f4f5f8;--ion-color-dark-rgb: 244, 245, 248;--ion-color-dark-contrast: #000;--ion-color-dark-contrast-rgb: 0, 0, 0;--ion-color-dark-shade: #d7d8da;--ion-color-dark-tint: #f5f6f9}:root.ios{--ion-background-color: #000000;--ion-background-color-rgb: 0, 0, 0;--ion-text-color: #ffffff;--ion-text-color-rgb: 255, 255, 255;--ion-item-background: #000000;--ion-card-background: #1c1c1d;--ion-item-border-color: var(--ion-background-color-step-400);--ion-text-color-step-50: #f9f9f9;--ion-text-color-step-100: #f3f3f3;--ion-text-color-step-150: #ededed;--ion-text-color-step-200: #e7e7e7;--ion-text-color-step-250: #e1e1e1;--ion-text-color-step-300: #dbdbdb;--ion-text-color-step-350: #d5d5d5;--ion-text-color-step-400: #cfcfcf;--ion-text-color-step-450: #c9c9c9;--ion-text-color-step-500: #c4c4c4;--ion-text-color-step-550: #bebebe;--ion-text-color-step-600: #b8b8b8;--ion-text-color-step-650: #b2b2b2;--ion-text-color-step-700: #acacac;--ion-text-color-step-750: #a6a6a6;--ion-text-color-step-800: #a0a0a0;--ion-text-color-step-850: #9a9a9a;--ion-text-color-step-900: #949494;--ion-text-color-step-950: #8e8e8e;--ion-background-color-step-50: #0d0d0d;--ion-background-color-step-100: #1a1a1a;--ion-background-color-step-150: #262626;--ion-background-color-step-200: #333333;--ion-background-color-step-250: #404040;--ion-background-color-step-300: #4d4d4d;--ion-background-color-step-350: #595959;--ion-background-color-step-400: #666666;--ion-background-color-step-450: #737373;--ion-background-color-step-500: gray;--ion-background-color-step-550: #8c8c8c;--ion-background-color-step-600: #999999;--ion-background-color-step-650: #a6a6a6;--ion-background-color-step-700: #b3b3b3;--ion-background-color-step-750: #bfbfbf;--ion-background-color-step-800: #cccccc;--ion-background-color-step-850: #d9d9d9;--ion-background-color-step-900: #e6e6e6;--ion-background-color-step-950: #f2f2f2}:root.ios ion-modal{--ion-background-color: var(--ion-background-color-step-100);--ion-toolbar-background: var(--ion-background-color-step-150);--ion-toolbar-border-color: var(--ion-background-color-step-250)}:root.md{--ion-background-color: #121212;--ion-background-color-rgb: 18, 18, 18;--ion-text-color: #ffffff;--ion-text-color-rgb: 255, 255, 255;--ion-border-color: #222222;--ion-item-background: #1e1e1e;--ion-toolbar-background: #1f1f1f;--ion-tab-bar-background: #1f1f1f;--ion-card-background: #1e1e1e;--ion-item-border-color: var(--ion-background-color-step-400);--ion-text-color-step-50: #f9f9f9;--ion-text-color-step-100: #f3f3f3;--ion-text-color-step-150: #ededed;--ion-text-color-step-200: #e7e7e7;--ion-text-color-step-250: #e1e1e1;--ion-text-color-step-300: #dbdbdb;--ion-text-color-step-350: #d5d5d5;--ion-text-color-step-400: #cfcfcf;--ion-text-color-step-450: #c9c9c9;--ion-text-color-step-500: #c4c4c4;--ion-text-color-step-550: #bebebe;--ion-text-color-step-600: #b8b8b8;--ion-text-color-step-650: #b2b2b2;--ion-text-color-step-700: #acacac;--ion-text-color-step-750: #a6a6a6;--ion-text-color-step-800: #a0a0a0;--ion-text-color-step-850: #9a9a9a;--ion-text-color-step-900: #949494;--ion-text-color-step-950: #8e8e8e;--ion-background-color-step-50: #1e1e1e;--ion-background-color-step-100: #2a2a2a;--ion-background-color-step-150: #363636;--ion-background-color-step-200: #414141;--ion-background-color-step-250: #4d4d4d;--ion-background-color-step-300: #595959;--ion-background-color-step-350: #656565;--ion-background-color-step-400: #717171;--ion-background-color-step-450: #7d7d7d;--ion-background-color-step-500: #898989;--ion-background-color-step-550: #949494;--ion-background-color-step-600: #a0a0a0;--ion-background-color-step-650: #acacac;--ion-background-color-step-700: #b8b8b8;--ion-background-color-step-750: #c4c4c4;--ion-background-color-step-800: #d0d0d0;--ion-background-color-step-850: #dbdbdb;--ion-background-color-step-900: #e7e7e7;--ion-background-color-step-950: #f3f3f3}:root.md ion-toast{--color: var(--ion-background-color)}:root.md ion-toast::part(button){color:var(--color)}@supports(color: color-mix(in lch, plum, pink)){:root.md ion-toast::part(button){color:color-mix(in srgb, var(--color) 73%, var(--button-color))}}:root.md ion-toast::part(button cancel){color:var(--color)}}/*# sourceMappingURL=high-contrast-dark.system.css.map */
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../src/css/palettes/high-contrast-dark.system.scss","../../src/css/palettes/high-contrast-dark.scss"],"names":[],"mappings":"AAEA;EC8FE;IACE;IAGE;IACA;IACA;IACA;IACA;IACA;IALA;IACA;IACA;IACA;IACA;IACA;IALA;IACA;IACA;IACA;IACA;IACA;IALA;IACA;IACA;IACA;IACA;IACA;IALA;IACA;IACA;IACA;IACA;IACA;IALA;IACA;IACA;IACA;IACA;IACA;IALA;IACA;IACA;IACA;IACA;IACA;IALA;IACA;IACA;IACA;IACA;IACA;IALA;IACA;IACA;IACA;IACA;IACA;;;EASJ;IACE;IACA;IACA;IACA;IACA;IACA;IAIA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAMF;IACE;IACA;IACA;;;EDhKF;ACyOA;;EAlEA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAIA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAMF;IACE;;EAGF;IAEE;;EAIF;IACE;MACE;;;EAIJ;IACE","file":"high-contrast-dark.system.css","sourcesContent":["@import \"./high-contrast-dark\";\n\n@media (prefers-contrast: more) and (prefers-color-scheme: dark) {\n :root {\n @include high-contrast-dark-base-palette();\n }\n\n :root.ios {\n @include high-contrast-dark-ios-palette();\n }\n\n :root.md {\n @include high-contrast-dark-md-palette();\n }\n}\n","@use \"sass:map\";\n@import \"../../themes/ionic.functions.color\";\n\n$primary: #7cabff !default;\n$secondary: #62bdff !default;\n$tertiary: #b6b9f9 !default;\n$success: #4ada71 !default;\n$warning: #ffce31 !default;\n$danger: #fc9aa2 !default;\n$light: #222428 !default;\n$medium: #a8aab3 !default;\n$dark: #f4f5f8 !default;\n\n$colors: (\n primary: (\n base: $primary,\n contrast: #000,\n shade: get-color-shade($primary),\n tint: get-color-tint($primary)\n ),\n secondary: (\n base: $secondary,\n contrast: #000,\n shade: get-color-shade($secondary),\n tint: get-color-tint($secondary)\n ),\n tertiary: (\n base: $tertiary,\n contrast: #000,\n shade: get-color-shade($tertiary),\n tint: get-color-tint($tertiary)\n ),\n success: (\n base: $success,\n contrast: #000,\n shade: get-color-shade($success),\n tint: get-color-tint($success)\n ),\n warning: (\n base: $warning,\n contrast: #000,\n shade: get-color-shade($warning),\n tint: get-color-tint($warning)\n ),\n danger: (\n base: $danger,\n contrast: #000,\n shade: get-color-shade($danger),\n tint: get-color-tint($danger)\n ),\n light: (\n base: $light,\n contrast: #fff,\n shade: get-color-shade($light),\n tint: get-color-tint($light)\n ),\n medium: (\n base: $medium,\n contrast: #000,\n shade: get-color-shade($medium),\n tint: get-color-tint($medium)\n ),\n dark: (\n base: $dark,\n contrast: #000,\n shade: get-color-shade($dark),\n tint: get-color-tint($dark)\n )\n) !default;\n\n/// Text step colors are generated based on\n/// how dark or light text can be. The darkest\n/// text color is usually the default text color (white or black).\n/// The darker the $lightest-text-color is, the darker each\n/// stepped color is. If you want to increase text contrast,\n/// make $lightest-text-color darker.\n$text-color: #ffffff;\n\n$darkest-text-color: #888888;\n$lightest-text-color: $text-color;\n\n/// Loop through each color object above\n/// and generate CSS Variables for each\n/// color. Do not use the ion-color function\n/// here because that will set the variable\n/// to evaluate to itself with a fallback.\n/// For example:\n/// --ion-color-primary: #{ion-color(primary, base)};\n/// Maps to:\n/// --ion-color-primary: var(--ion-color-primary, #...);\n\n/// We apply certain styles to the per-mode classes (ios and md)\n/// as opposed to setting everything in :root\n// so any high contrast dark styles override the standard\n/// contrast dark styles.\n@mixin high-contrast-dark-base-palette() {\n & {\n --ion-placeholder-opacity: 0.8;\n\n @each $color-name, $value in $colors {\n --ion-color-#{$color-name}: #{map.get($value, base)};\n --ion-color-#{$color-name}-rgb: #{color-to-rgb-list(map.get($value, base))};\n --ion-color-#{$color-name}-contrast: #{map.get($value, contrast)};\n --ion-color-#{$color-name}-contrast-rgb: #{color-to-rgb-list(map.get($value, contrast))};\n --ion-color-#{$color-name}-shade: #{map.get($value, shade)};\n --ion-color-#{$color-name}-tint: #{map.get($value, tint)};\n }\n\n }\n}\n\n@mixin high-contrast-dark-ios-palette() {\n $background-color: #000000;\n \n & {\n --ion-background-color: #{$background-color};\n --ion-background-color-rgb: #{color-to-rgb-list($background-color)};\n --ion-text-color: #{$text-color};\n --ion-text-color-rgb: #{color-to-rgb-list($text-color)};\n --ion-item-background: #000000;\n --ion-card-background: #1c1c1d;\n\n /// Only the item borders should increase in contrast\n /// Borders for elements like toolbars should remain the same\n --ion-item-border-color: var(--ion-background-color-step-400);\n --ion-text-color-step-50: #{mix($darkest-text-color, $lightest-text-color, 5%)};\n --ion-text-color-step-100: #{mix($darkest-text-color, $lightest-text-color, 10%)};\n --ion-text-color-step-150: #{mix($darkest-text-color, $lightest-text-color, 15%)};\n --ion-text-color-step-200: #{mix($darkest-text-color, $lightest-text-color, 20%)};\n --ion-text-color-step-250: #{mix($darkest-text-color, $lightest-text-color, 25%)};\n --ion-text-color-step-300: #{mix($darkest-text-color, $lightest-text-color, 30%)};\n --ion-text-color-step-350: #{mix($darkest-text-color, $lightest-text-color, 35%)};\n --ion-text-color-step-400: #{mix($darkest-text-color, $lightest-text-color, 40%)};\n --ion-text-color-step-450: #{mix($darkest-text-color, $lightest-text-color, 45%)};\n --ion-text-color-step-500: #{mix($darkest-text-color, $lightest-text-color, 50%)};\n --ion-text-color-step-550: #{mix($darkest-text-color, $lightest-text-color, 55%)};\n --ion-text-color-step-600: #{mix($darkest-text-color, $lightest-text-color, 60%)};\n --ion-text-color-step-650: #{mix($darkest-text-color, $lightest-text-color, 65%)};\n --ion-text-color-step-700: #{mix($darkest-text-color, $lightest-text-color, 70%)};\n --ion-text-color-step-750: #{mix($darkest-text-color, $lightest-text-color, 75%)};\n --ion-text-color-step-800: #{mix($darkest-text-color, $lightest-text-color, 80%)};\n --ion-text-color-step-850: #{mix($darkest-text-color, $lightest-text-color, 85%)};\n --ion-text-color-step-900: #{mix($darkest-text-color, $lightest-text-color, 90%)};\n --ion-text-color-step-950: #{mix($darkest-text-color, $lightest-text-color, 95%)};\n --ion-background-color-step-50: #{mix($text-color, $background-color, 5%)};\n --ion-background-color-step-100: #{mix($text-color, $background-color, 10%)};\n --ion-background-color-step-150: #{mix($text-color, $background-color, 15%)};\n --ion-background-color-step-200: #{mix($text-color, $background-color, 20%)};\n --ion-background-color-step-250: #{mix($text-color, $background-color, 25%)};\n --ion-background-color-step-300: #{mix($text-color, $background-color, 30%)};\n --ion-background-color-step-350: #{mix($text-color, $background-color, 35%)};\n --ion-background-color-step-400: #{mix($text-color, $background-color, 40%)};\n --ion-background-color-step-450: #{mix($text-color, $background-color, 45%)};\n --ion-background-color-step-500: #{mix($text-color, $background-color, 50%)};\n --ion-background-color-step-550: #{mix($text-color, $background-color, 55%)};\n --ion-background-color-step-600: #{mix($text-color, $background-color, 60%)};\n --ion-background-color-step-650: #{mix($text-color, $background-color, 65%)};\n --ion-background-color-step-700: #{mix($text-color, $background-color, 70%)};\n --ion-background-color-step-750: #{mix($text-color, $background-color, 75%)};\n --ion-background-color-step-800: #{mix($text-color, $background-color, 80%)};\n --ion-background-color-step-850: #{mix($text-color, $background-color, 85%)};\n --ion-background-color-step-900: #{mix($text-color, $background-color, 90%)};\n --ion-background-color-step-950: #{mix($text-color, $background-color, 95%)};\n }\n\n // Modal\n // --------------------------------------------------\n\n & ion-modal {\n --ion-background-color: var(--ion-background-color-step-100);\n --ion-toolbar-background: var(--ion-background-color-step-150);\n --ion-toolbar-border-color: var(--ion-background-color-step-250);\n }\n}\n\n@mixin high-contrast-dark-md-palette() {\n $background-color: #121212;\n \n & {\n --ion-background-color: #{$background-color};\n --ion-background-color-rgb: #{color-to-rgb-list($background-color)};\n --ion-text-color: #{$text-color};\n --ion-text-color-rgb: #{color-to-rgb-list($text-color)};\n --ion-border-color: #222222;\n --ion-item-background: #1e1e1e;\n --ion-toolbar-background: #1f1f1f;\n --ion-tab-bar-background: #1f1f1f;\n --ion-card-background: #1e1e1e;\n\n /// Only the item borders should increase in contrast\n /// Borders for elements like toolbars should remain the same\n --ion-item-border-color: var(--ion-background-color-step-400);\n --ion-text-color-step-50: #{mix($darkest-text-color, $lightest-text-color, 5%)};\n --ion-text-color-step-100: #{mix($darkest-text-color, $lightest-text-color, 10%)};\n --ion-text-color-step-150: #{mix($darkest-text-color, $lightest-text-color, 15%)};\n --ion-text-color-step-200: #{mix($darkest-text-color, $lightest-text-color, 20%)};\n --ion-text-color-step-250: #{mix($darkest-text-color, $lightest-text-color, 25%)};\n --ion-text-color-step-300: #{mix($darkest-text-color, $lightest-text-color, 30%)};\n --ion-text-color-step-350: #{mix($darkest-text-color, $lightest-text-color, 35%)};\n --ion-text-color-step-400: #{mix($darkest-text-color, $lightest-text-color, 40%)};\n --ion-text-color-step-450: #{mix($darkest-text-color, $lightest-text-color, 45%)};\n --ion-text-color-step-500: #{mix($darkest-text-color, $lightest-text-color, 50%)};\n --ion-text-color-step-550: #{mix($darkest-text-color, $lightest-text-color, 55%)};\n --ion-text-color-step-600: #{mix($darkest-text-color, $lightest-text-color, 60%)};\n --ion-text-color-step-650: #{mix($darkest-text-color, $lightest-text-color, 65%)};\n --ion-text-color-step-700: #{mix($darkest-text-color, $lightest-text-color, 70%)};\n --ion-text-color-step-750: #{mix($darkest-text-color, $lightest-text-color, 75%)};\n --ion-text-color-step-800: #{mix($darkest-text-color, $lightest-text-color, 80%)};\n --ion-text-color-step-850: #{mix($darkest-text-color, $lightest-text-color, 85%)};\n --ion-text-color-step-900: #{mix($darkest-text-color, $lightest-text-color, 90%)};\n --ion-text-color-step-950: #{mix($darkest-text-color, $lightest-text-color, 95%)};\n --ion-background-color-step-50: #{mix($text-color, $background-color, 5%)};\n --ion-background-color-step-100: #{mix($text-color, $background-color, 10%)};\n --ion-background-color-step-150: #{mix($text-color, $background-color, 15%)};\n --ion-background-color-step-200: #{mix($text-color, $background-color, 20%)};\n --ion-background-color-step-250: #{mix($text-color, $background-color, 25%)};\n --ion-background-color-step-300: #{mix($text-color, $background-color, 30%)};\n --ion-background-color-step-350: #{mix($text-color, $background-color, 35%)};\n --ion-background-color-step-400: #{mix($text-color, $background-color, 40%)};\n --ion-background-color-step-450: #{mix($text-color, $background-color, 45%)};\n --ion-background-color-step-500: #{mix($text-color, $background-color, 50%)};\n --ion-background-color-step-550: #{mix($text-color, $background-color, 55%)};\n --ion-background-color-step-600: #{mix($text-color, $background-color, 60%)};\n --ion-background-color-step-650: #{mix($text-color, $background-color, 65%)};\n --ion-background-color-step-700: #{mix($text-color, $background-color, 70%)};\n --ion-background-color-step-750: #{mix($text-color, $background-color, 75%)};\n --ion-background-color-step-800: #{mix($text-color, $background-color, 80%)};\n --ion-background-color-step-850: #{mix($text-color, $background-color, 85%)};\n --ion-background-color-step-900: #{mix($text-color, $background-color, 90%)};\n --ion-background-color-step-950: #{mix($text-color, $background-color, 95%)};\n }\n\n // Toast\n // --------------------------------------------------\n\n & ion-toast {\n --color: var(--ion-background-color);\n }\n\n & ion-toast::part(button) {\n // Fallback for browsers that don't support color-mix\n color: var(--color);\n }\n\n /* stylelint-disable-next-line order/order */\n @supports (color: color-mix(in lch, plum, pink)) {\n & ion-toast::part(button) {\n color: color-mix(in srgb, var(--color) 73%, var(--button-color));\n }\n }\n\n & ion-toast::part(button cancel) {\n color: var(--color);\n }\n}\n"]}
1
+ {"version":3,"sourceRoot":"","sources":["../../src/css/palettes/high-contrast-dark.system.scss","../../src/css/palettes/high-contrast-dark.scss"],"names":[],"mappings":"AAEA,+DC8FE,MACE,+BAGE,6BACA,uCACA,mCACA,0CACA,mCACA,kCALA,+BACA,wCACA,qCACA,4CACA,qCACA,oCALA,8BACA,wCACA,oCACA,2CACA,oCACA,mCALA,6BACA,sCACA,mCACA,0CACA,mCACA,kCALA,6BACA,sCACA,mCACA,0CACA,mCACA,kCALA,4BACA,sCACA,kCACA,yCACA,kCACA,iCALA,2BACA,kCACA,iCACA,8CACA,iCACA,gCALA,4BACA,sCACA,kCACA,yCACA,kCACA,iCALA,0BACA,oCACA,gCACA,uCACA,gCACA,+BASJ,UACE,gCACA,oCACA,0BACA,oCACA,+BACA,+BAIA,8DACA,kCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,wCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCACA,sCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCAMF,oBACE,6DACA,+DACA,iEAOF,SACE,gCACA,uCACA,0BACA,oCACA,4BACA,+BACA,kCACA,kCACA,+BAIA,8DACA,kCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,wCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCACA,yCAMF,mBACE,qCAGF,iCAEE,mBAIF,gDACE,iCACE,iEAIJ,wCACE","file":"high-contrast-dark.system.css","sourcesContent":["@import \"./high-contrast-dark\";\n\n@media (prefers-contrast: more) and (prefers-color-scheme: dark) {\n :root {\n @include high-contrast-dark-base-palette();\n }\n\n :root.ios {\n @include high-contrast-dark-ios-palette();\n }\n\n :root.md {\n @include high-contrast-dark-md-palette();\n }\n}\n","@use \"sass:map\";\n@import \"../../themes/ionic.functions.color\";\n\n$primary: #7cabff !default;\n$secondary: #62bdff !default;\n$tertiary: #b6b9f9 !default;\n$success: #4ada71 !default;\n$warning: #ffce31 !default;\n$danger: #fc9aa2 !default;\n$light: #222428 !default;\n$medium: #a8aab3 !default;\n$dark: #f4f5f8 !default;\n\n$colors: (\n primary: (\n base: $primary,\n contrast: #000,\n shade: get-color-shade($primary),\n tint: get-color-tint($primary)\n ),\n secondary: (\n base: $secondary,\n contrast: #000,\n shade: get-color-shade($secondary),\n tint: get-color-tint($secondary)\n ),\n tertiary: (\n base: $tertiary,\n contrast: #000,\n shade: get-color-shade($tertiary),\n tint: get-color-tint($tertiary)\n ),\n success: (\n base: $success,\n contrast: #000,\n shade: get-color-shade($success),\n tint: get-color-tint($success)\n ),\n warning: (\n base: $warning,\n contrast: #000,\n shade: get-color-shade($warning),\n tint: get-color-tint($warning)\n ),\n danger: (\n base: $danger,\n contrast: #000,\n shade: get-color-shade($danger),\n tint: get-color-tint($danger)\n ),\n light: (\n base: $light,\n contrast: #fff,\n shade: get-color-shade($light),\n tint: get-color-tint($light)\n ),\n medium: (\n base: $medium,\n contrast: #000,\n shade: get-color-shade($medium),\n tint: get-color-tint($medium)\n ),\n dark: (\n base: $dark,\n contrast: #000,\n shade: get-color-shade($dark),\n tint: get-color-tint($dark)\n )\n) !default;\n\n/// Text step colors are generated based on\n/// how dark or light text can be. The darkest\n/// text color is usually the default text color (white or black).\n/// The darker the $lightest-text-color is, the darker each\n/// stepped color is. If you want to increase text contrast,\n/// make $lightest-text-color darker.\n$text-color: #ffffff;\n\n$darkest-text-color: #888888;\n$lightest-text-color: $text-color;\n\n/// Loop through each color object above\n/// and generate CSS Variables for each\n/// color. Do not use the ion-color function\n/// here because that will set the variable\n/// to evaluate to itself with a fallback.\n/// For example:\n/// --ion-color-primary: #{ion-color(primary, base)};\n/// Maps to:\n/// --ion-color-primary: var(--ion-color-primary, #...);\n\n/// We apply certain styles to the per-mode classes (ios and md)\n/// as opposed to setting everything in :root\n// so any high contrast dark styles override the standard\n/// contrast dark styles.\n@mixin high-contrast-dark-base-palette() {\n & {\n --ion-placeholder-opacity: 0.8;\n\n @each $color-name, $value in $colors {\n --ion-color-#{$color-name}: #{map.get($value, base)};\n --ion-color-#{$color-name}-rgb: #{color-to-rgb-list(map.get($value, base))};\n --ion-color-#{$color-name}-contrast: #{map.get($value, contrast)};\n --ion-color-#{$color-name}-contrast-rgb: #{color-to-rgb-list(map.get($value, contrast))};\n --ion-color-#{$color-name}-shade: #{map.get($value, shade)};\n --ion-color-#{$color-name}-tint: #{map.get($value, tint)};\n }\n\n }\n}\n\n@mixin high-contrast-dark-ios-palette() {\n $background-color: #000000;\n \n & {\n --ion-background-color: #{$background-color};\n --ion-background-color-rgb: #{color-to-rgb-list($background-color)};\n --ion-text-color: #{$text-color};\n --ion-text-color-rgb: #{color-to-rgb-list($text-color)};\n --ion-item-background: #000000;\n --ion-card-background: #1c1c1d;\n\n /// Only the item borders should increase in contrast\n /// Borders for elements like toolbars should remain the same\n --ion-item-border-color: var(--ion-background-color-step-400);\n --ion-text-color-step-50: #{mix($darkest-text-color, $lightest-text-color, 5%)};\n --ion-text-color-step-100: #{mix($darkest-text-color, $lightest-text-color, 10%)};\n --ion-text-color-step-150: #{mix($darkest-text-color, $lightest-text-color, 15%)};\n --ion-text-color-step-200: #{mix($darkest-text-color, $lightest-text-color, 20%)};\n --ion-text-color-step-250: #{mix($darkest-text-color, $lightest-text-color, 25%)};\n --ion-text-color-step-300: #{mix($darkest-text-color, $lightest-text-color, 30%)};\n --ion-text-color-step-350: #{mix($darkest-text-color, $lightest-text-color, 35%)};\n --ion-text-color-step-400: #{mix($darkest-text-color, $lightest-text-color, 40%)};\n --ion-text-color-step-450: #{mix($darkest-text-color, $lightest-text-color, 45%)};\n --ion-text-color-step-500: #{mix($darkest-text-color, $lightest-text-color, 50%)};\n --ion-text-color-step-550: #{mix($darkest-text-color, $lightest-text-color, 55%)};\n --ion-text-color-step-600: #{mix($darkest-text-color, $lightest-text-color, 60%)};\n --ion-text-color-step-650: #{mix($darkest-text-color, $lightest-text-color, 65%)};\n --ion-text-color-step-700: #{mix($darkest-text-color, $lightest-text-color, 70%)};\n --ion-text-color-step-750: #{mix($darkest-text-color, $lightest-text-color, 75%)};\n --ion-text-color-step-800: #{mix($darkest-text-color, $lightest-text-color, 80%)};\n --ion-text-color-step-850: #{mix($darkest-text-color, $lightest-text-color, 85%)};\n --ion-text-color-step-900: #{mix($darkest-text-color, $lightest-text-color, 90%)};\n --ion-text-color-step-950: #{mix($darkest-text-color, $lightest-text-color, 95%)};\n --ion-background-color-step-50: #{mix($text-color, $background-color, 5%)};\n --ion-background-color-step-100: #{mix($text-color, $background-color, 10%)};\n --ion-background-color-step-150: #{mix($text-color, $background-color, 15%)};\n --ion-background-color-step-200: #{mix($text-color, $background-color, 20%)};\n --ion-background-color-step-250: #{mix($text-color, $background-color, 25%)};\n --ion-background-color-step-300: #{mix($text-color, $background-color, 30%)};\n --ion-background-color-step-350: #{mix($text-color, $background-color, 35%)};\n --ion-background-color-step-400: #{mix($text-color, $background-color, 40%)};\n --ion-background-color-step-450: #{mix($text-color, $background-color, 45%)};\n --ion-background-color-step-500: #{mix($text-color, $background-color, 50%)};\n --ion-background-color-step-550: #{mix($text-color, $background-color, 55%)};\n --ion-background-color-step-600: #{mix($text-color, $background-color, 60%)};\n --ion-background-color-step-650: #{mix($text-color, $background-color, 65%)};\n --ion-background-color-step-700: #{mix($text-color, $background-color, 70%)};\n --ion-background-color-step-750: #{mix($text-color, $background-color, 75%)};\n --ion-background-color-step-800: #{mix($text-color, $background-color, 80%)};\n --ion-background-color-step-850: #{mix($text-color, $background-color, 85%)};\n --ion-background-color-step-900: #{mix($text-color, $background-color, 90%)};\n --ion-background-color-step-950: #{mix($text-color, $background-color, 95%)};\n }\n\n // Modal\n // --------------------------------------------------\n\n & ion-modal {\n --ion-background-color: var(--ion-background-color-step-100);\n --ion-toolbar-background: var(--ion-background-color-step-150);\n --ion-toolbar-border-color: var(--ion-background-color-step-250);\n }\n}\n\n@mixin high-contrast-dark-md-palette() {\n $background-color: #121212;\n \n & {\n --ion-background-color: #{$background-color};\n --ion-background-color-rgb: #{color-to-rgb-list($background-color)};\n --ion-text-color: #{$text-color};\n --ion-text-color-rgb: #{color-to-rgb-list($text-color)};\n --ion-border-color: #222222;\n --ion-item-background: #1e1e1e;\n --ion-toolbar-background: #1f1f1f;\n --ion-tab-bar-background: #1f1f1f;\n --ion-card-background: #1e1e1e;\n\n /// Only the item borders should increase in contrast\n /// Borders for elements like toolbars should remain the same\n --ion-item-border-color: var(--ion-background-color-step-400);\n --ion-text-color-step-50: #{mix($darkest-text-color, $lightest-text-color, 5%)};\n --ion-text-color-step-100: #{mix($darkest-text-color, $lightest-text-color, 10%)};\n --ion-text-color-step-150: #{mix($darkest-text-color, $lightest-text-color, 15%)};\n --ion-text-color-step-200: #{mix($darkest-text-color, $lightest-text-color, 20%)};\n --ion-text-color-step-250: #{mix($darkest-text-color, $lightest-text-color, 25%)};\n --ion-text-color-step-300: #{mix($darkest-text-color, $lightest-text-color, 30%)};\n --ion-text-color-step-350: #{mix($darkest-text-color, $lightest-text-color, 35%)};\n --ion-text-color-step-400: #{mix($darkest-text-color, $lightest-text-color, 40%)};\n --ion-text-color-step-450: #{mix($darkest-text-color, $lightest-text-color, 45%)};\n --ion-text-color-step-500: #{mix($darkest-text-color, $lightest-text-color, 50%)};\n --ion-text-color-step-550: #{mix($darkest-text-color, $lightest-text-color, 55%)};\n --ion-text-color-step-600: #{mix($darkest-text-color, $lightest-text-color, 60%)};\n --ion-text-color-step-650: #{mix($darkest-text-color, $lightest-text-color, 65%)};\n --ion-text-color-step-700: #{mix($darkest-text-color, $lightest-text-color, 70%)};\n --ion-text-color-step-750: #{mix($darkest-text-color, $lightest-text-color, 75%)};\n --ion-text-color-step-800: #{mix($darkest-text-color, $lightest-text-color, 80%)};\n --ion-text-color-step-850: #{mix($darkest-text-color, $lightest-text-color, 85%)};\n --ion-text-color-step-900: #{mix($darkest-text-color, $lightest-text-color, 90%)};\n --ion-text-color-step-950: #{mix($darkest-text-color, $lightest-text-color, 95%)};\n --ion-background-color-step-50: #{mix($text-color, $background-color, 5%)};\n --ion-background-color-step-100: #{mix($text-color, $background-color, 10%)};\n --ion-background-color-step-150: #{mix($text-color, $background-color, 15%)};\n --ion-background-color-step-200: #{mix($text-color, $background-color, 20%)};\n --ion-background-color-step-250: #{mix($text-color, $background-color, 25%)};\n --ion-background-color-step-300: #{mix($text-color, $background-color, 30%)};\n --ion-background-color-step-350: #{mix($text-color, $background-color, 35%)};\n --ion-background-color-step-400: #{mix($text-color, $background-color, 40%)};\n --ion-background-color-step-450: #{mix($text-color, $background-color, 45%)};\n --ion-background-color-step-500: #{mix($text-color, $background-color, 50%)};\n --ion-background-color-step-550: #{mix($text-color, $background-color, 55%)};\n --ion-background-color-step-600: #{mix($text-color, $background-color, 60%)};\n --ion-background-color-step-650: #{mix($text-color, $background-color, 65%)};\n --ion-background-color-step-700: #{mix($text-color, $background-color, 70%)};\n --ion-background-color-step-750: #{mix($text-color, $background-color, 75%)};\n --ion-background-color-step-800: #{mix($text-color, $background-color, 80%)};\n --ion-background-color-step-850: #{mix($text-color, $background-color, 85%)};\n --ion-background-color-step-900: #{mix($text-color, $background-color, 90%)};\n --ion-background-color-step-950: #{mix($text-color, $background-color, 95%)};\n }\n\n // Toast\n // --------------------------------------------------\n\n & ion-toast {\n --color: var(--ion-background-color);\n }\n\n & ion-toast::part(button) {\n // Fallback for browsers that don't support color-mix\n color: var(--color);\n }\n\n /* stylelint-disable-next-line order/order */\n @supports (color: color-mix(in lch, plum, pink)) {\n & ion-toast::part(button) {\n color: color-mix(in srgb, var(--color) 73%, var(--button-color));\n }\n }\n\n & ion-toast::part(button cancel) {\n color: var(--color);\n }\n}\n"]}
@@ -1,101 +1 @@
1
- :root {
2
- --ion-background-color: #ffffff;
3
- --ion-background-color-rgb: 255, 255, 255;
4
- --ion-text-color: #000000;
5
- --ion-text-color-rgb: 0, 0, 0;
6
- --ion-placeholder-opacity: 0.8;
7
- --ion-item-border-color: #7a7a7a;
8
- --ion-text-color-step-50: #070707;
9
- --ion-text-color-step-100: #0e0e0e;
10
- --ion-text-color-step-150: #141414;
11
- --ion-text-color-step-200: #1b1b1b;
12
- --ion-text-color-step-250: #222222;
13
- --ion-text-color-step-300: #292929;
14
- --ion-text-color-step-350: #303030;
15
- --ion-text-color-step-400: #363636;
16
- --ion-text-color-step-450: #3d3d3d;
17
- --ion-text-color-step-500: #444444;
18
- --ion-text-color-step-550: #4b4b4b;
19
- --ion-text-color-step-600: #525252;
20
- --ion-text-color-step-650: #585858;
21
- --ion-text-color-step-700: #5f5f5f;
22
- --ion-text-color-step-750: #666666;
23
- --ion-text-color-step-800: #6d6d6d;
24
- --ion-text-color-step-850: #747474;
25
- --ion-text-color-step-900: #7a7a7a;
26
- --ion-text-color-step-950: #818181;
27
- --ion-color-primary: #003fae;
28
- --ion-color-primary-rgb: 0, 63, 174;
29
- --ion-color-primary-contrast: #fff;
30
- --ion-color-primary-contrast-rgb: 255, 255, 255;
31
- --ion-color-primary-shade: #003799;
32
- --ion-color-primary-tint: #1a52b6;
33
- --ion-color-secondary: #01487b;
34
- --ion-color-secondary-rgb: 1, 72, 123;
35
- --ion-color-secondary-contrast: #fff;
36
- --ion-color-secondary-contrast-rgb: 255, 255, 255;
37
- --ion-color-secondary-shade: #013f6c;
38
- --ion-color-secondary-tint: #1a5a88;
39
- --ion-color-tertiary: #3400e6;
40
- --ion-color-tertiary-rgb: 52, 0, 230;
41
- --ion-color-tertiary-contrast: #fff;
42
- --ion-color-tertiary-contrast-rgb: 255, 255, 255;
43
- --ion-color-tertiary-shade: #2e00ca;
44
- --ion-color-tertiary-tint: #481ae9;
45
- --ion-color-success: #004314;
46
- --ion-color-success-rgb: 0, 67, 20;
47
- --ion-color-success-contrast: #fff;
48
- --ion-color-success-contrast-rgb: 255, 255, 255;
49
- --ion-color-success-shade: #003b12;
50
- --ion-color-success-tint: #1a562c;
51
- --ion-color-warning: #5f4100;
52
- --ion-color-warning-rgb: 95, 65, 0;
53
- --ion-color-warning-contrast: #fff;
54
- --ion-color-warning-contrast-rgb: 255, 255, 255;
55
- --ion-color-warning-shade: #543900;
56
- --ion-color-warning-tint: #6f541a;
57
- --ion-color-danger: #9c000c;
58
- --ion-color-danger-rgb: 156, 0, 12;
59
- --ion-color-danger-contrast: #fff;
60
- --ion-color-danger-contrast-rgb: 255, 255, 255;
61
- --ion-color-danger-shade: #89000b;
62
- --ion-color-danger-tint: #a61a24;
63
- --ion-color-light: #f4f5f8;
64
- --ion-color-light-rgb: 244, 245, 248;
65
- --ion-color-light-contrast: #000;
66
- --ion-color-light-contrast-rgb: 0, 0, 0;
67
- --ion-color-light-shade: #d7d8da;
68
- --ion-color-light-tint: #f5f6f9;
69
- --ion-color-medium: #444446;
70
- --ion-color-medium-rgb: 68, 68, 70;
71
- --ion-color-medium-contrast: #fff;
72
- --ion-color-medium-contrast-rgb: 255, 255, 255;
73
- --ion-color-medium-shade: #3c3c3e;
74
- --ion-color-medium-tint: #575759;
75
- --ion-color-dark: #222428;
76
- --ion-color-dark-rgb: 34, 36, 40;
77
- --ion-color-dark-contrast: #fff;
78
- --ion-color-dark-contrast-rgb: 255, 255, 255;
79
- --ion-color-dark-shade: #1e2023;
80
- --ion-color-dark-tint: #383a3e;
81
- }
82
-
83
- :root.md {
84
- /* stylelint-disable-next-line order/order */
85
- }
86
- :root.md ion-toast {
87
- --color: var(--ion-background-color);
88
- }
89
- :root.md ion-toast::part(button) {
90
- color: var(--color);
91
- }
92
- @supports (color: color-mix(in lch, plum, pink)) {
93
- :root.md ion-toast::part(button) {
94
- color: color-mix(in srgb, var(--color) 70%, var(--button-color));
95
- }
96
- }
97
- :root.md ion-toast::part(button cancel) {
98
- color: var(--color);
99
- }
100
-
101
- /*# sourceMappingURL=high-contrast.always.css.map */
1
+ :root{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-placeholder-opacity: 0.8;--ion-item-border-color: #7a7a7a;--ion-text-color-step-50: #070707;--ion-text-color-step-100: #0e0e0e;--ion-text-color-step-150: #141414;--ion-text-color-step-200: #1b1b1b;--ion-text-color-step-250: #222222;--ion-text-color-step-300: #292929;--ion-text-color-step-350: #303030;--ion-text-color-step-400: #363636;--ion-text-color-step-450: #3d3d3d;--ion-text-color-step-500: #444444;--ion-text-color-step-550: #4b4b4b;--ion-text-color-step-600: #525252;--ion-text-color-step-650: #585858;--ion-text-color-step-700: #5f5f5f;--ion-text-color-step-750: #666666;--ion-text-color-step-800: #6d6d6d;--ion-text-color-step-850: #747474;--ion-text-color-step-900: #7a7a7a;--ion-text-color-step-950: #818181;--ion-color-primary: #003fae;--ion-color-primary-rgb: 0, 63, 174;--ion-color-primary-contrast: #fff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #003799;--ion-color-primary-tint: #1a52b6;--ion-color-secondary: #01487b;--ion-color-secondary-rgb: 1, 72, 123;--ion-color-secondary-contrast: #fff;--ion-color-secondary-contrast-rgb: 255, 255, 255;--ion-color-secondary-shade: #013f6c;--ion-color-secondary-tint: #1a5a88;--ion-color-tertiary: #3400e6;--ion-color-tertiary-rgb: 52, 0, 230;--ion-color-tertiary-contrast: #fff;--ion-color-tertiary-contrast-rgb: 255, 255, 255;--ion-color-tertiary-shade: #2e00ca;--ion-color-tertiary-tint: #481ae9;--ion-color-success: #004314;--ion-color-success-rgb: 0, 67, 20;--ion-color-success-contrast: #fff;--ion-color-success-contrast-rgb: 255, 255, 255;--ion-color-success-shade: #003b12;--ion-color-success-tint: #1a562c;--ion-color-warning: #5f4100;--ion-color-warning-rgb: 95, 65, 0;--ion-color-warning-contrast: #fff;--ion-color-warning-contrast-rgb: 255, 255, 255;--ion-color-warning-shade: #543900;--ion-color-warning-tint: #6f541a;--ion-color-danger: #9c000c;--ion-color-danger-rgb: 156, 0, 12;--ion-color-danger-contrast: #fff;--ion-color-danger-contrast-rgb: 255, 255, 255;--ion-color-danger-shade: #89000b;--ion-color-danger-tint: #a61a24;--ion-color-light: #f4f5f8;--ion-color-light-rgb: 244, 245, 248;--ion-color-light-contrast: #000;--ion-color-light-contrast-rgb: 0, 0, 0;--ion-color-light-shade: #d7d8da;--ion-color-light-tint: #f5f6f9;--ion-color-medium: #444446;--ion-color-medium-rgb: 68, 68, 70;--ion-color-medium-contrast: #fff;--ion-color-medium-contrast-rgb: 255, 255, 255;--ion-color-medium-shade: #3c3c3e;--ion-color-medium-tint: #575759;--ion-color-dark: #222428;--ion-color-dark-rgb: 34, 36, 40;--ion-color-dark-contrast: #fff;--ion-color-dark-contrast-rgb: 255, 255, 255;--ion-color-dark-shade: #1e2023;--ion-color-dark-tint: #383a3e}:root.md ion-toast{--color: var(--ion-background-color)}:root.md ion-toast::part(button){color:var(--color)}@supports(color: color-mix(in lch, plum, pink)){:root.md ion-toast::part(button){color:color-mix(in srgb, var(--color) 70%, var(--button-color))}}:root.md ion-toast::part(button cancel){color:var(--color)}/*# sourceMappingURL=high-contrast.always.css.map */
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../src/css/palettes/high-contrast.scss","../../src/css/palettes/high-contrast.always.scss"],"names":[],"mappings":"AA4FE;EACE;EACA;EACA;EACA;EACA;EAIA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAGE;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;;;AC1HN;AD4IE;;AATA;EACE;;AAGF;EAEE;;AAIF;EACE;IACE;;;AAIJ;EACE","file":"high-contrast.always.css","sourcesContent":["@use \"sass:map\";\n@import \"../../themes/ionic.functions.color\";\n\n$primary: #003fae !default;\n$secondary: #01487b !default;\n$tertiary: #3400e6 !default;\n$success: #004314 !default;\n$warning: #5f4100 !default;\n$danger: #9c000c !default;\n$light: #f4f5f8 !default;\n$medium: #444446 !default;\n$dark: #222428 !default;\n\n$colors: (\n primary: (\n base: $primary,\n contrast: #fff,\n shade: get-color-shade($primary),\n tint: get-color-tint($primary)\n ),\n secondary: (\n base: $secondary,\n contrast: #fff,\n shade: get-color-shade($secondary),\n tint: get-color-tint($secondary)\n ),\n tertiary: (\n base: $tertiary,\n contrast: #fff,\n shade: get-color-shade($tertiary),\n tint: get-color-tint($tertiary)\n ),\n success: (\n base: $success,\n contrast: #fff,\n shade: get-color-shade($success),\n tint: get-color-tint($success)\n ),\n warning: (\n base: $warning,\n contrast: #fff,\n shade: get-color-shade($warning),\n tint: get-color-tint($warning)\n ),\n danger: (\n base: $danger,\n contrast: #fff,\n shade: get-color-shade($danger),\n tint: get-color-tint($danger)\n ),\n light: (\n base: $light,\n contrast: #000,\n shade: get-color-shade($light),\n tint: get-color-tint($light)\n ),\n medium: (\n base: $medium,\n contrast: #fff,\n shade: get-color-shade($medium),\n tint: get-color-tint($medium)\n ),\n dark: (\n base: $dark,\n contrast: #fff,\n shade: get-color-shade($dark),\n tint: get-color-tint($dark)\n )\n) !default;\n\n/// Text step colors are generated based on\n/// how dark or light text can be. The darkest\n/// text color is usually the default text color (white or black).\n/// The darker the $lightest-text-color is, the darker each\n/// stepped color is. If you want to increase text contrast,\n/// make $lightest-text-color darker.\n$background-color: #ffffff;\n$text-color: #000000;\n\n$darkest-text-color: $text-color;\n$lightest-text-color: #888888;\n\n/// Loop through each color object above\n/// and generate CSS Variables for each\n/// color. Do not use the ion-color function\n/// here because that will set the variable\n/// to evaluate to itself with a fallback.\n/// For example:\n/// --ion-color-primary: #{ion-color(primary, base)};\n/// Maps to:\n/// --ion-color-primary: var(--ion-color-primary, #...);\n@mixin high-contrast-light-base-palette() {\n & {\n --ion-background-color: #{$background-color};\n --ion-background-color-rgb: #{color-to-rgb-list($background-color)};\n --ion-text-color: #{$text-color};\n --ion-text-color-rgb: #{color-to-rgb-list($text-color)};\n --ion-placeholder-opacity: 0.8;\n\n /// Only the item borders should increase in contrast\n /// Borders for elements like toolbars should remain the same\n --ion-item-border-color: #7a7a7a;\n --ion-text-color-step-50: #{mix($lightest-text-color, $darkest-text-color, 5%)};\n --ion-text-color-step-100: #{mix($lightest-text-color, $darkest-text-color, 10%)};\n --ion-text-color-step-150: #{mix($lightest-text-color, $darkest-text-color, 15%)};\n --ion-text-color-step-200: #{mix($lightest-text-color, $darkest-text-color, 20%)};\n --ion-text-color-step-250: #{mix($lightest-text-color, $darkest-text-color, 25%)};\n --ion-text-color-step-300: #{mix($lightest-text-color, $darkest-text-color, 30%)};\n --ion-text-color-step-350: #{mix($lightest-text-color, $darkest-text-color, 35%)};\n --ion-text-color-step-400: #{mix($lightest-text-color, $darkest-text-color, 40%)};\n --ion-text-color-step-450: #{mix($lightest-text-color, $darkest-text-color, 45%)};\n --ion-text-color-step-500: #{mix($lightest-text-color, $darkest-text-color, 50%)};\n --ion-text-color-step-550: #{mix($lightest-text-color, $darkest-text-color, 55%)};\n --ion-text-color-step-600: #{mix($lightest-text-color, $darkest-text-color, 60%)};\n --ion-text-color-step-650: #{mix($lightest-text-color, $darkest-text-color, 65%)};\n --ion-text-color-step-700: #{mix($lightest-text-color, $darkest-text-color, 70%)};\n --ion-text-color-step-750: #{mix($lightest-text-color, $darkest-text-color, 75%)};\n --ion-text-color-step-800: #{mix($lightest-text-color, $darkest-text-color, 80%)};\n --ion-text-color-step-850: #{mix($lightest-text-color, $darkest-text-color, 85%)};\n --ion-text-color-step-900: #{mix($lightest-text-color, $darkest-text-color, 90%)};\n --ion-text-color-step-950: #{mix($lightest-text-color, $darkest-text-color, 95%)};\n\n @each $color-name, $value in $colors {\n --ion-color-#{$color-name}: #{map.get($value, base)};\n --ion-color-#{$color-name}-rgb: #{color-to-rgb-list(map.get($value, base))};\n --ion-color-#{$color-name}-contrast: #{map.get($value, contrast)};\n --ion-color-#{$color-name}-contrast-rgb: #{color-to-rgb-list(map.get($value, contrast))};\n --ion-color-#{$color-name}-shade: #{map.get($value, shade)};\n --ion-color-#{$color-name}-tint: #{map.get($value, tint)};\n }\n }\n}\n\n@mixin high-contrast-light-md-palette() {\n // Toast\n // --------------------------------------------------\n\n & ion-toast {\n --color: var(--ion-background-color);\n }\n\n & ion-toast::part(button) {\n // Fallback for browsers that don't support color-mix\n color: var(--color);\n }\n\n /* stylelint-disable-next-line order/order */\n @supports (color: color-mix(in lch, plum, pink)) {\n & ion-toast::part(button) {\n color: color-mix(in srgb, var(--color) 70%, var(--button-color));\n }\n }\n\n & ion-toast::part(button cancel) {\n color: var(--color);\n }\n}\n","@import \"./high-contrast\";\n\n:root {\n @include high-contrast-light-base-palette();\n}\n\n:root.md {\n @include high-contrast-light-md-palette();\n}\n"]}
1
+ {"version":3,"sourceRoot":"","sources":["../../src/css/palettes/high-contrast.scss"],"names":[],"mappings":"AA4FE,MACE,gCACA,0CACA,0BACA,8BACA,+BAIA,iCACA,kCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCAGE,6BACA,oCACA,mCACA,gDACA,mCACA,kCALA,+BACA,sCACA,qCACA,kDACA,qCACA,oCALA,8BACA,qCACA,oCACA,iDACA,oCACA,mCALA,6BACA,mCACA,mCACA,gDACA,mCACA,kCALA,6BACA,mCACA,mCACA,gDACA,mCACA,kCALA,4BACA,mCACA,kCACA,+CACA,kCACA,iCALA,2BACA,qCACA,iCACA,wCACA,iCACA,gCALA,4BACA,mCACA,kCACA,+CACA,kCACA,iCALA,0BACA,iCACA,gCACA,6CACA,gCACA,+BASJ,mBACE,qCAGF,iCAEE,mBAIF,gDACE,iCACE,iEAIJ,wCACE","file":"high-contrast.always.css","sourcesContent":["@use \"sass:map\";\n@import \"../../themes/ionic.functions.color\";\n\n$primary: #003fae !default;\n$secondary: #01487b !default;\n$tertiary: #3400e6 !default;\n$success: #004314 !default;\n$warning: #5f4100 !default;\n$danger: #9c000c !default;\n$light: #f4f5f8 !default;\n$medium: #444446 !default;\n$dark: #222428 !default;\n\n$colors: (\n primary: (\n base: $primary,\n contrast: #fff,\n shade: get-color-shade($primary),\n tint: get-color-tint($primary)\n ),\n secondary: (\n base: $secondary,\n contrast: #fff,\n shade: get-color-shade($secondary),\n tint: get-color-tint($secondary)\n ),\n tertiary: (\n base: $tertiary,\n contrast: #fff,\n shade: get-color-shade($tertiary),\n tint: get-color-tint($tertiary)\n ),\n success: (\n base: $success,\n contrast: #fff,\n shade: get-color-shade($success),\n tint: get-color-tint($success)\n ),\n warning: (\n base: $warning,\n contrast: #fff,\n shade: get-color-shade($warning),\n tint: get-color-tint($warning)\n ),\n danger: (\n base: $danger,\n contrast: #fff,\n shade: get-color-shade($danger),\n tint: get-color-tint($danger)\n ),\n light: (\n base: $light,\n contrast: #000,\n shade: get-color-shade($light),\n tint: get-color-tint($light)\n ),\n medium: (\n base: $medium,\n contrast: #fff,\n shade: get-color-shade($medium),\n tint: get-color-tint($medium)\n ),\n dark: (\n base: $dark,\n contrast: #fff,\n shade: get-color-shade($dark),\n tint: get-color-tint($dark)\n )\n) !default;\n\n/// Text step colors are generated based on\n/// how dark or light text can be. The darkest\n/// text color is usually the default text color (white or black).\n/// The darker the $lightest-text-color is, the darker each\n/// stepped color is. If you want to increase text contrast,\n/// make $lightest-text-color darker.\n$background-color: #ffffff;\n$text-color: #000000;\n\n$darkest-text-color: $text-color;\n$lightest-text-color: #888888;\n\n/// Loop through each color object above\n/// and generate CSS Variables for each\n/// color. Do not use the ion-color function\n/// here because that will set the variable\n/// to evaluate to itself with a fallback.\n/// For example:\n/// --ion-color-primary: #{ion-color(primary, base)};\n/// Maps to:\n/// --ion-color-primary: var(--ion-color-primary, #...);\n@mixin high-contrast-light-base-palette() {\n & {\n --ion-background-color: #{$background-color};\n --ion-background-color-rgb: #{color-to-rgb-list($background-color)};\n --ion-text-color: #{$text-color};\n --ion-text-color-rgb: #{color-to-rgb-list($text-color)};\n --ion-placeholder-opacity: 0.8;\n\n /// Only the item borders should increase in contrast\n /// Borders for elements like toolbars should remain the same\n --ion-item-border-color: #7a7a7a;\n --ion-text-color-step-50: #{mix($lightest-text-color, $darkest-text-color, 5%)};\n --ion-text-color-step-100: #{mix($lightest-text-color, $darkest-text-color, 10%)};\n --ion-text-color-step-150: #{mix($lightest-text-color, $darkest-text-color, 15%)};\n --ion-text-color-step-200: #{mix($lightest-text-color, $darkest-text-color, 20%)};\n --ion-text-color-step-250: #{mix($lightest-text-color, $darkest-text-color, 25%)};\n --ion-text-color-step-300: #{mix($lightest-text-color, $darkest-text-color, 30%)};\n --ion-text-color-step-350: #{mix($lightest-text-color, $darkest-text-color, 35%)};\n --ion-text-color-step-400: #{mix($lightest-text-color, $darkest-text-color, 40%)};\n --ion-text-color-step-450: #{mix($lightest-text-color, $darkest-text-color, 45%)};\n --ion-text-color-step-500: #{mix($lightest-text-color, $darkest-text-color, 50%)};\n --ion-text-color-step-550: #{mix($lightest-text-color, $darkest-text-color, 55%)};\n --ion-text-color-step-600: #{mix($lightest-text-color, $darkest-text-color, 60%)};\n --ion-text-color-step-650: #{mix($lightest-text-color, $darkest-text-color, 65%)};\n --ion-text-color-step-700: #{mix($lightest-text-color, $darkest-text-color, 70%)};\n --ion-text-color-step-750: #{mix($lightest-text-color, $darkest-text-color, 75%)};\n --ion-text-color-step-800: #{mix($lightest-text-color, $darkest-text-color, 80%)};\n --ion-text-color-step-850: #{mix($lightest-text-color, $darkest-text-color, 85%)};\n --ion-text-color-step-900: #{mix($lightest-text-color, $darkest-text-color, 90%)};\n --ion-text-color-step-950: #{mix($lightest-text-color, $darkest-text-color, 95%)};\n\n @each $color-name, $value in $colors {\n --ion-color-#{$color-name}: #{map.get($value, base)};\n --ion-color-#{$color-name}-rgb: #{color-to-rgb-list(map.get($value, base))};\n --ion-color-#{$color-name}-contrast: #{map.get($value, contrast)};\n --ion-color-#{$color-name}-contrast-rgb: #{color-to-rgb-list(map.get($value, contrast))};\n --ion-color-#{$color-name}-shade: #{map.get($value, shade)};\n --ion-color-#{$color-name}-tint: #{map.get($value, tint)};\n }\n }\n}\n\n@mixin high-contrast-light-md-palette() {\n // Toast\n // --------------------------------------------------\n\n & ion-toast {\n --color: var(--ion-background-color);\n }\n\n & ion-toast::part(button) {\n // Fallback for browsers that don't support color-mix\n color: var(--color);\n }\n\n /* stylelint-disable-next-line order/order */\n @supports (color: color-mix(in lch, plum, pink)) {\n & ion-toast::part(button) {\n color: color-mix(in srgb, var(--color) 70%, var(--button-color));\n }\n }\n\n & ion-toast::part(button cancel) {\n color: var(--color);\n }\n}\n"]}
@@ -1,101 +1 @@
1
- .ion-palette-high-contrast {
2
- --ion-background-color: #ffffff;
3
- --ion-background-color-rgb: 255, 255, 255;
4
- --ion-text-color: #000000;
5
- --ion-text-color-rgb: 0, 0, 0;
6
- --ion-placeholder-opacity: 0.8;
7
- --ion-item-border-color: #7a7a7a;
8
- --ion-text-color-step-50: #070707;
9
- --ion-text-color-step-100: #0e0e0e;
10
- --ion-text-color-step-150: #141414;
11
- --ion-text-color-step-200: #1b1b1b;
12
- --ion-text-color-step-250: #222222;
13
- --ion-text-color-step-300: #292929;
14
- --ion-text-color-step-350: #303030;
15
- --ion-text-color-step-400: #363636;
16
- --ion-text-color-step-450: #3d3d3d;
17
- --ion-text-color-step-500: #444444;
18
- --ion-text-color-step-550: #4b4b4b;
19
- --ion-text-color-step-600: #525252;
20
- --ion-text-color-step-650: #585858;
21
- --ion-text-color-step-700: #5f5f5f;
22
- --ion-text-color-step-750: #666666;
23
- --ion-text-color-step-800: #6d6d6d;
24
- --ion-text-color-step-850: #747474;
25
- --ion-text-color-step-900: #7a7a7a;
26
- --ion-text-color-step-950: #818181;
27
- --ion-color-primary: #003fae;
28
- --ion-color-primary-rgb: 0, 63, 174;
29
- --ion-color-primary-contrast: #fff;
30
- --ion-color-primary-contrast-rgb: 255, 255, 255;
31
- --ion-color-primary-shade: #003799;
32
- --ion-color-primary-tint: #1a52b6;
33
- --ion-color-secondary: #01487b;
34
- --ion-color-secondary-rgb: 1, 72, 123;
35
- --ion-color-secondary-contrast: #fff;
36
- --ion-color-secondary-contrast-rgb: 255, 255, 255;
37
- --ion-color-secondary-shade: #013f6c;
38
- --ion-color-secondary-tint: #1a5a88;
39
- --ion-color-tertiary: #3400e6;
40
- --ion-color-tertiary-rgb: 52, 0, 230;
41
- --ion-color-tertiary-contrast: #fff;
42
- --ion-color-tertiary-contrast-rgb: 255, 255, 255;
43
- --ion-color-tertiary-shade: #2e00ca;
44
- --ion-color-tertiary-tint: #481ae9;
45
- --ion-color-success: #004314;
46
- --ion-color-success-rgb: 0, 67, 20;
47
- --ion-color-success-contrast: #fff;
48
- --ion-color-success-contrast-rgb: 255, 255, 255;
49
- --ion-color-success-shade: #003b12;
50
- --ion-color-success-tint: #1a562c;
51
- --ion-color-warning: #5f4100;
52
- --ion-color-warning-rgb: 95, 65, 0;
53
- --ion-color-warning-contrast: #fff;
54
- --ion-color-warning-contrast-rgb: 255, 255, 255;
55
- --ion-color-warning-shade: #543900;
56
- --ion-color-warning-tint: #6f541a;
57
- --ion-color-danger: #9c000c;
58
- --ion-color-danger-rgb: 156, 0, 12;
59
- --ion-color-danger-contrast: #fff;
60
- --ion-color-danger-contrast-rgb: 255, 255, 255;
61
- --ion-color-danger-shade: #89000b;
62
- --ion-color-danger-tint: #a61a24;
63
- --ion-color-light: #f4f5f8;
64
- --ion-color-light-rgb: 244, 245, 248;
65
- --ion-color-light-contrast: #000;
66
- --ion-color-light-contrast-rgb: 0, 0, 0;
67
- --ion-color-light-shade: #d7d8da;
68
- --ion-color-light-tint: #f5f6f9;
69
- --ion-color-medium: #444446;
70
- --ion-color-medium-rgb: 68, 68, 70;
71
- --ion-color-medium-contrast: #fff;
72
- --ion-color-medium-contrast-rgb: 255, 255, 255;
73
- --ion-color-medium-shade: #3c3c3e;
74
- --ion-color-medium-tint: #575759;
75
- --ion-color-dark: #222428;
76
- --ion-color-dark-rgb: 34, 36, 40;
77
- --ion-color-dark-contrast: #fff;
78
- --ion-color-dark-contrast-rgb: 255, 255, 255;
79
- --ion-color-dark-shade: #1e2023;
80
- --ion-color-dark-tint: #383a3e;
81
- }
82
-
83
- .ion-palette-high-contrast.md {
84
- /* stylelint-disable-next-line order/order */
85
- }
86
- .ion-palette-high-contrast.md ion-toast {
87
- --color: var(--ion-background-color);
88
- }
89
- .ion-palette-high-contrast.md ion-toast::part(button) {
90
- color: var(--color);
91
- }
92
- @supports (color: color-mix(in lch, plum, pink)) {
93
- .ion-palette-high-contrast.md ion-toast::part(button) {
94
- color: color-mix(in srgb, var(--color) 70%, var(--button-color));
95
- }
96
- }
97
- .ion-palette-high-contrast.md ion-toast::part(button cancel) {
98
- color: var(--color);
99
- }
100
-
101
- /*# sourceMappingURL=high-contrast.class.css.map */
1
+ .ion-palette-high-contrast{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-placeholder-opacity: 0.8;--ion-item-border-color: #7a7a7a;--ion-text-color-step-50: #070707;--ion-text-color-step-100: #0e0e0e;--ion-text-color-step-150: #141414;--ion-text-color-step-200: #1b1b1b;--ion-text-color-step-250: #222222;--ion-text-color-step-300: #292929;--ion-text-color-step-350: #303030;--ion-text-color-step-400: #363636;--ion-text-color-step-450: #3d3d3d;--ion-text-color-step-500: #444444;--ion-text-color-step-550: #4b4b4b;--ion-text-color-step-600: #525252;--ion-text-color-step-650: #585858;--ion-text-color-step-700: #5f5f5f;--ion-text-color-step-750: #666666;--ion-text-color-step-800: #6d6d6d;--ion-text-color-step-850: #747474;--ion-text-color-step-900: #7a7a7a;--ion-text-color-step-950: #818181;--ion-color-primary: #003fae;--ion-color-primary-rgb: 0, 63, 174;--ion-color-primary-contrast: #fff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #003799;--ion-color-primary-tint: #1a52b6;--ion-color-secondary: #01487b;--ion-color-secondary-rgb: 1, 72, 123;--ion-color-secondary-contrast: #fff;--ion-color-secondary-contrast-rgb: 255, 255, 255;--ion-color-secondary-shade: #013f6c;--ion-color-secondary-tint: #1a5a88;--ion-color-tertiary: #3400e6;--ion-color-tertiary-rgb: 52, 0, 230;--ion-color-tertiary-contrast: #fff;--ion-color-tertiary-contrast-rgb: 255, 255, 255;--ion-color-tertiary-shade: #2e00ca;--ion-color-tertiary-tint: #481ae9;--ion-color-success: #004314;--ion-color-success-rgb: 0, 67, 20;--ion-color-success-contrast: #fff;--ion-color-success-contrast-rgb: 255, 255, 255;--ion-color-success-shade: #003b12;--ion-color-success-tint: #1a562c;--ion-color-warning: #5f4100;--ion-color-warning-rgb: 95, 65, 0;--ion-color-warning-contrast: #fff;--ion-color-warning-contrast-rgb: 255, 255, 255;--ion-color-warning-shade: #543900;--ion-color-warning-tint: #6f541a;--ion-color-danger: #9c000c;--ion-color-danger-rgb: 156, 0, 12;--ion-color-danger-contrast: #fff;--ion-color-danger-contrast-rgb: 255, 255, 255;--ion-color-danger-shade: #89000b;--ion-color-danger-tint: #a61a24;--ion-color-light: #f4f5f8;--ion-color-light-rgb: 244, 245, 248;--ion-color-light-contrast: #000;--ion-color-light-contrast-rgb: 0, 0, 0;--ion-color-light-shade: #d7d8da;--ion-color-light-tint: #f5f6f9;--ion-color-medium: #444446;--ion-color-medium-rgb: 68, 68, 70;--ion-color-medium-contrast: #fff;--ion-color-medium-contrast-rgb: 255, 255, 255;--ion-color-medium-shade: #3c3c3e;--ion-color-medium-tint: #575759;--ion-color-dark: #222428;--ion-color-dark-rgb: 34, 36, 40;--ion-color-dark-contrast: #fff;--ion-color-dark-contrast-rgb: 255, 255, 255;--ion-color-dark-shade: #1e2023;--ion-color-dark-tint: #383a3e}.ion-palette-high-contrast.md ion-toast{--color: var(--ion-background-color)}.ion-palette-high-contrast.md ion-toast::part(button){color:var(--color)}@supports(color: color-mix(in lch, plum, pink)){.ion-palette-high-contrast.md ion-toast::part(button){color:color-mix(in srgb, var(--color) 70%, var(--button-color))}}.ion-palette-high-contrast.md ion-toast::part(button cancel){color:var(--color)}/*# sourceMappingURL=high-contrast.class.css.map */
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../src/css/palettes/high-contrast.scss","../../src/css/palettes/high-contrast.class.scss"],"names":[],"mappings":"AA4FE;EACE;EACA;EACA;EACA;EACA;EAIA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAGE;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;;;AC1HN;AD4IE;;AATA;EACE;;AAGF;EAEE;;AAIF;EACE;IACE;;;AAIJ;EACE","file":"high-contrast.class.css","sourcesContent":["@use \"sass:map\";\n@import \"../../themes/ionic.functions.color\";\n\n$primary: #003fae !default;\n$secondary: #01487b !default;\n$tertiary: #3400e6 !default;\n$success: #004314 !default;\n$warning: #5f4100 !default;\n$danger: #9c000c !default;\n$light: #f4f5f8 !default;\n$medium: #444446 !default;\n$dark: #222428 !default;\n\n$colors: (\n primary: (\n base: $primary,\n contrast: #fff,\n shade: get-color-shade($primary),\n tint: get-color-tint($primary)\n ),\n secondary: (\n base: $secondary,\n contrast: #fff,\n shade: get-color-shade($secondary),\n tint: get-color-tint($secondary)\n ),\n tertiary: (\n base: $tertiary,\n contrast: #fff,\n shade: get-color-shade($tertiary),\n tint: get-color-tint($tertiary)\n ),\n success: (\n base: $success,\n contrast: #fff,\n shade: get-color-shade($success),\n tint: get-color-tint($success)\n ),\n warning: (\n base: $warning,\n contrast: #fff,\n shade: get-color-shade($warning),\n tint: get-color-tint($warning)\n ),\n danger: (\n base: $danger,\n contrast: #fff,\n shade: get-color-shade($danger),\n tint: get-color-tint($danger)\n ),\n light: (\n base: $light,\n contrast: #000,\n shade: get-color-shade($light),\n tint: get-color-tint($light)\n ),\n medium: (\n base: $medium,\n contrast: #fff,\n shade: get-color-shade($medium),\n tint: get-color-tint($medium)\n ),\n dark: (\n base: $dark,\n contrast: #fff,\n shade: get-color-shade($dark),\n tint: get-color-tint($dark)\n )\n) !default;\n\n/// Text step colors are generated based on\n/// how dark or light text can be. The darkest\n/// text color is usually the default text color (white or black).\n/// The darker the $lightest-text-color is, the darker each\n/// stepped color is. If you want to increase text contrast,\n/// make $lightest-text-color darker.\n$background-color: #ffffff;\n$text-color: #000000;\n\n$darkest-text-color: $text-color;\n$lightest-text-color: #888888;\n\n/// Loop through each color object above\n/// and generate CSS Variables for each\n/// color. Do not use the ion-color function\n/// here because that will set the variable\n/// to evaluate to itself with a fallback.\n/// For example:\n/// --ion-color-primary: #{ion-color(primary, base)};\n/// Maps to:\n/// --ion-color-primary: var(--ion-color-primary, #...);\n@mixin high-contrast-light-base-palette() {\n & {\n --ion-background-color: #{$background-color};\n --ion-background-color-rgb: #{color-to-rgb-list($background-color)};\n --ion-text-color: #{$text-color};\n --ion-text-color-rgb: #{color-to-rgb-list($text-color)};\n --ion-placeholder-opacity: 0.8;\n\n /// Only the item borders should increase in contrast\n /// Borders for elements like toolbars should remain the same\n --ion-item-border-color: #7a7a7a;\n --ion-text-color-step-50: #{mix($lightest-text-color, $darkest-text-color, 5%)};\n --ion-text-color-step-100: #{mix($lightest-text-color, $darkest-text-color, 10%)};\n --ion-text-color-step-150: #{mix($lightest-text-color, $darkest-text-color, 15%)};\n --ion-text-color-step-200: #{mix($lightest-text-color, $darkest-text-color, 20%)};\n --ion-text-color-step-250: #{mix($lightest-text-color, $darkest-text-color, 25%)};\n --ion-text-color-step-300: #{mix($lightest-text-color, $darkest-text-color, 30%)};\n --ion-text-color-step-350: #{mix($lightest-text-color, $darkest-text-color, 35%)};\n --ion-text-color-step-400: #{mix($lightest-text-color, $darkest-text-color, 40%)};\n --ion-text-color-step-450: #{mix($lightest-text-color, $darkest-text-color, 45%)};\n --ion-text-color-step-500: #{mix($lightest-text-color, $darkest-text-color, 50%)};\n --ion-text-color-step-550: #{mix($lightest-text-color, $darkest-text-color, 55%)};\n --ion-text-color-step-600: #{mix($lightest-text-color, $darkest-text-color, 60%)};\n --ion-text-color-step-650: #{mix($lightest-text-color, $darkest-text-color, 65%)};\n --ion-text-color-step-700: #{mix($lightest-text-color, $darkest-text-color, 70%)};\n --ion-text-color-step-750: #{mix($lightest-text-color, $darkest-text-color, 75%)};\n --ion-text-color-step-800: #{mix($lightest-text-color, $darkest-text-color, 80%)};\n --ion-text-color-step-850: #{mix($lightest-text-color, $darkest-text-color, 85%)};\n --ion-text-color-step-900: #{mix($lightest-text-color, $darkest-text-color, 90%)};\n --ion-text-color-step-950: #{mix($lightest-text-color, $darkest-text-color, 95%)};\n\n @each $color-name, $value in $colors {\n --ion-color-#{$color-name}: #{map.get($value, base)};\n --ion-color-#{$color-name}-rgb: #{color-to-rgb-list(map.get($value, base))};\n --ion-color-#{$color-name}-contrast: #{map.get($value, contrast)};\n --ion-color-#{$color-name}-contrast-rgb: #{color-to-rgb-list(map.get($value, contrast))};\n --ion-color-#{$color-name}-shade: #{map.get($value, shade)};\n --ion-color-#{$color-name}-tint: #{map.get($value, tint)};\n }\n }\n}\n\n@mixin high-contrast-light-md-palette() {\n // Toast\n // --------------------------------------------------\n\n & ion-toast {\n --color: var(--ion-background-color);\n }\n\n & ion-toast::part(button) {\n // Fallback for browsers that don't support color-mix\n color: var(--color);\n }\n\n /* stylelint-disable-next-line order/order */\n @supports (color: color-mix(in lch, plum, pink)) {\n & ion-toast::part(button) {\n color: color-mix(in srgb, var(--color) 70%, var(--button-color));\n }\n }\n\n & ion-toast::part(button cancel) {\n color: var(--color);\n }\n}\n","@import \"./high-contrast\";\n\n.ion-palette-high-contrast {\n @include high-contrast-light-base-palette();\n}\n\n.ion-palette-high-contrast.md {\n @include high-contrast-light-md-palette();\n}\n"]}
1
+ {"version":3,"sourceRoot":"","sources":["../../src/css/palettes/high-contrast.scss"],"names":[],"mappings":"AA4FE,2BACE,gCACA,0CACA,0BACA,8BACA,+BAIA,iCACA,kCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCACA,mCAGE,6BACA,oCACA,mCACA,gDACA,mCACA,kCALA,+BACA,sCACA,qCACA,kDACA,qCACA,oCALA,8BACA,qCACA,oCACA,iDACA,oCACA,mCALA,6BACA,mCACA,mCACA,gDACA,mCACA,kCALA,6BACA,mCACA,mCACA,gDACA,mCACA,kCALA,4BACA,mCACA,kCACA,+CACA,kCACA,iCALA,2BACA,qCACA,iCACA,wCACA,iCACA,gCALA,4BACA,mCACA,kCACA,+CACA,kCACA,iCALA,0BACA,iCACA,gCACA,6CACA,gCACA,+BASJ,wCACE,qCAGF,sDAEE,mBAIF,gDACE,sDACE,iEAIJ,6DACE","file":"high-contrast.class.css","sourcesContent":["@use \"sass:map\";\n@import \"../../themes/ionic.functions.color\";\n\n$primary: #003fae !default;\n$secondary: #01487b !default;\n$tertiary: #3400e6 !default;\n$success: #004314 !default;\n$warning: #5f4100 !default;\n$danger: #9c000c !default;\n$light: #f4f5f8 !default;\n$medium: #444446 !default;\n$dark: #222428 !default;\n\n$colors: (\n primary: (\n base: $primary,\n contrast: #fff,\n shade: get-color-shade($primary),\n tint: get-color-tint($primary)\n ),\n secondary: (\n base: $secondary,\n contrast: #fff,\n shade: get-color-shade($secondary),\n tint: get-color-tint($secondary)\n ),\n tertiary: (\n base: $tertiary,\n contrast: #fff,\n shade: get-color-shade($tertiary),\n tint: get-color-tint($tertiary)\n ),\n success: (\n base: $success,\n contrast: #fff,\n shade: get-color-shade($success),\n tint: get-color-tint($success)\n ),\n warning: (\n base: $warning,\n contrast: #fff,\n shade: get-color-shade($warning),\n tint: get-color-tint($warning)\n ),\n danger: (\n base: $danger,\n contrast: #fff,\n shade: get-color-shade($danger),\n tint: get-color-tint($danger)\n ),\n light: (\n base: $light,\n contrast: #000,\n shade: get-color-shade($light),\n tint: get-color-tint($light)\n ),\n medium: (\n base: $medium,\n contrast: #fff,\n shade: get-color-shade($medium),\n tint: get-color-tint($medium)\n ),\n dark: (\n base: $dark,\n contrast: #fff,\n shade: get-color-shade($dark),\n tint: get-color-tint($dark)\n )\n) !default;\n\n/// Text step colors are generated based on\n/// how dark or light text can be. The darkest\n/// text color is usually the default text color (white or black).\n/// The darker the $lightest-text-color is, the darker each\n/// stepped color is. If you want to increase text contrast,\n/// make $lightest-text-color darker.\n$background-color: #ffffff;\n$text-color: #000000;\n\n$darkest-text-color: $text-color;\n$lightest-text-color: #888888;\n\n/// Loop through each color object above\n/// and generate CSS Variables for each\n/// color. Do not use the ion-color function\n/// here because that will set the variable\n/// to evaluate to itself with a fallback.\n/// For example:\n/// --ion-color-primary: #{ion-color(primary, base)};\n/// Maps to:\n/// --ion-color-primary: var(--ion-color-primary, #...);\n@mixin high-contrast-light-base-palette() {\n & {\n --ion-background-color: #{$background-color};\n --ion-background-color-rgb: #{color-to-rgb-list($background-color)};\n --ion-text-color: #{$text-color};\n --ion-text-color-rgb: #{color-to-rgb-list($text-color)};\n --ion-placeholder-opacity: 0.8;\n\n /// Only the item borders should increase in contrast\n /// Borders for elements like toolbars should remain the same\n --ion-item-border-color: #7a7a7a;\n --ion-text-color-step-50: #{mix($lightest-text-color, $darkest-text-color, 5%)};\n --ion-text-color-step-100: #{mix($lightest-text-color, $darkest-text-color, 10%)};\n --ion-text-color-step-150: #{mix($lightest-text-color, $darkest-text-color, 15%)};\n --ion-text-color-step-200: #{mix($lightest-text-color, $darkest-text-color, 20%)};\n --ion-text-color-step-250: #{mix($lightest-text-color, $darkest-text-color, 25%)};\n --ion-text-color-step-300: #{mix($lightest-text-color, $darkest-text-color, 30%)};\n --ion-text-color-step-350: #{mix($lightest-text-color, $darkest-text-color, 35%)};\n --ion-text-color-step-400: #{mix($lightest-text-color, $darkest-text-color, 40%)};\n --ion-text-color-step-450: #{mix($lightest-text-color, $darkest-text-color, 45%)};\n --ion-text-color-step-500: #{mix($lightest-text-color, $darkest-text-color, 50%)};\n --ion-text-color-step-550: #{mix($lightest-text-color, $darkest-text-color, 55%)};\n --ion-text-color-step-600: #{mix($lightest-text-color, $darkest-text-color, 60%)};\n --ion-text-color-step-650: #{mix($lightest-text-color, $darkest-text-color, 65%)};\n --ion-text-color-step-700: #{mix($lightest-text-color, $darkest-text-color, 70%)};\n --ion-text-color-step-750: #{mix($lightest-text-color, $darkest-text-color, 75%)};\n --ion-text-color-step-800: #{mix($lightest-text-color, $darkest-text-color, 80%)};\n --ion-text-color-step-850: #{mix($lightest-text-color, $darkest-text-color, 85%)};\n --ion-text-color-step-900: #{mix($lightest-text-color, $darkest-text-color, 90%)};\n --ion-text-color-step-950: #{mix($lightest-text-color, $darkest-text-color, 95%)};\n\n @each $color-name, $value in $colors {\n --ion-color-#{$color-name}: #{map.get($value, base)};\n --ion-color-#{$color-name}-rgb: #{color-to-rgb-list(map.get($value, base))};\n --ion-color-#{$color-name}-contrast: #{map.get($value, contrast)};\n --ion-color-#{$color-name}-contrast-rgb: #{color-to-rgb-list(map.get($value, contrast))};\n --ion-color-#{$color-name}-shade: #{map.get($value, shade)};\n --ion-color-#{$color-name}-tint: #{map.get($value, tint)};\n }\n }\n}\n\n@mixin high-contrast-light-md-palette() {\n // Toast\n // --------------------------------------------------\n\n & ion-toast {\n --color: var(--ion-background-color);\n }\n\n & ion-toast::part(button) {\n // Fallback for browsers that don't support color-mix\n color: var(--color);\n }\n\n /* stylelint-disable-next-line order/order */\n @supports (color: color-mix(in lch, plum, pink)) {\n & ion-toast::part(button) {\n color: color-mix(in srgb, var(--color) 70%, var(--button-color));\n }\n }\n\n & ion-toast::part(button cancel) {\n color: var(--color);\n }\n}\n"]}
@@ -1,3 +1 @@
1
-
2
-
3
1
  /*# sourceMappingURL=high-contrast.css.map */