1
0

theme-mangotango.css 6.6 KB

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