@ionic/react 8.0.0-rc.0 → 8.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/css/core.css +1 -624
- package/css/core.css.map +1 -1
- package/css/display.css +1 -131
- package/css/display.css.map +1 -1
- package/css/flex-utils.css +1 -81
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css +1 -293
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css +1 -457
- package/css/global.bundle.css.map +1 -1
- package/css/ionic-swiper.css +1 -127
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css +1 -150
- package/css/normalize.css.map +1 -1
- package/css/padding.css +1 -202
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css +1 -160
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css +1 -160
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.css +0 -2
- package/css/palettes/dark.system.css +1 -162
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css +1 -180
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css +1 -180
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.css +0 -2
- package/css/palettes/high-contrast-dark.system.css +1 -182
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css +1 -101
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css +1 -101
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.css +0 -2
- package/css/palettes/high-contrast.system.css +1 -103
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css +1 -152
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css +1 -243
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css +1 -158
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css +1 -157
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +1 -1100
- package/css/utils.bundle.css.map +1 -1
- package/package.json +2 -2
|
@@ -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"
|
|
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"
|
|
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,103 +1 @@
|
|
|
1
|
-
@media
|
|
2
|
-
:root {
|
|
3
|
-
--ion-background-color: #ffffff;
|
|
4
|
-
--ion-background-color-rgb: 255, 255, 255;
|
|
5
|
-
--ion-text-color: #000000;
|
|
6
|
-
--ion-text-color-rgb: 0, 0, 0;
|
|
7
|
-
--ion-placeholder-opacity: 0.8;
|
|
8
|
-
--ion-item-border-color: #7a7a7a;
|
|
9
|
-
--ion-text-color-step-50: #070707;
|
|
10
|
-
--ion-text-color-step-100: #0e0e0e;
|
|
11
|
-
--ion-text-color-step-150: #141414;
|
|
12
|
-
--ion-text-color-step-200: #1b1b1b;
|
|
13
|
-
--ion-text-color-step-250: #222222;
|
|
14
|
-
--ion-text-color-step-300: #292929;
|
|
15
|
-
--ion-text-color-step-350: #303030;
|
|
16
|
-
--ion-text-color-step-400: #363636;
|
|
17
|
-
--ion-text-color-step-450: #3d3d3d;
|
|
18
|
-
--ion-text-color-step-500: #444444;
|
|
19
|
-
--ion-text-color-step-550: #4b4b4b;
|
|
20
|
-
--ion-text-color-step-600: #525252;
|
|
21
|
-
--ion-text-color-step-650: #585858;
|
|
22
|
-
--ion-text-color-step-700: #5f5f5f;
|
|
23
|
-
--ion-text-color-step-750: #666666;
|
|
24
|
-
--ion-text-color-step-800: #6d6d6d;
|
|
25
|
-
--ion-text-color-step-850: #747474;
|
|
26
|
-
--ion-text-color-step-900: #7a7a7a;
|
|
27
|
-
--ion-text-color-step-950: #818181;
|
|
28
|
-
--ion-color-primary: #003fae;
|
|
29
|
-
--ion-color-primary-rgb: 0, 63, 174;
|
|
30
|
-
--ion-color-primary-contrast: #fff;
|
|
31
|
-
--ion-color-primary-contrast-rgb: 255, 255, 255;
|
|
32
|
-
--ion-color-primary-shade: #003799;
|
|
33
|
-
--ion-color-primary-tint: #1a52b6;
|
|
34
|
-
--ion-color-secondary: #01487b;
|
|
35
|
-
--ion-color-secondary-rgb: 1, 72, 123;
|
|
36
|
-
--ion-color-secondary-contrast: #fff;
|
|
37
|
-
--ion-color-secondary-contrast-rgb: 255, 255, 255;
|
|
38
|
-
--ion-color-secondary-shade: #013f6c;
|
|
39
|
-
--ion-color-secondary-tint: #1a5a88;
|
|
40
|
-
--ion-color-tertiary: #3400e6;
|
|
41
|
-
--ion-color-tertiary-rgb: 52, 0, 230;
|
|
42
|
-
--ion-color-tertiary-contrast: #fff;
|
|
43
|
-
--ion-color-tertiary-contrast-rgb: 255, 255, 255;
|
|
44
|
-
--ion-color-tertiary-shade: #2e00ca;
|
|
45
|
-
--ion-color-tertiary-tint: #481ae9;
|
|
46
|
-
--ion-color-success: #004314;
|
|
47
|
-
--ion-color-success-rgb: 0, 67, 20;
|
|
48
|
-
--ion-color-success-contrast: #fff;
|
|
49
|
-
--ion-color-success-contrast-rgb: 255, 255, 255;
|
|
50
|
-
--ion-color-success-shade: #003b12;
|
|
51
|
-
--ion-color-success-tint: #1a562c;
|
|
52
|
-
--ion-color-warning: #5f4100;
|
|
53
|
-
--ion-color-warning-rgb: 95, 65, 0;
|
|
54
|
-
--ion-color-warning-contrast: #fff;
|
|
55
|
-
--ion-color-warning-contrast-rgb: 255, 255, 255;
|
|
56
|
-
--ion-color-warning-shade: #543900;
|
|
57
|
-
--ion-color-warning-tint: #6f541a;
|
|
58
|
-
--ion-color-danger: #9c000c;
|
|
59
|
-
--ion-color-danger-rgb: 156, 0, 12;
|
|
60
|
-
--ion-color-danger-contrast: #fff;
|
|
61
|
-
--ion-color-danger-contrast-rgb: 255, 255, 255;
|
|
62
|
-
--ion-color-danger-shade: #89000b;
|
|
63
|
-
--ion-color-danger-tint: #a61a24;
|
|
64
|
-
--ion-color-light: #f4f5f8;
|
|
65
|
-
--ion-color-light-rgb: 244, 245, 248;
|
|
66
|
-
--ion-color-light-contrast: #000;
|
|
67
|
-
--ion-color-light-contrast-rgb: 0, 0, 0;
|
|
68
|
-
--ion-color-light-shade: #d7d8da;
|
|
69
|
-
--ion-color-light-tint: #f5f6f9;
|
|
70
|
-
--ion-color-medium: #444446;
|
|
71
|
-
--ion-color-medium-rgb: 68, 68, 70;
|
|
72
|
-
--ion-color-medium-contrast: #fff;
|
|
73
|
-
--ion-color-medium-contrast-rgb: 255, 255, 255;
|
|
74
|
-
--ion-color-medium-shade: #3c3c3e;
|
|
75
|
-
--ion-color-medium-tint: #575759;
|
|
76
|
-
--ion-color-dark: #222428;
|
|
77
|
-
--ion-color-dark-rgb: 34, 36, 40;
|
|
78
|
-
--ion-color-dark-contrast: #fff;
|
|
79
|
-
--ion-color-dark-contrast-rgb: 255, 255, 255;
|
|
80
|
-
--ion-color-dark-shade: #1e2023;
|
|
81
|
-
--ion-color-dark-tint: #383a3e;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
:root.md {
|
|
85
|
-
/* stylelint-disable-next-line order/order */
|
|
86
|
-
}
|
|
87
|
-
:root.md ion-toast {
|
|
88
|
-
--color: var(--ion-background-color);
|
|
89
|
-
}
|
|
90
|
-
:root.md ion-toast::part(button) {
|
|
91
|
-
color: var(--color);
|
|
92
|
-
}
|
|
93
|
-
@supports (color: color-mix(in lch, plum, pink)) {
|
|
94
|
-
:root.md ion-toast::part(button) {
|
|
95
|
-
color: color-mix(in srgb, var(--color) 70%, var(--button-color));
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
:root.md ion-toast::part(button cancel) {
|
|
99
|
-
color: var(--color);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/*# sourceMappingURL=high-contrast.system.css.map */
|
|
1
|
+
@media(prefers-contrast: more){: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.system.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../src/css/palettes/high-contrast.system.scss","../../src/css/palettes/high-contrast.scss"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../src/css/palettes/high-contrast.system.scss","../../src/css/palettes/high-contrast.scss"],"names":[],"mappings":"AAEA,+BC0FE,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.system.css","sourcesContent":["@import \"./high-contrast\";\n\n@media (prefers-contrast: more) {\n :root {\n @include high-contrast-light-base-palette();\n }\n\n :root.md {\n @include high-contrast-light-md-palette();\n }\n}\n","@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"]}
|
package/css/structure.css
CHANGED
|
@@ -1,152 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Convert a font size to a dynamic font size.
|
|
3
|
-
* Fonts that participate in Dynamic Type should use
|
|
4
|
-
* dynamic font sizes.
|
|
5
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
6
|
-
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
7
|
-
* convert to a unit other than $baselineUnit.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Convert a font size to a dynamic font size but impose
|
|
11
|
-
* a maximum font size.
|
|
12
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
13
|
-
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
14
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
15
|
-
* convert to a unit other than $baselineUnit.
|
|
16
|
-
*/
|
|
17
|
-
/**
|
|
18
|
-
* Convert a font size to a dynamic font size but impose
|
|
19
|
-
* a minimum font size.
|
|
20
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
21
|
-
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
22
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
23
|
-
* convert to a unit other than $baselineUnit.
|
|
24
|
-
*/
|
|
25
|
-
/**
|
|
26
|
-
* Convert a font size to a dynamic font size but impose
|
|
27
|
-
* maximum and minimum font sizes.
|
|
28
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
29
|
-
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
30
|
-
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
31
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
32
|
-
* convert to a unit other than $baselineUnit.
|
|
33
|
-
*/
|
|
34
|
-
/**
|
|
35
|
-
* A heuristic that applies CSS to tablet
|
|
36
|
-
* viewports.
|
|
37
|
-
*
|
|
38
|
-
* Usage:
|
|
39
|
-
* @include tablet-viewport() {
|
|
40
|
-
* :host {
|
|
41
|
-
* background-color: green;
|
|
42
|
-
* }
|
|
43
|
-
* }
|
|
44
|
-
*/
|
|
45
|
-
/**
|
|
46
|
-
* A heuristic that applies CSS to mobile
|
|
47
|
-
* viewports (i.e. phones, not tablets).
|
|
48
|
-
*
|
|
49
|
-
* Usage:
|
|
50
|
-
* @include mobile-viewport() {
|
|
51
|
-
* :host {
|
|
52
|
-
* background-color: blue;
|
|
53
|
-
* }
|
|
54
|
-
* }
|
|
55
|
-
*/
|
|
56
|
-
/**
|
|
57
|
-
* A heuristic that applies CSS to tablet
|
|
58
|
-
* viewports.
|
|
59
|
-
*
|
|
60
|
-
* Usage:
|
|
61
|
-
* @include tablet-viewport() {
|
|
62
|
-
* :host {
|
|
63
|
-
* background-color: green;
|
|
64
|
-
* }
|
|
65
|
-
* }
|
|
66
|
-
*/
|
|
67
|
-
/**
|
|
68
|
-
* A heuristic that applies CSS to mobile
|
|
69
|
-
* viewports (i.e. phones, not tablets).
|
|
70
|
-
*
|
|
71
|
-
* Usage:
|
|
72
|
-
* @include mobile-viewport() {
|
|
73
|
-
* :host {
|
|
74
|
-
* background-color: blue;
|
|
75
|
-
* }
|
|
76
|
-
* }
|
|
77
|
-
*/
|
|
78
|
-
* {
|
|
79
|
-
box-sizing: border-box;
|
|
80
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
81
|
-
-webkit-tap-highlight-color: transparent;
|
|
82
|
-
-webkit-touch-callout: none;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
html {
|
|
86
|
-
width: 100%;
|
|
87
|
-
height: 100%;
|
|
88
|
-
-webkit-text-size-adjust: 100%;
|
|
89
|
-
text-size-adjust: 100%;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
html:not(.hydrated) body {
|
|
93
|
-
display: none;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
html.ion-ce body {
|
|
97
|
-
display: block;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
html.plt-pwa {
|
|
101
|
-
height: 100vh;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
body {
|
|
105
|
-
-moz-osx-font-smoothing: grayscale;
|
|
106
|
-
-webkit-font-smoothing: antialiased;
|
|
107
|
-
margin-left: 0;
|
|
108
|
-
margin-right: 0;
|
|
109
|
-
margin-top: 0;
|
|
110
|
-
margin-bottom: 0;
|
|
111
|
-
padding-left: 0;
|
|
112
|
-
padding-right: 0;
|
|
113
|
-
padding-top: 0;
|
|
114
|
-
padding-bottom: 0;
|
|
115
|
-
position: fixed;
|
|
116
|
-
width: 100%;
|
|
117
|
-
max-width: 100%;
|
|
118
|
-
height: 100%;
|
|
119
|
-
max-height: 100%;
|
|
120
|
-
/**
|
|
121
|
-
* Because body has position: fixed,
|
|
122
|
-
* it should be promoted to its own
|
|
123
|
-
* layer.
|
|
124
|
-
*
|
|
125
|
-
* WebKit does not always promote
|
|
126
|
-
* the body to its own layer on page
|
|
127
|
-
* load in Ionic apps. Once scrolling on
|
|
128
|
-
* ion-content starts, WebKit will promote
|
|
129
|
-
* body. Unfortunately, this causes a re-paint
|
|
130
|
-
* which results in scrolling being halted
|
|
131
|
-
* until the next user gesture.
|
|
132
|
-
*
|
|
133
|
-
* This impacts the Custom Elements build.
|
|
134
|
-
* The lazy loaded build causes the browser to
|
|
135
|
-
* re-paint during hydration which causes WebKit
|
|
136
|
-
* to promote body to its own layer.
|
|
137
|
-
* In the CE Build, this hydration does not
|
|
138
|
-
* happen, so the additional re-paint does not occur.
|
|
139
|
-
*/
|
|
140
|
-
transform: translateZ(0);
|
|
141
|
-
text-rendering: optimizeLegibility;
|
|
142
|
-
overflow: hidden;
|
|
143
|
-
touch-action: manipulation;
|
|
144
|
-
-webkit-user-drag: none;
|
|
145
|
-
-ms-content-zooming: none;
|
|
146
|
-
word-wrap: break-word;
|
|
147
|
-
overscroll-behavior-y: none;
|
|
148
|
-
-webkit-text-size-adjust: none;
|
|
149
|
-
text-size-adjust: none;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
/*# sourceMappingURL=structure.css.map */
|
|
1
|
+
*{box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}html{width:100%;height:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}html:not(.hydrated) body{display:none}html.ion-ce body{display:block}html.plt-pwa{height:100vh}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;position:fixed;width:100%;max-width:100%;height:100%;max-height:100%;transform:translateZ(0);text-rendering:optimizeLegibility;overflow:hidden;touch-action:manipulation;-webkit-user-drag:none;-ms-content-zooming:none;word-wrap:break-word;overscroll-behavior-y:none;-webkit-text-size-adjust:none;text-size-adjust:none}/*# sourceMappingURL=structure.css.map */
|