colorthemes.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402
  1. @import url("theme-snowstorm.css");
  2. @import url("theme-polarnight.css");
  3. @import url("theme-ketivah.css");
  4. @import url("theme-mangotango.css");
  5. @import url("theme-playground.css");
  6. @import url("theme-beeninorder.css");
  7. :root {
  8. /* ---------- PRIMARY COLORS ----------------- */
  9. --primary-color-1: hsl(217.5, 26.7%, 94.1%);
  10. --primary-color-1-hue: 217.5;
  11. --primary-color-1-saturation: 26.7%;
  12. --primary-color-1-lightness: 94.1%;
  13. --primary-color-2: hsl(218.2, 26.8%, 92.0%);
  14. --primary-color-2-hue: 218.2;
  15. --primary-color-2-saturation: 26.8%;
  16. --primary-color-2-lightness: 92.0%;
  17. --primary-color-3: hsl(218.8, 27.9%, 88.0%);
  18. --primary-color-3-hue: 218.8;
  19. --primary-color-3-saturation: 27.9%;
  20. --primary-color-3-lightness: 88.0%;
  21. --primary-color-4: hsl(218.8, 18.3%, 81.8%);
  22. --primary-color-4-hue: 218.8;
  23. --primary-color-4-saturation: 18.3%;
  24. --primary-color-4-lightness: 81.8%;
  25. /* ---------- SECONDARY COLORS --------------- */
  26. --secondary-color-1: hsl(220.0, 16.4%, 21.6%);
  27. --secondary-color-1-hue: 220.0;
  28. --secondary-color-1-saturation: 16.4%;
  29. --secondary-color-1-lightness: 21.6%;
  30. --secondary-color-2: hsl(221.7, 16.3%, 27.6%);
  31. --secondary-color-2-hue: 221.7;
  32. --secondary-color-2-saturation: 16.3%;
  33. --secondary-color-2-lightness: 27.6%;
  34. --secondary-color-3: hsl(220.0, 16.8%, 31.6%);
  35. --secondary-color-3-hue: 220.0;
  36. --secondary-color-3-saturation: 16.8%;
  37. --secondary-color-3-lightness: 31.6%;
  38. --secondary-color-4: hsl(220.0, 16.5%, 35.7%);
  39. --secondary-color-4-hue: 220.0;
  40. --secondary-color-4-saturation: 16.5%;
  41. --secondary-color-4-lightness: 35.7%;
  42. /* ----------- NUANCES COLORS ---------------- */
  43. --theme-nuance-color-1: hsl(178.7, 25.1%, 64.9%);
  44. --theme-nuance-color-1-hue: 178.7;
  45. --theme-nuance-color-1-saturation: 25.1%;
  46. --theme-nuance-color-1-lightness: 64.9%;
  47. --theme-nuance-color-2: hsl(193.3, 43.4%, 67.5%);
  48. --theme-nuance-color-2-hue: 193.3;
  49. --theme-nuance-color-2-saturation: 43.4%;
  50. --theme-nuance-color-2-lightness: 67.5%;
  51. --theme-nuance-color-3: hsl(210.0, 34.0%, 63.1%);
  52. --theme-nuance-color-3-hue: 210.0;
  53. --theme-nuance-color-3-saturation: 34.0%;
  54. --theme-nuance-color-3-lightness: 63.1%;
  55. --theme-nuance-color-4: hsl(213.1, 32.0%, 52.2%);
  56. --theme-nuance-color-4-hue: 213.1;
  57. --theme-nuance-color-4-saturation: 32.0%;
  58. --theme-nuance-color-4-lightness: 52.2%;
  59. /* ----------- ROYGP COLORS ------------------ */
  60. --theme-red-color: hsl(32.5, 80%, 50%);
  61. --theme-orange-color: hsl(32.5, 70%, 45%);
  62. --theme-yellow-color: hsl(40.0, 0.6%, 73.3%);
  63. --theme-green-color: hsl(92.4, 27.8%, 64.7%);
  64. --theme-purple-color: hsl(311.1, 20.2%, 63.1%);
  65. /* ------------------------------------------- */
  66. --background-color-1: var(--primary-color-1);
  67. --background-color-2: var(--primary-color-2);
  68. --background-color-3: var(--primary-color-3);
  69. --background-color-4: var(--primary-color-4);
  70. --border-color-1: var(--primary-color-2);
  71. --border-color-2: var(--primary-color-3);
  72. --border-color-3: var(--primary-color-4);
  73. --border-focus-color: var(--theme-nuance-color-2);
  74. --border-focus-shadow: var(--theme-nuance-color-1);
  75. --text-color-plain: var(--secondary-color-1);
  76. --text-color-subtile-1: var(--secondary-color-2);
  77. --text-color-subtile-2: var(--secondary-color-3);
  78. --code-background-color: var(--secondary-color-2);
  79. --code-text-color: var(--primary-color-2);
  80. --ui-range-thumb-color: var(--theme-nuance-color-3);
  81. --ui-range-thumb-border: var(--ui-ranger-thumb-color);
  82. --textarea-border-color: var(--secondary-color-4);
  83. --chat-id-color: var(--theme-nuance-color-4);
  84. /* ------------------------------------------- */
  85. --button-alert-text-hover: var(--primary-color-1);
  86. --button-alert-color-hover: var(--theme-orange-color);
  87. --button-alert-border-hover: var(--theme-orange-color);
  88. --button-alert-text-active: var(--primary-color-1);
  89. --button-alert-color-active: var(--theme-red-color);
  90. --button-alert-border-active: var(--theme-red-color);
  91. /* ----------- PRIMARY BUTTONS --------------- */
  92. /* - button should immediately catch the eye - */
  93. --button-primary-text: var(--secondary-color-1);
  94. --button-primary-color: var(--theme-nuance-color-3);
  95. --button-primary-border: var(--theme-nuance-color-3);
  96. /* ---------hover---------- */
  97. --button-primary-text-hover:
  98. hsl(217.5,
  99. calc(var(--secondary-color-1-saturation) + 35%),
  100. calc(var(--secondary-color-1-lightness) - 30%));
  101. --button-primary-color-hover:
  102. hsl(210,
  103. calc(var(--theme-nuance-color-3-saturation) - 2%),
  104. calc(var(--theme-nuance-color-3-lightness) - 10%));
  105. --button-primary-border-hover:
  106. hsl(210,
  107. calc(var(--theme-nuance-color-3-saturation) - 2%),
  108. calc(var(--theme-nuance-color-3-lightness) - 10%));
  109. /* ---------active--------- */
  110. --button-primary-text-active:
  111. hsl(210,
  112. calc(var(--theme-nuance-color-3-saturation) - 20%),
  113. calc(var(--theme-nuance-color-3-lightness) + 35%));
  114. --button-primary-color-active:
  115. hsl(210,
  116. calc(var(--theme-nuance-color-3-saturation) - 10%),
  117. calc(var(--theme-nuance-color-3-lightness) - 25%));
  118. --button-primary-border-active:
  119. hsl(210,
  120. calc(var(--theme-nuance-color-3-saturation) - 10%),
  121. calc(var(--theme-nuance-color-3-lightness) - 25%));
  122. /* ---------- SECONDARY BUTTONS -------------- */
  123. /* these should NOT immediately catch the eye */
  124. --button-secondary-text:
  125. hsl(210,
  126. calc(var(--theme-nuance-color-3-saturation) - 20%),
  127. calc(var(--theme-nuance-color-3-lightness) - 50%));
  128. --button-secondary-color:
  129. hsl(210,
  130. calc(var(--theme-nuance-color-3-saturation) - 20%),
  131. calc(var(--theme-nuance-color-3-lightness) + 10%));
  132. --button-secondary-border:
  133. hsl(210,
  134. calc(var(--theme-nuance-color-3-saturation) - 20%),
  135. calc(var(--theme-nuance-color-3-lightness) + 10%));
  136. /* ---------hover---------- */
  137. --button-secondary-text-hover:
  138. hsl(210,
  139. calc(var(--theme-nuance-color-3-saturation) - 20%),
  140. calc(var(--theme-nuance-color-3-lightness) - 80%));
  141. --button-secondary-color-hover:
  142. hsl(210,
  143. calc(var(--theme-nuance-color-3-saturation) - 22%),
  144. calc(var(--theme-nuance-color-3-lightness) + 1%));
  145. --button-secondary-border-hover:
  146. hsl(210,
  147. calc(var(--theme-nuance-color-3-saturation) - 22%),
  148. calc(var(--theme-nuance-color-3-lightness) + 1%));
  149. /* ---------active--------- */
  150. --button-secondary-text-active:
  151. hsl(210,
  152. calc(var(--theme-nuance-color-3-saturation) + 40%),
  153. calc(var(--theme-nuance-color-3-lightness) - 55%));
  154. --button-secondary-color-active:
  155. hsl(210,
  156. calc(var(--theme-nuance-color-3-saturation) - 30%),
  157. calc(var(--theme-nuance-color-3-lightness) - 5%));
  158. --button-secondary-border-active:
  159. hsl(210,
  160. calc(var(--theme-nuance-color-3-saturation) - 30%),
  161. calc(var(--theme-nuance-color-3-lightness) - 5%));
  162. /* ---------- TERTIARY BUTTONS --------------- */
  163. /* ---------- disabled buttons --------------- */
  164. --button-tertiary-text:
  165. hsl(210,
  166. calc(var(--theme-nuance-color-3-saturation) - 40%),
  167. calc(var(--theme-nuance-color-3-lightness) - 5%));
  168. --button-tertiary-color:
  169. hsl(210,
  170. calc(var(--theme-nuance-color-3-saturation) - 40%),
  171. calc(var(--theme-nuance-color-3-lightness) + 20%));
  172. --button-tertiary-border:
  173. hsl(210,
  174. calc(var(--theme-nuance-color-3-saturation) - 40%),
  175. calc(var(--theme-nuance-color-3-lightness) + 20%));
  176. /* ---------hover---------- */
  177. --button-tertiary-text-hover:
  178. hsl(210,
  179. calc(var(--theme-nuance-color-3-saturation) - 40%),
  180. calc(var(--theme-nuance-color-3-lightness) - 5%));
  181. --button-tertiary-color-hover:
  182. hsl(210,
  183. calc(var(--theme-nuance-color-3-saturation) - 40%),
  184. calc(var(--theme-nuance-color-3-lightness) + 20%));
  185. --button-tertiary-border-hover:
  186. hsl(210,
  187. calc(var(--theme-nuance-color-3-saturation) - 40%),
  188. calc(var(--theme-nuance-color-3-lightness) + 20%));
  189. }
  190. /*
  191. .theme-template {
  192. If light theme: should go from bright to darker
  193. If dark theme: should go from dark to brighter
  194. ideally this should not be anything but steps of
  195. gray or slightly variants from it
  196. --primary-color-1: #2E3440;
  197. --primary-color-2: #3B4252;
  198. --primary-color-3: #434C5E;
  199. --primary-color-4: #4C566A;
  200. If light theme: should go from dark to brighter
  201. If dark theme: should go from bright to darker
  202. ideally this should not be anything but steps of
  203. gray or slightly variants from it
  204. --secondary-color-1: #ECEFF4;
  205. --secondary-color-2: #E5E9F0;
  206. --secondary-color-3: #D8DEE9;
  207. --secondary-color-4: #C8CED9;
  208. Choose wisely nuance colors. It is not easy to find
  209. 4 harmonizing nuance colors. But keep in mind, that
  210. only one accent color could work too.
  211. --theme-nuance-color-1: #8FBCBB;
  212. --theme-nuance-color-2: #88C0D0;
  213. --theme-nuance-color-3: #81A1C1;
  214. --theme-nuance-color-4: #5E81AC;
  215. adapt the color red, orange, yellow, green,
  216. purple to the 'mood' of your overall design
  217. e.g is it low-contrast? vibrant? dynamic? etc
  218. --theme-red-color: #BF616A;
  219. --theme-orange-color: #D08770;
  220. --theme-yellow-color: #EBCB8B;
  221. --theme-green-color: #A3BE8C;
  222. --theme-purple-color: #B48EAD;
  223. NOTE: comment all those line `--- ...` out
  224. ------------------------------------------------
  225. --background-color-1:
  226. --background-color-2:
  227. --background-color-3:
  228. --background-color-4:
  229. --border-color-1:
  230. --border-color-2:
  231. --border-color-3:
  232. --border-focus-color:
  233. --border-focus-shadow:
  234. --text-color-plain:
  235. --text-color-subtile-1:
  236. --text-color-subtile-2:
  237. --code-background-color:
  238. --code-text-color:
  239. --ui-range-thumb-color:
  240. --ui-range-thumb-border:
  241. --textarea-border-color:
  242. -------------------------------------------
  243. --button-alert-text-hover:
  244. --button-alert-color-hover:
  245. --button-alert-border-hover:
  246. --button-alert-text-active:
  247. --button-alert-color-active:
  248. --button-alert-border-active:
  249. ----------- PRIMARY -----------------------
  250. --button should immediately catch the eye--
  251. --button-primary-text:
  252. --button-primary-color:
  253. --button-primary-border:
  254. ---------hover----------
  255. --button-primary-text-hover:
  256. --button-primary-color-hover:
  257. --button-primary-border-hover:
  258. ---------active---------
  259. --button-primary-text-active:
  260. --button-primary-color-active:
  261. --button-primary-border-active:
  262. ------------ SECONDARY ------------------------
  263. --button should NOT immediately catch the eye--
  264. --button-secondary-text:
  265. --button-secondary-color:
  266. --button-secondary-border:
  267. ---------hover----------
  268. --button-secondary-text-hover:
  269. --button-secondary-color-hover:
  270. --button-secondary-border-hover:
  271. ---------active---------
  272. --button-secondary-text-active:
  273. --button-secondary-color-active:
  274. --button-secondary-border-active:
  275. ---------- TERTIARY -----------------------
  276. ---------- disabled buttons ---------------
  277. --button-tertiary-text:
  278. --button-tertiary-color:
  279. --button-tertiary-border:
  280. ---------hover----------
  281. --button-tertiary-text:
  282. --button-tertiary-color:
  283. --button-tertiary-border:
  284. }
  285. */