@ionic/core 8.0.0-dev.11712072527.1dd97c66 → 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.
Files changed (420) hide show
  1. package/components/button.js +2 -2
  2. package/components/ion-content.js +4 -6
  3. package/components/ion-datetime-button.js +1 -1
  4. package/components/ion-datetime.js +2 -2
  5. package/components/ion-fab-button.js +2 -2
  6. package/components/ion-fab-list.js +2 -2
  7. package/components/ion-fab.js +2 -2
  8. package/components/ion-footer.js +2 -2
  9. package/components/ion-grid.js +2 -2
  10. package/components/ion-header.js +2 -2
  11. package/components/ion-img.js +1 -1
  12. package/components/ion-infinite-scroll-content.js +2 -2
  13. package/components/ion-infinite-scroll.js +1 -1
  14. package/components/ion-input-password-toggle.js +3 -3
  15. package/components/ion-input.js +4 -8
  16. package/components/ion-item-divider.js +2 -2
  17. package/components/ion-item-group.js +1 -1
  18. package/components/ion-item-option.js +2 -2
  19. package/components/ion-item-options.js +1 -1
  20. package/components/ion-item-sliding.js +1 -1
  21. package/components/ion-loading.js +2 -2
  22. package/components/ion-menu-button.js +2 -2
  23. package/components/ion-menu-toggle.js +2 -2
  24. package/components/ion-menu.js +2 -2
  25. package/components/ion-modal.js +3 -3
  26. package/components/ion-nav-link.js +1 -1
  27. package/components/ion-nav.js +1 -1
  28. package/components/ion-note.js +2 -2
  29. package/components/ion-picker-legacy.js +2 -2
  30. package/components/ion-progress-bar.js +1 -1
  31. package/components/ion-range.js +3 -3
  32. package/components/ion-refresher-content.js +1 -1
  33. package/components/ion-refresher.js +1 -1
  34. package/components/ion-reorder-group.js +1 -1
  35. package/components/ion-reorder.js +1 -1
  36. package/components/ion-router-link.js +2 -2
  37. package/components/ion-router-outlet.js +1 -1
  38. package/components/ion-row.js +1 -1
  39. package/components/ion-searchbar.js +4 -4
  40. package/components/ion-segment-button.js +3 -3
  41. package/components/ion-segment.js +2 -2
  42. package/components/ion-select-option.js +1 -1
  43. package/components/ion-select.js +2 -2
  44. package/components/ion-skeleton-text.js +2 -2
  45. package/components/ion-split-pane.js +2 -2
  46. package/components/ion-tab-bar.js +2 -2
  47. package/components/ion-tab-button.js +2 -2
  48. package/components/ion-tab.js +2 -2
  49. package/components/ion-tabs.js +1 -1
  50. package/components/ion-text.js +2 -2
  51. package/components/ion-textarea.js +2 -2
  52. package/components/ion-thumbnail.js +1 -1
  53. package/components/ion-title.js +2 -2
  54. package/components/ion-toast.js +2 -2
  55. package/components/ion-toggle.js +3 -3
  56. package/components/ion-toolbar.js +2 -2
  57. package/components/label.js +2 -2
  58. package/components/list-header.js +2 -2
  59. package/components/list.js +1 -1
  60. package/components/picker-column-option.js +2 -2
  61. package/components/picker-column.js +3 -3
  62. package/components/picker-column2.js +2 -2
  63. package/components/picker.js +2 -2
  64. package/components/popover.js +4 -4
  65. package/components/radio-group.js +1 -1
  66. package/components/radio.js +3 -3
  67. package/components/ripple-effect.js +1 -1
  68. package/components/select-popover.js +1 -1
  69. package/components/spinner.js +1 -1
  70. package/css/core.css +1 -624
  71. package/css/core.css.map +1 -1
  72. package/css/display.css +1 -131
  73. package/css/display.css.map +1 -1
  74. package/css/flex-utils.css +1 -81
  75. package/css/flex-utils.css.map +1 -1
  76. package/css/float-elements.css +1 -293
  77. package/css/float-elements.css.map +1 -1
  78. package/css/global.bundle.css +1 -457
  79. package/css/global.bundle.css.map +1 -1
  80. package/css/ionic-swiper.css +1 -127
  81. package/css/ionic-swiper.css.map +1 -1
  82. package/css/ionic.bundle.css +1 -1
  83. package/css/ionic.bundle.css.map +1 -1
  84. package/css/normalize.css +1 -150
  85. package/css/normalize.css.map +1 -1
  86. package/css/padding.css +1 -202
  87. package/css/padding.css.map +1 -1
  88. package/css/palettes/dark.always.css +1 -160
  89. package/css/palettes/dark.always.css.map +1 -1
  90. package/css/palettes/dark.class.css +1 -160
  91. package/css/palettes/dark.class.css.map +1 -1
  92. package/css/palettes/dark.css +0 -2
  93. package/css/palettes/dark.system.css +1 -162
  94. package/css/palettes/dark.system.css.map +1 -1
  95. package/css/palettes/high-contrast-dark.always.css +1 -180
  96. package/css/palettes/high-contrast-dark.always.css.map +1 -1
  97. package/css/palettes/high-contrast-dark.class.css +1 -180
  98. package/css/palettes/high-contrast-dark.class.css.map +1 -1
  99. package/css/palettes/high-contrast-dark.css +0 -2
  100. package/css/palettes/high-contrast-dark.system.css +1 -182
  101. package/css/palettes/high-contrast-dark.system.css.map +1 -1
  102. package/css/palettes/high-contrast.always.css +1 -101
  103. package/css/palettes/high-contrast.always.css.map +1 -1
  104. package/css/palettes/high-contrast.class.css +1 -101
  105. package/css/palettes/high-contrast.class.css.map +1 -1
  106. package/css/palettes/high-contrast.css +0 -2
  107. package/css/palettes/high-contrast.system.css +1 -103
  108. package/css/palettes/high-contrast.system.css.map +1 -1
  109. package/css/structure.css +1 -152
  110. package/css/structure.css.map +1 -1
  111. package/css/text-alignment.css +1 -243
  112. package/css/text-alignment.css.map +1 -1
  113. package/css/text-transformation.css +1 -158
  114. package/css/text-transformation.css.map +1 -1
  115. package/css/typography.css +1 -157
  116. package/css/typography.css.map +1 -1
  117. package/css/utils.bundle.css +1 -1100
  118. package/css/utils.bundle.css.map +1 -1
  119. package/dist/cjs/ion-app_8.cjs.entry.js +13 -14
  120. package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
  121. package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
  122. package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
  123. package/dist/cjs/ion-datetime-button.cjs.entry.js +1 -1
  124. package/dist/cjs/ion-datetime_3.cjs.entry.js +6 -6
  125. package/dist/cjs/ion-fab_3.cjs.entry.js +6 -6
  126. package/dist/cjs/ion-img.cjs.entry.js +1 -1
  127. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
  128. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
  129. package/dist/cjs/ion-input.cjs.entry.js +4 -7
  130. package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
  131. package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
  132. package/dist/cjs/ion-loading.cjs.entry.js +2 -2
  133. package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
  134. package/dist/cjs/ion-modal.cjs.entry.js +3 -3
  135. package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
  136. package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
  137. package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
  138. package/dist/cjs/ion-picker.cjs.entry.js +2 -2
  139. package/dist/cjs/ion-popover.cjs.entry.js +4 -4
  140. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  141. package/dist/cjs/ion-radio_2.cjs.entry.js +4 -4
  142. package/dist/cjs/ion-range.cjs.entry.js +3 -3
  143. package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
  144. package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
  145. package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
  146. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  147. package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
  148. package/dist/cjs/ion-segment_2.cjs.entry.js +5 -5
  149. package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
  150. package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
  151. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  152. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
  153. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  154. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  155. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  156. package/dist/cjs/ion-toast.cjs.entry.js +2 -2
  157. package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
  158. package/dist/cjs/ionic.cjs.js +2 -2
  159. package/dist/cjs/loader.cjs.js +1 -1
  160. package/dist/collection/collection-manifest.json +2 -2
  161. package/dist/collection/components/button/button.ios.css +47 -8
  162. package/dist/collection/components/button/button.md.css +49 -8
  163. package/dist/collection/components/content/content.js +4 -23
  164. package/dist/collection/components/datetime/datetime.js +2 -2
  165. package/dist/collection/components/datetime-button/datetime-button.js +1 -1
  166. package/dist/collection/components/fab/fab.js +2 -2
  167. package/dist/collection/components/fab-button/fab-button.js +2 -2
  168. package/dist/collection/components/fab-list/fab-list.js +2 -2
  169. package/dist/collection/components/footer/footer.js +2 -2
  170. package/dist/collection/components/grid/grid.js +2 -2
  171. package/dist/collection/components/header/header.js +2 -2
  172. package/dist/collection/components/img/img.js +1 -1
  173. package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
  174. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
  175. package/dist/collection/components/input/input.js +5 -25
  176. package/dist/collection/components/input/test/input.spec.js +0 -13
  177. package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
  178. package/dist/collection/components/item-divider/item-divider.js +2 -2
  179. package/dist/collection/components/item-group/item-group.js +1 -1
  180. package/dist/collection/components/item-option/item-option.js +2 -2
  181. package/dist/collection/components/item-options/item-options.js +1 -1
  182. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  183. package/dist/collection/components/label/label.js +2 -2
  184. package/dist/collection/components/list/list.js +1 -1
  185. package/dist/collection/components/list-header/list-header.js +2 -2
  186. package/dist/collection/components/loading/loading.js +2 -2
  187. package/dist/collection/components/menu/menu.js +2 -2
  188. package/dist/collection/components/menu-button/menu-button.js +2 -2
  189. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  190. package/dist/collection/components/modal/modal.js +3 -3
  191. package/dist/collection/components/nav/nav.js +1 -1
  192. package/dist/collection/components/nav-link/nav-link.js +1 -1
  193. package/dist/collection/components/note/note.js +2 -2
  194. package/dist/collection/components/picker/picker.js +2 -2
  195. package/dist/collection/components/picker-column/picker-column.js +3 -3
  196. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  197. package/dist/collection/components/picker-legacy/picker.js +2 -2
  198. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  199. package/dist/collection/components/popover/popover.ios.css +0 -1
  200. package/dist/collection/components/popover/popover.js +2 -2
  201. package/dist/collection/components/popover/popover.md.css +0 -1
  202. package/dist/collection/components/popover/test/basic/popover.e2e.js +76 -0
  203. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  204. package/dist/collection/components/radio/radio.js +3 -3
  205. package/dist/collection/components/radio-group/radio-group.js +1 -1
  206. package/dist/collection/components/range/range.js +3 -3
  207. package/dist/collection/components/refresher/refresher.js +1 -1
  208. package/dist/collection/components/refresher-content/refresher-content.js +1 -1
  209. package/dist/collection/components/reorder/reorder.js +1 -1
  210. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  211. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  212. package/dist/collection/components/router-link/router-link.js +2 -2
  213. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  214. package/dist/collection/components/row/row.js +1 -1
  215. package/dist/collection/components/searchbar/searchbar.js +5 -5
  216. package/dist/collection/components/segment/segment.js +2 -2
  217. package/dist/collection/components/segment-button/segment-button.js +3 -3
  218. package/dist/collection/components/select/select.js +2 -2
  219. package/dist/collection/components/select-option/select-option.js +1 -1
  220. package/dist/collection/components/select-popover/select-popover.js +1 -1
  221. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  222. package/dist/collection/components/spinner/spinner.js +1 -1
  223. package/dist/collection/components/split-pane/split-pane.js +2 -2
  224. package/dist/collection/components/tab/tab.js +2 -2
  225. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  226. package/dist/collection/components/tab-button/tab-button.js +2 -2
  227. package/dist/collection/components/tabs/tabs.js +1 -1
  228. package/dist/collection/components/text/text.js +2 -2
  229. package/dist/collection/components/textarea/textarea.js +2 -2
  230. package/dist/collection/components/thumbnail/thumbnail.js +1 -1
  231. package/dist/collection/components/title/title.js +2 -2
  232. package/dist/collection/components/toast/toast.js +2 -2
  233. package/dist/collection/components/toggle/toggle.js +3 -3
  234. package/dist/collection/components/toolbar/test/basic/toolbar.e2e.js +133 -5
  235. package/dist/collection/components/toolbar/toolbar.js +2 -2
  236. package/dist/docs.json +31 -82
  237. package/dist/esm/ion-app_8.entry.js +13 -14
  238. package/dist/esm/ion-avatar_3.entry.js +1 -1
  239. package/dist/esm/ion-button_2.entry.js +2 -2
  240. package/dist/esm/ion-col_3.entry.js +3 -3
  241. package/dist/esm/ion-datetime-button.entry.js +1 -1
  242. package/dist/esm/ion-datetime_3.entry.js +6 -6
  243. package/dist/esm/ion-fab_3.entry.js +6 -6
  244. package/dist/esm/ion-img.entry.js +1 -1
  245. package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
  246. package/dist/esm/ion-input-password-toggle.entry.js +3 -3
  247. package/dist/esm/ion-input.entry.js +4 -7
  248. package/dist/esm/ion-item-option_3.entry.js +4 -4
  249. package/dist/esm/ion-item_8.entry.js +12 -12
  250. package/dist/esm/ion-loading.entry.js +2 -2
  251. package/dist/esm/ion-menu_3.entry.js +6 -6
  252. package/dist/esm/ion-modal.entry.js +3 -3
  253. package/dist/esm/ion-nav_2.entry.js +2 -2
  254. package/dist/esm/ion-picker-column-option.entry.js +2 -2
  255. package/dist/esm/ion-picker-column.entry.js +3 -3
  256. package/dist/esm/ion-picker.entry.js +2 -2
  257. package/dist/esm/ion-popover.entry.js +4 -4
  258. package/dist/esm/ion-progress-bar.entry.js +1 -1
  259. package/dist/esm/ion-radio_2.entry.js +4 -4
  260. package/dist/esm/ion-range.entry.js +3 -3
  261. package/dist/esm/ion-refresher_2.entry.js +2 -2
  262. package/dist/esm/ion-reorder_2.entry.js +2 -2
  263. package/dist/esm/ion-ripple-effect.entry.js +1 -1
  264. package/dist/esm/ion-route_4.entry.js +2 -2
  265. package/dist/esm/ion-searchbar.entry.js +4 -4
  266. package/dist/esm/ion-segment_2.entry.js +5 -5
  267. package/dist/esm/ion-select_3.entry.js +4 -4
  268. package/dist/esm/ion-spinner.entry.js +1 -1
  269. package/dist/esm/ion-split-pane.entry.js +2 -2
  270. package/dist/esm/ion-tab-bar_2.entry.js +4 -4
  271. package/dist/esm/ion-tab_2.entry.js +3 -3
  272. package/dist/esm/ion-text.entry.js +2 -2
  273. package/dist/esm/ion-textarea.entry.js +2 -2
  274. package/dist/esm/ion-toast.entry.js +2 -2
  275. package/dist/esm/ion-toggle.entry.js +3 -3
  276. package/dist/esm/ionic.js +2 -2
  277. package/dist/esm/loader.js +1 -1
  278. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  279. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  280. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  281. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  282. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  283. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  284. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  285. package/dist/esm-es5/ion-img.entry.js +1 -1
  286. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  287. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  288. package/dist/esm-es5/ion-input.entry.js +1 -1
  289. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  290. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  291. package/dist/esm-es5/ion-loading.entry.js +1 -1
  292. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  293. package/dist/esm-es5/ion-modal.entry.js +1 -1
  294. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  295. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  296. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  297. package/dist/esm-es5/ion-picker.entry.js +1 -1
  298. package/dist/esm-es5/ion-popover.entry.js +1 -1
  299. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  300. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  301. package/dist/esm-es5/ion-range.entry.js +1 -1
  302. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  303. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  304. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  305. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  306. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  307. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  308. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  309. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  310. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  311. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  312. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  313. package/dist/esm-es5/ion-text.entry.js +1 -1
  314. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  315. package/dist/esm-es5/ion-toast.entry.js +1 -1
  316. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  317. package/dist/esm-es5/ionic.js +1 -1
  318. package/dist/esm-es5/loader.js +1 -1
  319. package/dist/html.html-data.json +18 -34
  320. package/dist/ionic/ionic.esm.js +1 -1
  321. package/dist/ionic/ionic.js +1 -1
  322. package/dist/ionic/p-012cc611.system.entry.js +4 -0
  323. package/dist/ionic/{p-64714af0.system.entry.js → p-04070329.system.entry.js} +1 -1
  324. package/dist/ionic/{p-c06e1332.system.entry.js → p-049fa018.system.entry.js} +1 -1
  325. package/dist/ionic/{p-83b6da7c.system.entry.js → p-07ae133d.system.entry.js} +1 -1
  326. package/dist/ionic/{p-9ce13bcc.entry.js → p-0aa4682e.entry.js} +1 -1
  327. package/dist/ionic/{p-23a94a8e.system.entry.js → p-0bbb6edf.system.entry.js} +1 -1
  328. package/dist/ionic/p-0de546bb.entry.js +4 -0
  329. package/dist/ionic/{p-7820f3ab.system.entry.js → p-0ebb1fe7.system.entry.js} +1 -1
  330. package/dist/ionic/{p-5eafecd8.entry.js → p-0f2d99a6.entry.js} +1 -1
  331. package/dist/ionic/{p-d8ebc853.system.entry.js → p-100bedc4.system.entry.js} +1 -1
  332. package/dist/ionic/{p-65e0d04e.system.entry.js → p-1672c4fd.system.entry.js} +2 -2
  333. package/dist/ionic/{p-61aa1ba6.entry.js → p-17978fce.entry.js} +1 -1
  334. package/dist/ionic/p-18057853.entry.js +4 -0
  335. package/dist/ionic/{p-55d7edd7.entry.js → p-1c451f69.entry.js} +1 -1
  336. package/dist/ionic/{p-f6f4f694.entry.js → p-1cff9cad.entry.js} +1 -1
  337. package/dist/ionic/{p-4665ab20.entry.js → p-1f9cdee2.entry.js} +1 -1
  338. package/dist/ionic/{p-a70c90d8.entry.js → p-2e12bda2.entry.js} +1 -1
  339. package/dist/ionic/{p-d2b175d3.entry.js → p-3391d9a3.entry.js} +1 -1
  340. package/dist/ionic/{p-715d10d2.system.entry.js → p-352f7037.system.entry.js} +1 -1
  341. package/dist/ionic/{p-8e2368ae.system.entry.js → p-35722bba.system.entry.js} +1 -1
  342. package/dist/ionic/{p-6c3c02d4.entry.js → p-35b9e842.entry.js} +1 -1
  343. package/dist/ionic/{p-1361399b.system.entry.js → p-3d6e882f.system.entry.js} +1 -1
  344. package/dist/ionic/{p-4264f999.system.entry.js → p-3e3b34f7.system.entry.js} +1 -1
  345. package/dist/ionic/{p-bf4609f9.system.entry.js → p-4196b2d1.system.entry.js} +1 -1
  346. package/dist/ionic/{p-0fad7a2d.system.entry.js → p-43505ff8.system.entry.js} +1 -1
  347. package/dist/ionic/{p-d68569fe.system.entry.js → p-4429fc97.system.entry.js} +1 -1
  348. package/dist/ionic/{p-10ad2148.system.entry.js → p-49b6fee0.system.entry.js} +1 -1
  349. package/dist/ionic/{p-8a6e15fc.system.entry.js → p-51b68ec9.system.entry.js} +1 -1
  350. package/dist/ionic/{p-9d9f20ce.system.entry.js → p-58ea73f7.system.entry.js} +1 -1
  351. package/dist/ionic/p-596e0cf8.system.entry.js +4 -0
  352. package/dist/ionic/p-5ae49f12.entry.js +4 -0
  353. package/dist/ionic/{p-69c8ec2a.system.entry.js → p-5b1273f4.system.entry.js} +1 -1
  354. package/dist/ionic/p-5d3f6707.entry.js +4 -0
  355. package/dist/ionic/{p-c8db6adb.entry.js → p-5da04d11.entry.js} +1 -1
  356. package/dist/ionic/p-5fa8587e.system.entry.js +4 -0
  357. package/dist/ionic/p-6771c0a9.system.entry.js +4 -0
  358. package/dist/ionic/{p-fb16b850.system.entry.js → p-68a1e274.system.entry.js} +1 -1
  359. package/dist/ionic/p-69bc14fd.entry.js +4 -0
  360. package/dist/ionic/{p-34272b1f.system.entry.js → p-6f4db5ce.system.entry.js} +1 -1
  361. package/dist/ionic/{p-8337ce33.system.entry.js → p-716ab5f8.system.entry.js} +1 -1
  362. package/dist/ionic/{p-d104ba38.system.entry.js → p-76907c2f.system.entry.js} +1 -1
  363. package/dist/ionic/{p-b75155ca.entry.js → p-7df2c495.entry.js} +1 -1
  364. package/dist/ionic/{p-3d72cae3.entry.js → p-7fc505bf.entry.js} +1 -1
  365. package/dist/ionic/{p-1bd294a2.entry.js → p-83321ee8.entry.js} +1 -1
  366. package/dist/ionic/{p-512cdc37.entry.js → p-896111fa.entry.js} +1 -1
  367. package/dist/ionic/p-89b59bd7.entry.js +4 -0
  368. package/dist/ionic/{p-ea6f36fb.system.entry.js → p-8bd567ba.system.entry.js} +1 -1
  369. package/dist/ionic/{p-4e802677.entry.js → p-8e9ac22d.entry.js} +1 -1
  370. package/dist/ionic/{p-c389d18c.entry.js → p-9540561f.entry.js} +1 -1
  371. package/dist/ionic/{p-240cac05.entry.js → p-99daf8b7.entry.js} +1 -1
  372. package/dist/ionic/{p-9e8cf5a2.system.entry.js → p-a1b4e619.system.entry.js} +1 -1
  373. package/dist/ionic/{p-14700c11.system.entry.js → p-a1f9f629.system.entry.js} +1 -1
  374. package/dist/ionic/{p-be9f56eb.entry.js → p-a88fdfac.entry.js} +1 -1
  375. package/dist/ionic/{p-587643a6.system.entry.js → p-aa110ca0.system.entry.js} +1 -1
  376. package/dist/ionic/{p-727255c2.entry.js → p-ab85debb.entry.js} +1 -1
  377. package/dist/ionic/p-ac9f44a8.system.entry.js +4 -0
  378. package/dist/ionic/{p-2d5e919f.entry.js → p-c04d5a75.entry.js} +1 -1
  379. package/dist/ionic/{p-54f52179.system.entry.js → p-c198e1e1.system.entry.js} +1 -1
  380. package/dist/ionic/{p-fb1ee785.system.entry.js → p-c1d1d004.system.entry.js} +1 -1
  381. package/dist/ionic/{p-3001b2f5.entry.js → p-c41af68a.entry.js} +1 -1
  382. package/dist/ionic/p-c478747f.system.js +4 -0
  383. package/dist/ionic/{p-16dc1af8.entry.js → p-c8f2b769.entry.js} +1 -1
  384. package/dist/ionic/{p-18609ea3.system.entry.js → p-c9c39c98.system.entry.js} +1 -1
  385. package/dist/ionic/{p-17050343.system.entry.js → p-d8067ea4.system.entry.js} +1 -1
  386. package/dist/ionic/{p-23e0649d.entry.js → p-d8f66669.entry.js} +1 -1
  387. package/dist/ionic/{p-c872fcd2.entry.js → p-d98c0112.entry.js} +1 -1
  388. package/dist/ionic/{p-81c91374.entry.js → p-dc1372e0.entry.js} +1 -1
  389. package/dist/ionic/p-df48edd6.entry.js +4 -0
  390. package/dist/ionic/{p-de3c33f3.entry.js → p-df6fa126.entry.js} +1 -1
  391. package/dist/ionic/{p-f96f7d38.entry.js → p-e8a0e731.entry.js} +1 -1
  392. package/dist/ionic/{p-8bbc7271.entry.js → p-e955bf61.entry.js} +1 -1
  393. package/dist/ionic/{p-37ed0807.system.entry.js → p-ea2c16b5.system.entry.js} +2 -2
  394. package/dist/ionic/{p-4861159f.entry.js → p-f0392d49.entry.js} +1 -1
  395. package/dist/ionic/p-f818b01a.entry.js +4 -0
  396. package/dist/ionic/{p-c373bd37.system.entry.js → p-fb02eeec.system.entry.js} +1 -1
  397. package/dist/ionic/{p-ac6dd92b.system.entry.js → p-fb97326f.system.entry.js} +1 -1
  398. package/dist/ionic/{p-92210d07.entry.js → p-fbd30ec7.entry.js} +1 -1
  399. package/dist/ionic/{p-784d54d4.entry.js → p-fda4872f.entry.js} +1 -1
  400. package/dist/ionic/{p-5278521a.system.entry.js → p-ff2323ba.system.entry.js} +2 -2
  401. package/dist/types/components/content/content.d.ts +0 -8
  402. package/dist/types/components/input/input.d.ts +0 -4
  403. package/dist/types/components.d.ts +0 -16
  404. package/hydrate/index.js +146 -137
  405. package/package.json +2 -2
  406. package/dist/collection/components/content/test/content.spec.js +0 -27
  407. package/dist/ionic/p-07c88a2e.entry.js +0 -4
  408. package/dist/ionic/p-0d189eaf.entry.js +0 -4
  409. package/dist/ionic/p-159a5b6a.system.entry.js +0 -4
  410. package/dist/ionic/p-23b89985.entry.js +0 -4
  411. package/dist/ionic/p-4e6ddce7.entry.js +0 -4
  412. package/dist/ionic/p-8370ef82.entry.js +0 -4
  413. package/dist/ionic/p-8b19c120.entry.js +0 -4
  414. package/dist/ionic/p-95bc0add.system.entry.js +0 -4
  415. package/dist/ionic/p-9a45140d.system.entry.js +0 -4
  416. package/dist/ionic/p-aeb5a22b.system.entry.js +0 -4
  417. package/dist/ionic/p-bb835b4d.system.entry.js +0 -4
  418. package/dist/ionic/p-cec3bebe.entry.js +0 -4
  419. package/dist/ionic/p-e350ab4a.entry.js +0 -4
  420. package/dist/ionic/p-ea4be6ac.system.js +0 -4
@@ -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 */
@@ -1,103 +1 @@
1
- @media (prefers-contrast: more) {
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;EC0FE;IACE;IACA;IACA;IACA;IACA;IAIA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;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;;;EDzHJ;AC2IA;;EATA;IACE;;EAGF;IAEE;;EAIF;IACE;MACE;;;EAIJ;IACE","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"]}
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 */