variables.scss 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. // Ionic Variables and Theming. For more info, please see:
  2. // http://ionicframework.com/docs/theming/
  3. /** Ionic CSS Variables **/
  4. :root {
  5. /** primary **/
  6. --ion-color-primary: #3880ff;
  7. --ion-color-primary-rgb: 56, 128, 255;
  8. --ion-color-primary-contrast: #ffffff;
  9. --ion-color-primary-contrast-rgb: 255, 255, 255;
  10. --ion-color-primary-shade: #3171e0;
  11. --ion-color-primary-tint: #4c8dff;
  12. /** secondary **/
  13. --ion-color-secondary: #3dc2ff;
  14. --ion-color-secondary-rgb: 61, 194, 255;
  15. --ion-color-secondary-contrast: #ffffff;
  16. --ion-color-secondary-contrast-rgb: 255, 255, 255;
  17. --ion-color-secondary-shade: #36abe0;
  18. --ion-color-secondary-tint: #50c8ff;
  19. /** tertiary **/
  20. --ion-color-tertiary: #5260ff;
  21. --ion-color-tertiary-rgb: 82, 96, 255;
  22. --ion-color-tertiary-contrast: #ffffff;
  23. --ion-color-tertiary-contrast-rgb: 255, 255, 255;
  24. --ion-color-tertiary-shade: #4854e0;
  25. --ion-color-tertiary-tint: #6370ff;
  26. /** success **/
  27. --ion-color-success: #2dd36f;
  28. --ion-color-success-rgb: 45, 211, 111;
  29. --ion-color-success-contrast: #ffffff;
  30. --ion-color-success-contrast-rgb: 255, 255, 255;
  31. --ion-color-success-shade: #28ba62;
  32. --ion-color-success-tint: #42d77d;
  33. /** warning **/
  34. --ion-color-warning: #ffc409;
  35. --ion-color-warning-rgb: 255, 196, 9;
  36. --ion-color-warning-contrast: #000000;
  37. --ion-color-warning-contrast-rgb: 0, 0, 0;
  38. --ion-color-warning-shade: #e0ac08;
  39. --ion-color-warning-tint: #ffca22;
  40. /** danger **/
  41. --ion-color-danger: #eb445a;
  42. --ion-color-danger-rgb: 235, 68, 90;
  43. --ion-color-danger-contrast: #ffffff;
  44. --ion-color-danger-contrast-rgb: 255, 255, 255;
  45. --ion-color-danger-shade: #cf3c4f;
  46. --ion-color-danger-tint: #ed576b;
  47. /** dark **/
  48. --ion-color-dark: #222428;
  49. --ion-color-dark-rgb: 34, 36, 40;
  50. --ion-color-dark-contrast: #ffffff;
  51. --ion-color-dark-contrast-rgb: 255, 255, 255;
  52. --ion-color-dark-shade: #1e2023;
  53. --ion-color-dark-tint: #383a3e;
  54. /** medium **/
  55. --ion-color-medium: #92949c;
  56. --ion-color-medium-rgb: 146, 148, 156;
  57. --ion-color-medium-contrast: #ffffff;
  58. --ion-color-medium-contrast-rgb: 255, 255, 255;
  59. --ion-color-medium-shade: #808289;
  60. --ion-color-medium-tint: #9d9fa6;
  61. /** light **/
  62. --ion-color-light: #f4f5f8;
  63. --ion-color-light-rgb: 244, 245, 248;
  64. --ion-color-light-contrast: #000000;
  65. --ion-color-light-contrast-rgb: 0, 0, 0;
  66. --ion-color-light-shade: #d7d8da;
  67. --ion-color-light-tint: #f5f6f9;
  68. }
  69. @media (prefers-color-scheme: dark) {
  70. /*
  71. * Dark Colors
  72. * -------------------------------------------
  73. */
  74. body {
  75. --ion-color-primary: #428cff;
  76. --ion-color-primary-rgb: 66,140,255;
  77. --ion-color-primary-contrast: #ffffff;
  78. --ion-color-primary-contrast-rgb: 255,255,255;
  79. --ion-color-primary-shade: #3a7be0;
  80. --ion-color-primary-tint: #5598ff;
  81. --ion-color-secondary: #50c8ff;
  82. --ion-color-secondary-rgb: 80,200,255;
  83. --ion-color-secondary-contrast: #ffffff;
  84. --ion-color-secondary-contrast-rgb: 255,255,255;
  85. --ion-color-secondary-shade: #46b0e0;
  86. --ion-color-secondary-tint: #62ceff;
  87. --ion-color-tertiary: #6a64ff;
  88. --ion-color-tertiary-rgb: 106,100,255;
  89. --ion-color-tertiary-contrast: #ffffff;
  90. --ion-color-tertiary-contrast-rgb: 255,255,255;
  91. --ion-color-tertiary-shade: #5d58e0;
  92. --ion-color-tertiary-tint: #7974ff;
  93. --ion-color-success: #2fdf75;
  94. --ion-color-success-rgb: 47,223,117;
  95. --ion-color-success-contrast: #000000;
  96. --ion-color-success-contrast-rgb: 0,0,0;
  97. --ion-color-success-shade: #29c467;
  98. --ion-color-success-tint: #44e283;
  99. --ion-color-warning: #ffd534;
  100. --ion-color-warning-rgb: 255,213,52;
  101. --ion-color-warning-contrast: #000000;
  102. --ion-color-warning-contrast-rgb: 0,0,0;
  103. --ion-color-warning-shade: #e0bb2e;
  104. --ion-color-warning-tint: #ffd948;
  105. --ion-color-danger: #ff4961;
  106. --ion-color-danger-rgb: 255,73,97;
  107. --ion-color-danger-contrast: #ffffff;
  108. --ion-color-danger-contrast-rgb: 255,255,255;
  109. --ion-color-danger-shade: #e04055;
  110. --ion-color-danger-tint: #ff5b71;
  111. --ion-color-dark: #f4f5f8;
  112. --ion-color-dark-rgb: 244,245,248;
  113. --ion-color-dark-contrast: #000000;
  114. --ion-color-dark-contrast-rgb: 0,0,0;
  115. --ion-color-dark-shade: #d7d8da;
  116. --ion-color-dark-tint: #f5f6f9;
  117. --ion-color-medium: #989aa2;
  118. --ion-color-medium-rgb: 152,154,162;
  119. --ion-color-medium-contrast: #000000;
  120. --ion-color-medium-contrast-rgb: 0,0,0;
  121. --ion-color-medium-shade: #86888f;
  122. --ion-color-medium-tint: #a2a4ab;
  123. --ion-color-light: #222428;
  124. --ion-color-light-rgb: 34,36,40;
  125. --ion-color-light-contrast: #ffffff;
  126. --ion-color-light-contrast-rgb: 255,255,255;
  127. --ion-color-light-shade: #1e2023;
  128. --ion-color-light-tint: #383a3e;
  129. }
  130. /*
  131. * iOS Dark Theme
  132. * -------------------------------------------
  133. */
  134. .ios body {
  135. --ion-background-color: #000000;
  136. --ion-background-color-rgb: 0,0,0;
  137. --ion-text-color: #ffffff;
  138. --ion-text-color-rgb: 255,255,255;
  139. --ion-color-step-50: #0d0d0d;
  140. --ion-color-step-100: #1a1a1a;
  141. --ion-color-step-150: #262626;
  142. --ion-color-step-200: #333333;
  143. --ion-color-step-250: #404040;
  144. --ion-color-step-300: #4d4d4d;
  145. --ion-color-step-350: #595959;
  146. --ion-color-step-400: #666666;
  147. --ion-color-step-450: #737373;
  148. --ion-color-step-500: #808080;
  149. --ion-color-step-550: #8c8c8c;
  150. --ion-color-step-600: #999999;
  151. --ion-color-step-650: #a6a6a6;
  152. --ion-color-step-700: #b3b3b3;
  153. --ion-color-step-750: #bfbfbf;
  154. --ion-color-step-800: #cccccc;
  155. --ion-color-step-850: #d9d9d9;
  156. --ion-color-step-900: #e6e6e6;
  157. --ion-color-step-950: #f2f2f2;
  158. --ion-toolbar-background: #0d0d0d;
  159. --ion-item-background: #000000;
  160. --ion-card-background: #1c1c1d;
  161. }
  162. /*
  163. * Material Design Dark Theme
  164. * -------------------------------------------
  165. */
  166. .md body {
  167. --ion-background-color: #121212;
  168. --ion-background-color-rgb: 18,18,18;
  169. --ion-text-color: #ffffff;
  170. --ion-text-color-rgb: 255,255,255;
  171. --ion-border-color: #222222;
  172. --ion-color-step-50: #1e1e1e;
  173. --ion-color-step-100: #2a2a2a;
  174. --ion-color-step-150: #363636;
  175. --ion-color-step-200: #414141;
  176. --ion-color-step-250: #4d4d4d;
  177. --ion-color-step-300: #595959;
  178. --ion-color-step-350: #656565;
  179. --ion-color-step-400: #717171;
  180. --ion-color-step-450: #7d7d7d;
  181. --ion-color-step-500: #898989;
  182. --ion-color-step-550: #949494;
  183. --ion-color-step-600: #a0a0a0;
  184. --ion-color-step-650: #acacac;
  185. --ion-color-step-700: #b8b8b8;
  186. --ion-color-step-750: #c4c4c4;
  187. --ion-color-step-800: #d0d0d0;
  188. --ion-color-step-850: #dbdbdb;
  189. --ion-color-step-900: #e7e7e7;
  190. --ion-color-step-950: #f3f3f3;
  191. --ion-item-background: #1e1e1e;
  192. --ion-toolbar-background: #1f1f1f;
  193. --ion-tab-bar-background: #1f1f1f;
  194. --ion-card-background: #1e1e1e;
  195. }
  196. }