theme-beeninorder.css 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. /* Author: Yazan Agha-Schrader */
  2. /* Inspiration was a batman wallpaper that i have on my phone */
  3. .theme-beeninorder {
  4. --primary-color-1: hsl(202, 11%, 19%);
  5. --primary-color-2: hsl(202, 11%, 23%);
  6. --primary-color-3: hsl(201, 11%, 28%);
  7. --primary-color-4: hsl(201, 11%, 40%);
  8. --secondary-color-1: hsl(201, 11%, 80%);
  9. --secondary-color-2: hsl(201, 11%, 74%);
  10. --secondary-color-3: hsl(201, 11%, 67%);
  11. --secondary-color-4: hsl(201, 11%, 60%);
  12. --theme-nuance-color-1: hsl(44.5, 96.7%, 52.9%);
  13. --theme-nuance-color-2: hsl(44.5, 96.7%, 52.9%);
  14. --theme-nuance-color-3: hsl(44.5, 96.7%, 52.9%);
  15. --theme-nuance-color-4: hsl(44.5, 96.7%, 52.9%);
  16. /* ---------- PRIMARY COLORS ----------------- */
  17. --primary-color-1: hsl(201, 11%, 19%);
  18. --primary-color-1-hue: 201;
  19. --primary-color-1-saturation: 11%;
  20. --primary-color-1-lightness: 19%;
  21. --primary-color-2: hsl(201, 11%, 23%);
  22. --primary-color-2-hue: 201;
  23. --primary-color-2-saturation: 11%;
  24. --primary-color-2-lightness: 23%;
  25. --primary-color-3: hsl(201, 11%, 28%);
  26. --primary-color-3-hue: 201;
  27. --primary-color-3-saturation: 11%;
  28. --primary-color-3-lightness: 28%;
  29. --primary-color-4: hsl(201, 11%, 40%);
  30. --primary-color-4-hue: 201;
  31. --primary-color-4-saturation: 11%;
  32. --primary-color-4-lightness: 40%;
  33. /* ---------- SECONDARY COLORS --------------- */
  34. --secondary-color-1: hsl(201, 11%, 80%);
  35. --secondary-color-1-hue: 201;
  36. --secondary-color-1-saturation: 11%;
  37. --secondary-color-1-lightness: 80%;
  38. --secondary-color-2: hsl(201, 11%, 74%);
  39. --secondary-color-2-hue: 201;
  40. --secondary-color-2-saturation: 11%;
  41. --secondary-color-2-lightness: 74%;
  42. --secondary-color-3: hsl(201, 11%, 67%);
  43. --secondary-color-3-hue: 201;
  44. --secondary-color-3-saturation: 11%;
  45. --secondary-color-3-lightness: 67%;
  46. --secondary-color-4: hsl(201, 11%, 60%);
  47. --secondary-color-4-hue: 201;
  48. --secondary-color-4-saturation: 11%;
  49. --secondary-color-4-lightness: 60%;
  50. /* ----------- NUANCES COLORS ---------------- */
  51. --theme-nuance-color-1: hsl(44.5, 96.7%, 52.9%);
  52. --theme-nuance-color-1-hue: 44.5;
  53. --theme-nuance-color-1-saturation: 96.7%;
  54. --theme-nuance-color-1-lightness: 52.9%;
  55. --theme-nuance-color-2: hsl(44.5, 96.7%, 52.9%);
  56. --theme-nuance-color-2-hue: 44.5;
  57. --theme-nuance-color-2-saturation: 96.7%;
  58. --theme-nuance-color-2-lightness: 52.9%;
  59. --theme-nuance-color-2: hsl(44.5, 96.7%, 52.9%);
  60. --theme-nuance-color-3-hue: 44.5;
  61. --theme-nuance-color-3-saturation: 96.7%;
  62. --theme-nuance-color-3-lightness: 52.9%;
  63. --theme-nuance-color-2: hsl(44.5, 96.7%, 52.9%);
  64. --theme-nuance-color-4-hue: 44.5;
  65. --theme-nuance-color-4-saturation: 96.7%;
  66. --theme-nuance-color-4-lightness: 52.9%;
  67. /* ----------- ROYGP COLORS ------------------ */
  68. --theme-red-color: hsl(232, 40%, 45%);
  69. --theme-orange-color: #e76f51;
  70. --theme-yellow-color: #ffd95f;
  71. --theme-green-color: #A3BE8C;
  72. --theme-purple-color: hsl(232, 30%, 40%);
  73. /* ------------------------------------------- */
  74. --background-color-1: var(--primary-color-1);
  75. --background-color-2: var(--primary-color-2);
  76. --background-color-3: var(--primary-color-3);
  77. --background-color-4: var(--primary-color-4);
  78. --border-color-1: var(--primary-color-2);
  79. --border-color-2: var(--primary-color-3);
  80. --border-color-3: var(--primary-color-4);
  81. --border-focus-color: var(--theme-nuance-color-2);
  82. --border-focus-shadow: var(--theme-nuance-color-1);
  83. --text-color-plain: var(--secondary-color-1);
  84. --text-color-subtile-1: var(--secondary-color-2);
  85. --text-color-subtile-2: var(--secondary-color-3);
  86. --code-background-color: var(--secondary-color-2);
  87. --code-text-color: var(--primary-color-2);
  88. --ui-range-thumb-color: var(--theme-nuance-color-3);
  89. --ui-range-thumb-border: var(--ui-ranger-thumb-color);
  90. --textarea-border-color: var(--secondary-color-4);
  91. --chat-id-color: var(--theme-nuance-color-4);
  92. /* ------------------------------------------- */
  93. --button-alert-text-hover: var(--secondary-color-1);
  94. --button-alert-color-hover: var(--theme-purple-color);
  95. --button-alert-border-hover: var(--theme-purple-color);
  96. --button-alert-text-active: var(--secondary-color-1);
  97. --button-alert-color-active: var(--theme-red-color);
  98. --button-alert-border-active: var(--theme-red-color);
  99. /* ----------- PRIMARY BUTTONS --------------- */
  100. /* - button should immediately catch the eye - */
  101. --button-primary-text: var(--primary-color-1);
  102. --button-primary-color: var(--theme-nuance-color-3);
  103. --button-primary-border: var(--theme-nuance-color-3);
  104. /* ---------hover---------- */
  105. --button-primary-text-hover:
  106. hsl(201,
  107. calc(var(--primary-color-1-saturation) - 100%),
  108. calc(var(--primary-color-1-lightness) + 100%));
  109. --button-primary-color-hover:
  110. hsl(44.5,
  111. calc(var(--theme-nuance-color-3-saturation) - 2%),
  112. calc(var(--theme-nuance-color-3-lightness) - 10%));
  113. --button-primary-border-hover:
  114. hsl(44.5,
  115. calc(var(--theme-nuance-color-3-saturation) - 2%),
  116. calc(var(--theme-nuance-color-3-lightness) - 10%));
  117. /* ---------active--------- */
  118. --button-primary-text-active:
  119. hsl(44.5,
  120. calc(var(--theme-nuance-color-3-saturation) - 100%),
  121. calc(var(--theme-nuance-color-3-lightness) + 100%));
  122. --button-primary-color-active:
  123. hsl(44.5,
  124. calc(var(--theme-nuance-color-3-saturation) - 10%),
  125. calc(var(--theme-nuance-color-3-lightness) - 15%));
  126. --button-primary-border-active:
  127. hsl(44.5,
  128. calc(var(--theme-nuance-color-3-saturation) - 2%),
  129. calc(var(--theme-nuance-color-3-lightness) + 10%));
  130. /* ---------- SECONDARY BUTTONS -------------- */
  131. /* these should NOT immediately catch the eye */
  132. --button-secondary-text: var(--secondary-color-1);
  133. --button-secondary-color: var(--primary-color-3);
  134. --button-secondary-border: var(--primary-color-3);
  135. /* ---------hover---------- */
  136. --button-secondary-text-hover:
  137. hsl(44.5,
  138. calc(var(--theme-nuance-color-3-saturation) - 20%),
  139. calc(var(--theme-nuance-color-3-lightness) - 80%));
  140. --button-secondary-color-hover: var(--primary-color-4);
  141. --button-secondary-border-hover: var(--primary-color-4);
  142. /* ---------active--------- */
  143. --button-secondary-text-active: var(--secondary-color-1);
  144. --button-secondary-color-active:
  145. hsl(201,
  146. calc(var(--primary-color-4-saturation) - 30%),
  147. calc(var(--primary-color-4-lightness) - 15%));
  148. --button-secondary-border-active:
  149. hsl(201,
  150. calc(var(--primary-color-4-saturation) - 30%),
  151. calc(var(--primary-color-4-lightness) - 15%));
  152. /* ---------- TERTIARY BUTTONS --------------- */
  153. /* ---------- disabled buttons --------------- */
  154. --button-tertiary-text: var(--primary-color-4);
  155. --button-tertiary-color: var(--primary-color-2);
  156. --button-tertiary-border: var(--primary-color-2);
  157. /* ---------hover---------- */
  158. --button-tertiary-text: var(--primary-color-4);
  159. --button-tertiary-color: var(--primary-color-2);
  160. --button-tertiary-border: var(--primary-color-2);
  161. }