theme.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  1. /* This Theme is called "Wasp" and Obsidian Theme created by Santi Younger */
  2. :root
  3. {
  4. --font-monospace: "Source Code Pro", monospace;
  5. }
  6. .theme-dark
  7. {
  8. --button-hover-bg-color: #DAA520; /* Darker Yellow Background for Hover */
  9. --button-hover-text-color: #ffffff; /* White Text for Hover */
  10. --button-bg-color: #D49335; /* Gray-Black Background */
  11. --button-text-color: #242424; /* Light Gray Text */
  12. --background-primary: #242424;
  13. --background-primary-alt: #242424;
  14. --background-secondary: #191919;
  15. --background-secondary-alt: #3D3D3D;
  16. --text-normal: #faf2d6;
  17. --text-faint: #bdae93;
  18. --text-title-h1: #E0E0E0;
  19. --text-title-h2: #E0E0E0;
  20. --text-title-h3: #E0E0E0;
  21. --text-title-h4: #E0E0E0;
  22. --text-title-h5: #E0E0E0;
  23. --text-title-h6: #E0E0E0;
  24. --text-highlight-bg: #640211;
  25. --text-link: #83a598;
  26. --text-a-hover: #83a598;
  27. --text-accent-hover: #D49335;
  28. /* ^^^ added for hover over bracket internal links */
  29. --inline-code: #83a598;
  30. --code-block: #83a598;
  31. --text-a: #f8c537;
  32. --interactive-accent: #f8c537;
  33. --text-accent: #f8c537;
  34. --text-on-accent: #fff;
  35. --interactive-accent-rgb: #f8c537;
  36. --vim-cursor: #f8c537;
  37. /* --text-mark: add text-mark if needed, this should work together with 'mark' */
  38. --pre-code: #;
  39. --interactive-before: #7c6f64;
  40. --background-modifier-border: #f8c537;
  41. --text-selection: #f8c537;
  42. }
  43. .theme-dark .cm-s-obsidian span.obsidian-search-match-highlight {
  44. color: var(--text-normal);
  45. background-color: #483699;
  46. }
  47. .theme-light
  48. {
  49. --background-primary: #EDEDED;
  50. --background-secondary: #C4C4C4;
  51. /* thick menu border */
  52. --background-primary-alt: #;
  53. --background-secondary-alt: #707070; /* ← ↓ corner */
  54. --text-normal: #1A2023;
  55. --text-faint: #DEDEDE;
  56. --text-title-h1: #D49335;
  57. --text-title-h2: #D49335;
  58. --text-title-h3: #D49335;
  59. --text-title-h4: #D49335;
  60. --text-title-h5: #D49335;
  61. --text-link: #D49335;
  62. --text-a-hover: #D49335;
  63. --text-accent-hover: #D49335;
  64. /* ^^^ added for hover over bracket internal links */
  65. --inline-code: #458588;
  66. /* --text-mark: add if needed */
  67. --pre-code: #bebebe;
  68. /* --text-highlight-bg: add if needed */
  69. --interactive-before: #a89984;
  70. --background-modifier-border: #D49335;
  71. --text-a: #961327;
  72. --interactive-accent: #f8c537;
  73. --text-accent: #961327;
  74. --interactive-accent-rgb: #961327;
  75. --vim-cursor: #961327;
  76. --text-selection: #EDC180;
  77. --text-white: #ffffff;
  78. }
  79. .nav-file-title, .nav-folder-title {
  80. color: var(--text-normal);
  81. }
  82. .nav-file-title.is-active, .nav-folder-title.is-active, body:not(.is-grabbing) .nav-file-title:hover, body:not(.is-grabbing) .nav-folder-title:hover {
  83. background-color: var(--background-modifier-border);
  84. color: white;
  85. }
  86. .cm-s-obsidian span.cm-formatting-link {
  87. color: var(--text-normal);
  88. }
  89. .CodeMirror-guttermarker-subtle {
  90. color: var(--text-normal) !important;
  91. }
  92. button.mod-cta {
  93. background-color: var(--interactive-accent);
  94. color: var(--text-normal);
  95. }
  96. .vertical-tab-header-group-title {
  97. color: var(--text-white);
  98. }
  99. .cm-header-1 {
  100. font-size: 18px;
  101. color: var(--text-title-h1) !important;
  102. }
  103. .cm-header-2 {
  104. font-size: 18px;
  105. color: var(--text-title-h2) !important;
  106. }
  107. .cm-header-3 {
  108. font-size: 18px;
  109. color: var(--text-title-h3) !important;
  110. }
  111. .cm-header-4 {
  112. font-size: 18px;
  113. color: var(--text-title-h4) !important;
  114. }
  115. .cm-header-5 {
  116. font-size: 18px;
  117. color: var(--text-title-h5) !important;
  118. }
  119. .cm-header-6 {
  120. font-size: 18px;
  121. color: --text-normal;
  122. color: var(--text-title-h6) !important;
  123. }
  124. .markdown-preview-view h1 {
  125. font-size: 20px;
  126. line-height: 24px;
  127. color: var(--text-title-h1) !important;
  128. }
  129. .markdown-preview-view h2 {
  130. font-size: 20px;
  131. line-height: 24px;
  132. color: var(--text-title-h2) !important;
  133. }
  134. .markdown-preview-view h3 {
  135. font-size: 20px;
  136. line-height: 24px;
  137. color: var(--text-title-h3) !important;
  138. }
  139. .markdown-preview-view h4 {
  140. font-size: 20px;
  141. line-height: 24px;
  142. color: var(--text-title-h4) !important;
  143. }
  144. .markdown-preview-view h5 {
  145. font-size: 20px;
  146. line-height: 24px;
  147. color: var(--text-title-h5) !important;
  148. }
  149. .markdown-preview-view h6 {
  150. font-size: 20px;
  151. line-height: 24px;
  152. color: --text-normal;
  153. color: var(--text-title-h6) !important;
  154. }
  155. /*-----------------------------------------*/
  156. /* End of main theme, extra functionality can be added below */
  157. .markdown-source-view { font-family: var(--font-monospace)
  158. }
  159. .cm-fat-cursor .CodeMirror-cursor {
  160. background-color: #f8c537 !important;
  161. opacity: 80% !important;
  162. width: 9px !important;
  163. visibility: visible !important
  164. }
  165. .plugin-tabs .stayopen .view-header {
  166. border-bottom: 2px solid var(--interactive-accent)!important;
  167. }
  168. .plugin-tabs .mod-root.workspace-split.mod-vertical div.workspace-leaf:not(.stayopen) > .workspace-leaf-content > .view-header .view-header-title::before{
  169. background-color:transparent!important
  170. }
  171. .plugin-tabs .mod-root.workspace-split.mod-vertical .workspace-split.mod-vertical > div.workspace-leaf:not(.stayopen),
  172. .plugin-tabs .mod-root.workspace-split.mod-vertical > div.workspace-leaf:not(.stayopen){
  173. border-radius: 5px 5px 0px 0px!important;
  174. }
  175. .plugin-tabs .mod-root.workspace-split.mod-vertical div.workspace-leaf{
  176. border-color: var(--background-secondary-alt)!important;
  177. border-bottom-width: 0px!important;
  178. border-right-width: 0px!important
  179. }
  180. .theme-light.plugin-tabs .mod-root.workspace-split.mod-vertical div.workspace-leaf{
  181. border-color: var(--background-secondary-alt)!important;
  182. border-left-width:3px!important;
  183. border-bottom-width: 0px!important;
  184. border-right-width: 0px!important
  185. }
  186. .plugin-tabs .mod-root.workspace-split.mod-vertical > div.workspace-leaf hr.workspace-leaf-resize-handle,
  187. .plugin-tabs .mod-root.workspace-split.mod-vertical > .mod-vertical hr.workspace-leaf-resize-handle{
  188. display: none;
  189. }
  190. .plugin-tabs .mod-root.workspace-split.mod-vertical div.workspace-leaf .view-header{
  191. border-left-color: transparent!important
  192. }
  193. .plugin-tabs .workspace-split.mod-root > .workspace-leaf:last-of-type .workspace-leaf-content,
  194. .plugin-tabs .workspace-split.mod-root > .workspace-leaf:first-of-type .workspace-leaf-content {
  195. border-radius: 0px!important;
  196. }
  197. .plugin-tabs .theme-dark .mod-root.workspace-split.mod-vertical .workspace-split.mod-vertical > div.workspace-leaf.mod-active,
  198. .plugin-tabs .theme-dark .mod-root.workspace-split.mod-vertical > div.workspace-leaf.mod-active {
  199. border: 0!important;
  200. border-radius: 0px 0px 0px 0px!important;
  201. }
  202. button.mod-cta {
  203. background-color: var(--button-bg-color); /* Uses variable for background color */
  204. color: var(--button-text-color); /* Uses variable for text color */
  205. font-weight: 600; /* Makes text bold but less than standard bold */
  206. }
  207. button.mod-cta:hover, button.mod-cta:focus {
  208. background-color: var(--button-hover-bg-color); /* Darker Yellow Background for Hover */
  209. color: var(--button-text-color); /* Keeps the default light gray text color on hover */
  210. font-weight: 600; /* Makes text bold but less than standard bold */
  211. }
  212. .vertical-tab-nav-item.is-active {
  213. background-color: var(--button-bg-color); /* Gray-Black Background */
  214. color: var(--button-text-color); /* Light Gray Text */
  215. font-weight: bold; /* Makes text bold */
  216. font-weight: 600; /* Makes text bold but less than standard bold */
  217. }
  218. .vertical-tab-nav-item.is-active:hover, .vertical-tab-nav-item.is-active:focus {
  219. background-color: var(--button-hover-bg-color); /* Darker Yellow Background for Hover */
  220. color: var(--button-text-color); /* Keeps the default light gray text color on hover */
  221. font-weight: 600; /* Makes text bold but less than standard bold */
  222. }
  223. body:not(.is-phone) .vertical-tab-nav-item.is-active {
  224. --background-modifier-hover: var(--button-hover-bg-color); /* More specific variable for hover */
  225. --icon-color: var(--button-text-color);
  226. background-color: var(--button-bg-color);
  227. color: var(--button-text-color);
  228. font-weight: 600; /* Makes text bold but less than standard bold */
  229. }
  230. body:not(.is-phone) .vertical-tab-nav-item.is-active:hover,
  231. body:not(.is-phone) .vertical-tab-nav-item.is-active:focus {
  232. background-color: var(--button-hover-bg-color);
  233. color: var(--button-text-color);
  234. font-weight: 600; /* Makes text bold but less than standard bold */
  235. }
  236. .checkbox-container.is-enabled {
  237. background-color: var(--button-bg-color); /* Gray-Black Background */
  238. color: var(--button-text-color); /* Light Gray Text */
  239. }
  240. .checkbox-container.is-enabled:hover, .checkbox-container.is-enabled:focus {
  241. background-color: var(--button-hover-bg-color); /* Darker Yellow Background for Hover */
  242. color: var(--button-text-color); /* Keeps the default light gray text color on hover */
  243. }
  244. .flair.mod-pop {
  245. background-color: var(--button-bg-color); /* Gray-Black Background */
  246. color: var(--button-text-color); /* Light Gray Text */
  247. }
  248. .flair.mod-pop:hover, .flair.mod-pop:focus {
  249. background-color: var(--button-hover-bg-color); /* Darker Yellow Background for Hover */
  250. color: var(--button-text-color); /* Keeps the default light gray text color on hover */
  251. }
  252. /** hr styles -- PREVIEW MODE */
  253. .cm-line hr,
  254. .markdown-preview-view hr {
  255. margin-block-start: 4em;
  256. margin-block-end: 4em;
  257. border: none;
  258. height: 0;
  259. border-bottom: 1px solid;
  260. border-image-slice: 1;
  261. border-width: 1px;
  262. border-image-source: linear-gradient(to right, transparent, var(--text-accent), transparent);
  263. }
  264. .cm-line hr::after,
  265. .markdown-preview-view hr::after {
  266. /* content: '\1f41d'; */
  267. display: inline-block;
  268. position: absolute;
  269. left: 50%;
  270. transform: translate(-50%, -50%);
  271. transform-origin: 50% 50%;
  272. padding: 0.5rem;
  273. color: var(--text-sub-accent);
  274. background-color: var(--background-primary);
  275. }