theme-ketivah.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. /* Author: Yazan Agha-Schrader */
  2. .theme-ketivah {
  3. /* ---------- PRIMARY COLORS ----------------- */
  4. --primary-color-1: hsl(0, 0%, 99.2%);
  5. --primary-color-1-hue: 0;
  6. --primary-color-1-saturation: 0%;
  7. --primary-color-1-lightness: 99.2%;
  8. --primary-color-2: hsl(0, 0%, 95%);
  9. --primary-color-2-hue: 0;
  10. --primary-color-2-saturation: 0%;
  11. --primary-color-2-lightness: 95%;
  12. --primary-color-3: hsl(0, 0%, 88%);
  13. --primary-color-3-hue: 0;
  14. --primary-color-3-saturation: 0%;
  15. --primary-color-3-lightness: 88%;
  16. --primary-color-4: hsl(0, 0%, 80%);
  17. --primary-color-4-hue: 0;
  18. --primary-color-4-saturation: 0%;
  19. --primary-color-4-lightness: 80%;
  20. /* ---------- SECONDARY COLORS --------------- */
  21. --secondary-color-1: hsl(0, 0%, 20%);
  22. --secondary-color-1-hue: 0;
  23. --secondary-color-1-saturation: 0%;
  24. --secondary-color-1-lightness: 20%;
  25. --secondary-color-2: hsl(0, 0%, 23.1%);
  26. --secondary-color-2-hue: 0;
  27. --secondary-color-2-saturation: 0%;
  28. --secondary-color-2-lightness: 23.1%;
  29. --secondary-color-3: hsl(0, 0%, 29%);
  30. --secondary-color-3-hue: 0;
  31. --secondary-color-3-saturation: 0%;
  32. --secondary-color-3-lightness: 29%;
  33. --secondary-color-4: hsl(0, 0.0%, 36.1%);
  34. --secondary-color-4-hue: 0.0;
  35. --secondary-color-4-saturation: 0.0%;
  36. --secondary-color-4-lightness: 36.1%;
  37. /* ----------- NUANCES COLORS ---------------- */
  38. --theme-nuance-color-1: hsl(165.2, 0%, 35.1%);
  39. --theme-nuance-color-1-hue: 165.2;
  40. --theme-nuance-color-1-saturation: 82.1%;
  41. --theme-nuance-color-1-lightness: 35.1%;
  42. --theme-nuance-color-2: hsl(165.2, 0%, 35.1%);
  43. --theme-nuance-color-2-hue: 165.2;
  44. --theme-nuance-color-2-saturation: 82.1%;
  45. --theme-nuance-color-2-lightness: 35.1%;
  46. --theme-nuance-color-3: hsl(165.2, 0%, 35.3%);
  47. --theme-nuance-color-3-hue: 165.2;
  48. --theme-nuance-color-3-saturation: 81.1%;
  49. --theme-nuance-color-3-lightness: 35.3%;
  50. --theme-nuance-color-4: hsl(164.9, 0%, 27.6%);
  51. --theme-nuance-color-4-hue: 164.9;
  52. --theme-nuance-color-4-saturation: 81.6%;
  53. --theme-nuance-color-4-lightness: 27.6%;
  54. /* ----------- ROYGP COLORS ------------------ */
  55. --theme-red-color: hsl(0.3, 80.0%, 50.0%);
  56. --theme-orange-color: #e76f51;
  57. --theme-yellow-color: hsl(60, 70.6%, 73.3%);
  58. --theme-green-color: #A3BE8C;
  59. --theme-purple-color: hsl(0.3, 70.0%, 45.0%);
  60. /* ------------------------------------------- */
  61. --background-color-1: var(--primary-color-1);
  62. --background-color-2: var(--primary-color-2);
  63. --background-color-3: var(--primary-color-3);
  64. --background-color-4: var(--primary-color-4);
  65. --border-color-1: var(--primary-color-2);
  66. --border-color-2: var(--primary-color-3);
  67. --border-color-3: var(--primary-color-4);
  68. --border-focus-color: var(--theme-nuance-color-2);
  69. --border-focus-shadow: var(--theme-nuance-color-1);
  70. --text-color-plain: var(--secondary-color-1);
  71. --text-color-subtile-1: var(--secondary-color-2);
  72. --text-color-subtile-2: var(--secondary-color-3);
  73. --code-background-color: var(--secondary-color-2);
  74. --code-text-color: var(--primary-color-2);
  75. --ui-range-thumb-color: var(--primary-color-4);
  76. --ui-range-thumb-border: var(--ui-ranger-thumb-color);
  77. --textarea-border-color: var(--secondary-color-4);
  78. --chat-id-color: var(--theme-nuance-color-4);
  79. /* ------------------------------------------- */
  80. --button-alert-text-hover: var(--primary-color-1);
  81. --button-alert-color-hover: var(--theme-purple-color);
  82. --button-alert-border-hover: var(--theme-purple-color);
  83. --button-alert-text-active: var(--primary-color-1);
  84. --button-alert-color-active: var(--theme-red-color);
  85. --button-alert-border-active: var(--theme-red-color);
  86. /* ----------- PRIMARY BUTTONS --------------- */
  87. /* - button should immediately catch the eye - */
  88. --button-primary-text:
  89. hsl(0,
  90. calc(var(--primary-color-1-saturation) - 100%),
  91. calc(var(--primary-color-1-lightness) + 100%));
  92. --button-primary-color: var(--theme-nuance-color-3);
  93. --button-primary-border: var(--theme-nuance-color-3);
  94. /* ---------hover---------- */
  95. --button-primary-text-hover:
  96. hsl(0,
  97. calc(var(--primary-color-1-saturation) - 100%),
  98. calc(var(--primary-color-1-lightness) + 100%));
  99. --button-primary-color-hover:
  100. hsl(165.2,
  101. calc(var(--theme-nuance-color-3-saturation) - 100%),
  102. calc(var(--theme-nuance-color-3-lightness) - 10%));
  103. --button-primary-border-hover:
  104. hsl(165.2,
  105. calc(var(--theme-nuance-color-3-saturation) - 100%),
  106. calc(var(--theme-nuance-color-3-lightness) - 10%));
  107. /* ---------active--------- */
  108. --button-primary-text-active:
  109. hsl(165.2,
  110. calc(var(--theme-nuance-color-3-saturation) - 100%),
  111. calc(var(--theme-nuance-color-3-lightness) + 100%));
  112. --button-primary-color-active:
  113. hsl(165.2,
  114. calc(var(--theme-nuance-color-3-saturation) - 100%),
  115. calc(var(--theme-nuance-color-3-lightness) - 15%));
  116. --button-primary-border-active:
  117. hsl(165.2,
  118. calc(var(--theme-nuance-color-3-saturation) - 100%),
  119. calc(var(--theme-nuance-color-3-lightness) + 10%));
  120. /* ---------- SECONDARY BUTTONS -------------- */
  121. /* these should NOT immediately catch the eye */
  122. --button-secondary-text:
  123. hsl(165.2,
  124. calc(var(--theme-nuance-color-3-saturation) - 100%),
  125. calc(var(--theme-nuance-color-3-lightness) - 50%));
  126. --button-secondary-color: var(--primary-color-3);
  127. --button-secondary-border: var(--primary-color-3);
  128. /* ---------hover---------- */
  129. --button-secondary-text-hover:
  130. hsl(165.2,
  131. calc(var(--theme-nuance-color-3-saturation) - 100%),
  132. calc(var(--theme-nuance-color-3-lightness) - 80%));
  133. --button-secondary-color-hover: var(--primary-color-4);
  134. --button-secondary-border-hover: var(--primary-color-4);
  135. /* ---------active--------- */
  136. --button-secondary-text-active:
  137. hsl(165.2,
  138. calc(var(--theme-nuance-color-3-saturation) - 100%),
  139. calc(var(--theme-nuance-color-3-lightness) - 80%));
  140. --button-secondary-color-active:
  141. hsl(0,
  142. calc(var(--primary-color-4-saturation) - 100%),
  143. calc(var(--primary-color-4-lightness) - 15%));
  144. --button-secondary-border-active:
  145. hsl(0,
  146. calc(var(--primary-color-4-saturation) - 100%),
  147. calc(var(--primary-color-4-lightness) - 15%));
  148. /* ---------- TERTIARY BUTTONS --------------- */
  149. /* ---------- disabled buttons --------------- */
  150. --button-tertiary-text: var(--primary-color-4);
  151. --button-tertiary-color: var(--primary-color-2);
  152. --button-tertiary-border: var(--primary-color-2);
  153. /* ---------hover---------- */
  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. --loading-color-1: #eeeeee00;
  158. --loading-color-2: #eeeeeeff;
  159. }