Advertisement
fontiago

cohost color template

Nov 19th, 2022 (edited)
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.97 KB | None | 0 0
  1. /* cohost custom colors template v0.2.1
  2. i aint messing with mobile
  3. @naidje's custom theme might have more stuff than this idk:
  4. https://cohost.org/naidje/post/381261-cohost-purple-userst */
  5. :root {
  6. /* main colors */
  7. --color-notWhite: 255 200 200;
  8. --color-notBlack: 20 120 120;
  9. --color-cherry: 100 0 200;
  10. --color-strawberry: 0 0 200;
  11. --color-mango: 0 200 0;
  12. --color-longan: 0 200 200;
  13. --color-white: 255 200 0;
  14. --color-black: 0 200 255;
  15.  
  16. /* and more! */
  17. --color-mango-100: 0 200 0;
  18. /* ^ used for some smaller backgrounds */
  19. --color-longan-100: 0 200 200;
  20. /* used for some smaller backgrounds */
  21. --color-longan-300: 0 200 200;
  22. /* used for some button backgrounds */
  23. --color-cherry-100: 0 200 200;
  24. /* used for Post button background */
  25. --color-cherry-200: 0 225 225;
  26. /* used for Post button background */
  27. --color-cherry-600: 50 150 50;
  28. /* used for hover background of page switcher */
  29. --color-cherry-800: 0 50 50;
  30. /* used for Post button text */
  31. --color-cherry-900: 0 25 25;
  32. /*used for Post button text */
  33. --color-gray-300: 0 0 200;
  34. /* used for some separators */
  35. --color-gray-400: 200 0 255;
  36. /* used for tags under posts */
  37. --color-gray-500: 200 0 255;
  38. /* used for timestamps */
  39. --color-gray-600: 200 255 255;
  40. /* used for user @ links */
  41. --color-gray-800: 255 100 100;
  42. /* used for embed links */
  43. --color-foreground-200: 50 255 50;
  44. /* used for text of inactive feed tab, normally cherry-ish? */
  45. --color-foreground-800: 20 100 20;
  46. /* background of inactive feed tab */
  47. }
  48. #freshworks-container {
  49. /* i don't want to figure out how to recolor this so these 3 lines just hide the container. turn off the stylesheet for a sec to report a bug (which you should if you see one!important) and also to check if its a bug with this stylesheet in which case don't do that. */
  50. display:none;
  51. }
  52. .text-notBlack, .prose, .prose-stone, .lg\:text-notBlack {
  53. /* prose has a BUNCH of crap in the stylesheet from somewhere, i'm not messing with the stuff i didnt see needed, idc */
  54. color: rgb(var(--color-notBlack)/var(--tw-text-opacity));
  55. --tw-prose-headings: rgb(var(--color-black));
  56. --tw-prose-code: rgb(var(--color-black));
  57. --tw-prose-bold: rgb(var(--color-black));
  58. --tw-prose-quotes: rgb(var(--color-black));
  59. --tw-prose-bullets: rgb(var(--color-black));
  60. --tw-prose-counters: rgb(var(--color-black));
  61. --tw-prose-hr: rgb(var(--color-gray-300));
  62. }
  63. header ul.text-notWhite {
  64. color: rgb(var(--color-notBlack)/var(--tw-text-opacity));
  65. /* on my env, the account switcher needs this custom rule for some weird reason. if yours doesn't, just delete or comment it out */
  66. }
  67.  
  68. /* that's all the variables, below is just the implementation */
  69.  
  70. div[data-post-preview] hr:first-of-type::after {
  71. background-color: rgb(var(--color-white)/var(--tw-bg-opacity));
  72. color: rgb(var(--color-gray-800)/var(--tw-text-opacity));
  73. }
  74. .bg-notWhite, input[type=checkbox], .kp, .lg\:bg-notWhite, .hover\:bg-notWhite:hover {
  75. background-color: rgb(var(--color-notWhite)/var(--tw-bg-opacity));
  76. }
  77. .border-notWhite {
  78. border-color: rgb(var(--color-notWhite)/var(--tw-border-opacity));
  79. }
  80. input[type=checkbox] {
  81. color: rgb(var(--color-notWhite)/var(--tw-text-opacity));
  82. }
  83. .text-notWhite, .hover\:text-notWhite:hover {
  84. color: rgb(var(--color-notWhite)/var(--tw-text-opacity));
  85. }
  86. .kbp {
  87. color: rgb(var(--color-notWhite));
  88. background-color: rgb(var(--color-cherry));
  89. }
  90. .kbs {
  91. color: rgb(var(--color-gray-800));
  92. background: rgb(var(--color-gray-300));
  93. }
  94. a.kb.kbl, a.tw._f1m {
  95. color: rgb(var(--color-gray-800));
  96. }
  97. .bg-notBlack, .hover\:bg-notBlack:hover {
  98. background-color: rgb(var(--color-notBlack)/var(--tw-bg-opacity));
  99. }
  100. .border-notBlack {
  101. border-color: rgb(var(--color-notBlack)/var(--tw-border-opacity));
  102. }
  103. .bg-white, [type=text], [type=email], [type=url], [type=password], [type=number], [type=date], [type=datetime-local], [type=month], [type=search], [type=tel], [type=time], [type=week], [multiple], textarea, select {
  104. background-color: rgb(var(--color-white)/var(--tw-bg-opacity));
  105. color: rgb(var(--color-notBlack)/var(--tw-text-opacity));
  106. }
  107. .text-white {
  108. color: rgb(var(--color-white)/var(--tw-text-opacity));
  109. }
  110. .text-black, .text-cherry-900 {
  111. color: rgb(var(--color-black)/var(--tw-text-opacity));
  112. }
  113. .kp .th, .kp .kd {
  114. color: rgb(var(--color-black))
  115. }
  116. .border-gray-300 {
  117. border-color: rgb(var(--color-gray-300)/var(--tw-text-opacity));
  118. }
  119. .text-gray-400 {
  120. color: rgb(var(--color-gray-400)/var(--tw-text-opacity));
  121. }
  122. .text-gray-500 {
  123. color: rgb(var(--color-gray-500)/var(--tw-text-opacity));
  124. }
  125. .text-gray-600 {
  126. color: rgb(var(--color-gray-600)/var(--tw-text-opacity));
  127. }
  128. .text-gray-800 {
  129. color: rgb(var(--color-gray-800)/var(--tw-text-opacity));
  130. }
  131. .border-cherry {
  132. border-color: rgb(var(--color-cherry)/var(--tw-border-opacity));
  133. }
  134. .text-cherry {
  135. color: rgb(var(--color-cherry)/var(--tw-text-opacity));
  136. }
  137. .bg-mango-100 {
  138. background-color: rgb(var(--color-mango-100)/var(--tw-bg-opacity));
  139. }
  140. .bg-longan-100 {
  141. background-color: rgb(var(--color-longan-100)/var(--tw-bg-opacity));
  142. }
  143. .bg-longan-300 {
  144. background-color: rgb(var(--color-longan-300)/var(--tw-bg-opacity));
  145. }
  146. .bg-cherry {
  147. background-color: rgb(var(--color-cherry)/var(--tw-bg-opacity));
  148. }
  149. .hover\:text-cherry:hover {
  150. color: rgb(var(--color-cherry)/var(--tw-text-opacity));
  151. }
  152. .hover\:text-cherry-800:hover {
  153. color: rgb(var(--color-cherry-800)/var(--tw-text-opacity));
  154. }
  155. .hover\:text-cherry-900:hover {
  156. color: rgb(var(--color-cherry-900)/var(--tw-text-opacity));
  157. }
  158. .hover\:bg-cherry-100:hover {
  159. background-color: rgb(var(--color-cherry-100)/var(--tw-bg-opacity));
  160. }
  161. .hover\:bg-cherry-200:hover {
  162. background-color: rgb(var(--color-cherry-200)/var(--tw-bg-opacity));
  163. }
  164. .fill-cherry {
  165. fill: rgb(var(--color-cherry));
  166. }
  167. .group:hover .group-hover\:bg-cherry-600 {
  168. background-color: rgb(var(--color-cherry-600)/var(--tw-bg-opacity));
  169. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement