├── .assets
├── clj.png
├── magit.png
└── tsx.png
├── LICENSE
├── README.org
├── stimmung-themes-dark-theme.el
├── stimmung-themes-light-theme.el
└── stimmung-themes.el
/.assets/clj.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/motform/stimmung-themes/c7fbe9f06fff0fca2f2fc9a448865c6fc1e6ce8a/.assets/clj.png
--------------------------------------------------------------------------------
/.assets/magit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/motform/stimmung-themes/c7fbe9f06fff0fca2f2fc9a448865c6fc1e6ce8a/.assets/magit.png
--------------------------------------------------------------------------------
/.assets/tsx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/motform/stimmung-themes/c7fbe9f06fff0fca2f2fc9a448865c6fc1e6ce8a/.assets/tsx.png
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 |
635 | Copyright (C)
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | Copyright (C)
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------
/README.org:
--------------------------------------------------------------------------------
1 | #+BEGIN_QUOTE
2 | When you say: We're in a good /Stimmung/, you mean a good psychological tuning, being well tuned together.
3 | #+END_QUOTE
4 | /— Karlheinz Stockhausen, 1973/
5 |
6 | * Stimmung, Emacs tuned to inner harmonies
7 |
8 | /Stimmung-themes/ is a pair of monoesuqe Emacs themes with minimal syntax highlighting. They are inspired by [[https://github.com/tonsky/sublime-scheme-alabaster][Tonsky's Alabaster theme]], following the maxim that a theme that highlights everything paradoxically highlights nothing. Text backgrounds (comments, strings and constants) and font variations (definitions/callsites) are used as alternatives to text colors, ensuring a harmonious reading experience. The hues of the /stimmung-dark/ are selected to match the default macOS dark mode. The themes feature a (default golden beige) highlight color that you can set color and application of, see /Customization/.
9 |
10 | Emacs packages often define their own faces, making theming a relatively sisyphean task. /Stimmung-themes/ defines all default faces and some of the most common, and uncommon, packages. This includes programming modes like [[https://github.com/emacs-lsp/lsp-ui][lsp-ui]] and [[https://github.com/magit/magit][magit]], but also things like [[https://github.com/hlissner/emacs-solaire-mode][solaire]] and productivity/communication modes like [[https://git.notmuchmail.org/git/notmuch][notmuch]] or [[https://github.com/skeeto/elfeed][elfeed]]. Open an issue or make pull request if you lack a definition, they are always appreciated!
11 |
12 | ** Screenshots
13 | [[./.assets/clj.png]]
14 |
15 | [[./.assets/tsx.png]]
16 |
17 | [[./.assets/magit.png]]
18 |
19 | The screenshots are set in [[https://fsd.it/shop/fonts/pragmatapro/][PragmataPro]] (with line-height [[https://github.com/tam5/font-patcher][patched]] to 1.4) and feature modeline/whitespace settings inspired by [[https://github.com/rougier][rougier]] that you can find in my [[https://github.com/motform/emacs.d][emacs.d]].
20 |
21 |
22 | ** Installation
23 | [[https://melpa.org/#/stimmung-themes][Stimmung-themes is distributed via MELPA]]. Install it with your package manager of preference (~package.el~, ~straight~, ~use-package~) and make sure the following lines are in your init-file:
24 |
25 | #+BEGIN_SRC emacs-lisp
26 | (require 'stimmung-themes) ; if you use package.el
27 | (stimmung-themes-load-light)
28 | #+END_SRC
29 |
30 | A typical use-package installation might look something like:
31 |
32 | #+BEGIN_SRC emacs-lisp
33 | (use-package stimmung-themes
34 | ;; :straight (stimmung-themes :host github :repo "motform/stimmung-themes") ; if you are a straight shooter
35 | :demand t
36 | :ensure t
37 | :config (stimmung-themes-load-light)) ; or (stimmung-themes-load-dark)
38 | #+END_SRC
39 |
40 | Note that some faces, like =org-block=, inherit from the =fixed-pitch= font, in order to allow them to properly work with =variable-pitch-mode=. This means that, in order to have a consistent experience, you may have to set the relevant =face-attribute=. For example:
41 |
42 | #+BEGIN_SRC emacs-lisp
43 | (set-face-attribute 'default nil :family "Iosevka" :height fixed-size :weight 'medium)
44 | (set-face-attribute 'fixed-pitch nil :family "Iosevka" :height fixed-size :weight 'medium)
45 | (set-face-attribute 'variable-pitch nil :family "Overpass Nerd Font" :height variable-size :weight 'normal)
46 | #+END_SRC
47 |
48 | ** Customization
49 |
50 | Stimmung offers extensive control what and how to highlight ~font-lock~ faces, i.e. the colors used for syntax highlighting. It exposes a number of customizable variables (see table) that take a value of either ~'background~ (highlight behind the text), ~'foreground~ (highlight of the text) or ~'none~ (no highlight). In addition to these, one can control the color of the background and foreground highlight in both modes. See [[https://github.com/motform/stimmung-themes/issues/20][this thread]] for the fruitful discussion that introduced these.
51 |
52 | | variable | values |
53 | |--------------------------------------------------+---------------------------------------------|
54 | | ~stimmung-themes-dark-highlight-color~ | [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Colors.html][any Emacs color]] |
55 | | ~stimmung-themes-dark-highlight-color-foreground~ | [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Colors.html][any Emacs color]] |
56 | | ~stimmung-themes-light-highlight-color~ | [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Colors.html][any Emacs color]] |
57 | | ~stimmung-themes-light-highlight-color-foreground~ | [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Colors.html][any Emacs color]] |
58 | | ~stimmung-themes-builtin~ | 'background (default), 'foreground or 'none |
59 | | ~stimmung-themes-comment~ | 'background (default), 'foreground or 'none |
60 | | ~stimmung-themes-constant~ | 'background (default), 'foreground or 'none |
61 | | ~stimmung-themes-string~ | 'background (default), 'foreground or 'none |
62 | | ~stimmung-themes-markup~ | 'background (default), 'foreground or 'none |
63 | | ~stimmung-themes-type~ | 'background (default), 'foreground or 'none |
64 | | ~stimmung-themes-function-name~ | 'background, 'foreground or 'none (default) |
65 | | ~stimmung-themes-keyword~ | 'background, 'foreground or 'none (default) |
66 | | ~stimmung-themes-variable-name~ | 'background, 'foreground or 'none (default) |
67 | | ~stimmung-themes-preprocessor~ | 'background, 'foreground or 'none (default) |
68 | | ~stimmung-themes-regex~ | 'background, 'foreground or 'none (default) |
69 |
70 | There is a convenience function to toggle between the dark and light theme, ~stimmung-themes-toggle~, along with variants to interactively load the dark and light versions ~stimmung-themes-load-{light|dark}~.
71 |
--------------------------------------------------------------------------------
/stimmung-themes-dark-theme.el:
--------------------------------------------------------------------------------
1 | ;;; stimmung-themes-dark-theme.el --- A dark theme tuned to inner harmonies -*- lexical-binding: t -*-
2 | ;; Copyright © 2019
3 |
4 | ;; Author: Love Lagerkvist
5 | ;; URL: https://github.com/motform/stimmung-themes
6 | ;; Created: 2019-12-20
7 | ;; Version: 2022-03-26
8 | ;; Keywords: faces
9 |
10 | ;; This file is NOT part of GNU Emacs.
11 |
12 | ;;; License:
13 |
14 | ;; This program is free software; you can redistribute it and/or modify
15 | ;; it under the terms of the GNU General Public License as published by
16 | ;; the Free Software Foundation; either version 3, or (at your option)
17 | ;; any later version.
18 |
19 | ;; This program is distributed in the hope that it will be useful,
20 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
21 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 | ;; GNU General Public License for more details.
23 |
24 | ;; For a full copy of the GNU General Public License
25 | ;; see .
26 |
27 | ;;; Commentary:
28 |
29 | ;; Stimmung (dark and light) is a pair of monochrome Emacs themes
30 | ;; with minimal syntax highlighting. They are inspired by Tonsky's
31 | ;; Alabaster theme (https://github.com/tonsky/sublime-scheme-alabaster),
32 | ;; following the maxim that a theme that highlights everything
33 | ;; paradoxically highlights nothing. Text backgrounds (comments,
34 | ;; strings and constants) and font variations (definitions) are used
35 | ;; as alternatives to text colors, ensuring a harmonious reading
36 | ;; experience. Use `stimmung-themes-dark-highlight-color' and
37 | ;; `stimmung-themes-light-highlight-color' to customize the highlight.
38 | ;;
39 | ;; Screenshots are available at: https://github.com/motform/stimmung-themes
40 |
41 | ;;; Code:
42 |
43 | (require 'stimmung-themes)
44 |
45 | (deftheme stimmung-themes-dark
46 | "A dark theme tuned to inner harmonies."
47 | :family 'stimmung-themes
48 | :kind 'color-scheme
49 | :background-mode 'dark)
50 |
51 | (let ((bg1 "#1E1E1E")
52 | (bg2 "#404040")
53 | (bg3 "#323232") ; The primary "secondary" background color.
54 | (bg4 "gray30")
55 | (bg5 "gray15")
56 | (bg6 "gray8")
57 |
58 | (fg1 "white")
59 | (fg2 "gray20")
60 | (fg3 "gray30")
61 | (fg4 "gray40")
62 | (fg5 "gray50")
63 |
64 | (str "gray20")
65 | (str-fg "gray70")
66 |
67 | (search "yellow4")
68 | (search2 "LightYellow4")
69 |
70 | (warning "orange")
71 | (red "IndianRed1")
72 | (ok "SeaGreen"))
73 | (cl-flet ((user-controlled-with (var &key bg fg italic? bold? extend?)
74 | "Utility function for user-customizable faces.
75 | VAR is the variable that is checked, like `stimmung-themes-comment'.
76 | BG and FG correspond to the highlight used by 'background and 'foreground,
77 | if something other than the standard is desired.
78 | ITALIC? and BOLD? control font variant."
79 | (let ((font-variants `(,@(when italic? `(:italic t))
80 | ,@(when extend? `(:extend t))
81 | ,@(when bold? `(:bold t)))))
82 | `((t ,(pcase var
83 | ('background `(:background ,(or bg stimmung-themes-dark-highlight-color) :foreground ,fg1 ,@font-variants))
84 | ('foreground `(:background ,bg1 :foreground ,(or fg stimmung-themes-dark-highlight-color-foreground) ,@font-variants))
85 | ('none `(:background ,bg1 :foreground ,fg1 ,@font-variants))))))))
86 | (custom-theme-set-faces
87 | 'stimmung-themes-dark
88 |
89 | `(default ((t (:background ,bg1 :foreground ,fg1))))
90 | ;; `(shadow ((t (:background ,bg1))))
91 | `(hl-line ((t (:background ,bg2 :extend t))))
92 |
93 | `(region ((t (:background ,bg4))))
94 | `(lazy-highlight ((t (:foreground ,fg1 :background ,search2))))
95 | `(secondary-selection ((t (:foreground ,fg1 :background ,search2))))
96 | `(highlight ((t (:foreground ,fg1 :background ,bg3 :bold t))))
97 | `(fringe ((t (:foreground ,fg1 :background ,bg1))))
98 | `(match ((t (:foreground ,ok :bold t))))
99 | `(scroll-bar ((t (:foreground ,fg5 :background ,bg1))))
100 |
101 | `(link ((t (:underline t))))
102 | `(link-visited ((t (:underline t :italic t))))
103 | `(button ((t (:underline t))))
104 | `(tooltip ((t (:foreground ,fg1 :background ,bg3))))
105 | `(vertical-border ((t (:foreground ,bg3 :background ,bg3))))
106 | `(info-string ((t (:background ,stimmung-themes-dark-highlight-color))))
107 | `(default-italic ((t (:slant italic))))
108 |
109 | `(error ((t (:foreground ,red))))
110 | `(warning ((t (:foreground ,warning))))
111 | `(success ((t (:foreground ,ok))))
112 | `(cancel ((t (:foreground ,red :strike-through t))))
113 |
114 | `(minibuffer-noticable-prompt ((t (:foreground ,fg1 :bold t))))
115 | `(minibuffer-prompt ((t (:foreground ,fg1 :bold t))))
116 |
117 | `(isearch ((t (:foreground ,fg1 :background ,search))))
118 | `(isearch-highlight ((t (:foreground ,fg1 :background ,search2))))
119 | `(isearch-fail ((t (:foreground ,fg1 :background ,search2))))
120 |
121 | `(paren-matched ((t (:foreground ,ok :background ,bg1))))
122 | `(paren-unmatched ((t (:foreground ,red :background ,bg1))))
123 | `(escape-glyph ((t (:foreground ,red :bold t))))
124 | `(homoglyph ((t (:foreground ,red :bold t))))
125 |
126 | `(line-number ((t (:foreground ,fg5 :background ,bg1))))
127 | `(line-number-current-line ((t (:foreground ,fg1 :background ,bg1))))
128 | `(linum ((t (:inherit 'line-number))))
129 |
130 | ;; syntax, user customizable
131 | `(font-lock-comment-delimiter-face ,(user-controlled-with stimmung-themes-comment :bg str :fg fg5 :italic? t :extend? t))
132 | `(font-lock-comment-face ,(user-controlled-with stimmung-themes-comment :bg str :fg fg5 :italic? t :extend? t))
133 | `(font-lock-doc-face ,(user-controlled-with stimmung-themes-doc :bg str :fg fg5 :italic? nil :extend? t))
134 |
135 | `(font-lock-negation-char-face ,(user-controlled-with stimmung-themes-preprocessor))
136 | `(font-lock-preprocessor-face ,(user-controlled-with stimmung-themes-preprocessor))
137 | `(font-lock-preprocessor-char-face ,(user-controlled-with stimmung-themes-preprocessor))
138 |
139 | `(font-lock-regexp-grouping-backslash ,(user-controlled-with stimmung-themes-regex :bold? t))
140 | `(font-lock-regexp-grouping-construct ,(user-controlled-with stimmung-themes-regex :bold? t))
141 |
142 | `(font-lock-builtin-face ,(user-controlled-with stimmung-themes-builtin :italic? t))
143 | `(font-lock-constant-face ,(user-controlled-with stimmung-themes-constant :italic? t))
144 | `(font-lock-function-name-face ,(user-controlled-with stimmung-themes-function-name :bold? t))
145 | `(font-lock-keyword-face ,(user-controlled-with stimmung-themes-keyword))
146 | `(font-lock-type-face ,(user-controlled-with stimmung-themes-type :italic? t))
147 | `(font-lock-variable-name-face ,(user-controlled-with stimmung-themes-variable-name :bold? t))
148 | `(font-lock-string-face ,(user-controlled-with stimmung-themes-string :bg str :fg str-fg))
149 | `(font-lock-doc-markup-face ,(user-controlled-with stimmung-themes-markup))
150 |
151 | ;; tree-sitter based font lock faces
152 | `(font-lock-regexp-face ,(user-controlled-with stimmung-themes-regex))
153 | `(font-lock-escape-face ,(user-controlled-with stimmung-themes-regex :italic? t))
154 | `(font-lock-number-face ((t (:foreground ,fg1))))
155 | `(font-lock-operator-face ((t (:foreground ,fg1))))
156 | `(font-lock-property-name-face ((t (:foreground ,fg1))))
157 | `(font-lock-property-use-face ((t (:foreground ,fg1))))
158 | `(font-lock-bracket-face ((t (:foreground ,str-fg))))
159 | `(font-lock-delimiter-face ((t (:foreground ,str-fg))))
160 | `(font-lock-punctuation-face ((t (:foreground ,str-fg))))
161 | `(font-lock-misc-punctuation-face ((t (:foreground ,str-fg))))
162 |
163 | ;; custom
164 | `(custom-invalid ((t (:background ,bg1 :foreground ,fg1 :underline (:style wave :color ,warning)))))
165 | `(custom-rogue ((t (:background ,bg1 :foreground ,fg5 :underline nil))))
166 | `(custom-modified ((t (:background ,stimmung-themes-dark-highlight-color :foreground ,fg1))))
167 | `(custom-set ((t (:background ,bg1 :foreground ,fg1 :bold t))))
168 | `(custom-changed ((t (:background ,bg1 :foreground ,fg1 :italic t))))
169 | `(custom-themed ((t (:background ,str :foreground ,fg1))))
170 | `(custom-saved ((t (:background ,bg1 :foreground ,fg1 :bold t))))
171 | `(custom-state ((t (:background ,bg1 :foreground ,fg1 :italic t))))
172 | `(custom-link ((t (:background ,str :foreground ,fg1 :underline nil))))
173 | `(custom-visibility ((t (:background ,bg1 :foreground ,fg5 :height 0.8))))
174 | `(custom-comment ((t (:background ,bg1 :foreground ,fg1 :italic t))))
175 | `(custom-comment-tag ((t (:background ,bg1 :foreground ,fg1 :italic t))))
176 |
177 | `(custom-group-tag-1 ((t (:background ,bg1 :foreground ,fg1 :bold t :height 1.1 :inherit variable-pitch))))
178 | `(custom-group-tag ((t (:background ,bg1 :foreground ,fg1 :bold t :height 1.1 :inherit variable-pitch))))
179 | `(custom-group-subtitle ((t (:background ,bg1 :foreground ,fg1 :bold t))))
180 |
181 | `(custom-button ((t (:background ,bg5 :foreground ,fg1 :box (:line-width 1 :color ,fg5)))))
182 | `(custom-button-mouse ((t (:background ,bg3 :foreground ,fg1 :box (:line-width 1 :color ,bg4)))))
183 | `(custom-button-unraised ((t (:background ,bg5 :foreground ,fg1 :box (:line-width 1 :color ,fg5)))))
184 |
185 | `(custom-variable-obsolete ((t (:background ,bg1 :foreground ,fg5))))
186 | `(custom-variable-tag ((t (:background ,bg1 :foreground ,fg5))))
187 | `(custom-variable-button ((t (:background ,bg5 :foreground ,fg1 :box (:line-width 1 :color ,fg5)))))
188 |
189 | ;; widget
190 | `(widget-inactive ((t (:background ,bg1 :foreground ,fg5))))
191 | `(widget-documentation ((t (:background ,bg1 :foreground ,fg1))))
192 | `(widget-button ((t (:background ,bg5 :foreground ,fg1 :box (:line-width 1 :color ,fg5)))))
193 | `(widget-field ((t (:background ,bg2 :foreground ,fg1 :box (:line-width 1 :color ,bg4)))))
194 | `(widget-single-line-field ((t (:background ,bg2 :foreground ,fg1 :box (:line-width 1 :color ,bg4)))))
195 |
196 | ;; message
197 | `(message-cited-text-1 ((t (:foreground ,fg5))))
198 | `(message-cited-text-2 ((t (:foreground ,fg4))))
199 | `(message-cited-text-3 ((t (:foreground ,fg3))))
200 | `(message-cited-text-4 ((t (:inherit message-cited-text-3))))
201 | `(message-header-cc ((t (:foreground ,fg1))))
202 | `(message-header-name ((t (:foreground ,fg1))))
203 | `(message-header-newsgroups ((t (:inherit message-header-other))))
204 | `(message-header-other ((t (:foreground ,fg5))))
205 | `(message-header-subject ((t (:foreground ,fg1 :inherit bold))))
206 | `(message-header-to ((t (:foreground ,fg1))))
207 | `(message-header-xheader ((t (:background ,bg2))))
208 | `(message-mml ((t (:foreground ,fg5 :background ,bg2))))
209 | `(message-separator ((t (:background ,bg3))))
210 |
211 | ;; eshell
212 | `(eshell-ls-directory ((t (:background ,stimmung-themes-dark-highlight-color :bold t))))
213 | `(eshell-prompt ((t (:foreground ,fg1 :bold t))))
214 | `(eshell-ls-executable ((t (:foreground ,fg1 :bold t))))
215 | `(eshell-ls-symlink ((t (:foreground ,fg1 :italic t))))
216 | `(eshell-ls-special ((t (:foreground ,ok :italic t))))
217 | `(eshell-ls-backup ((t (:foreground ,fg1 :italic t))))
218 | `(eshell-ls-readonly ((t (:foreground ,red))))
219 | `(eshell-ls-unreadable ((t (:foreground ,red))))
220 | `(eshell-ls-missing ((t (:foreground ,red))))
221 | `(eshell-ls-product ((t (:foreground ,fg1))))
222 | `(eshell-ls-archive ((t (:foreground ,fg1))))
223 | `(eshell-ls-entries ((t (:foreground ,fg1))))
224 |
225 | ;; avy
226 | `(avy-lead-face ((t (:background ,bg3 :foreground ,fg1 :distant-foreground ,fg1 :bold t))))
227 | `(avy-lead-face-0 ((t (:inherit 'avy-lead-face))))
228 | `(avy-lead-face-1 ((t (:inherit 'avy-lead-face))))
229 | `(avy-lead-face-2 ((t (:inherit 'avy-lead-face))))
230 |
231 | ;; flyspell
232 | `(flyspell-incorrect ((t (:underline (:style wave :color ,red)))))
233 | `(flyspell-duplicate ((t (:underline (:style wave :color ,search)))))
234 | `(flycheck-error ((t (:underline (:style wave :color ,red)))))
235 | `(flysheck-warning ((t (:underline (:style wave :color ,search)))))
236 | `(flysheck-warning-overlay ((t (:underline (:style wave :color ,search)))))
237 | `(flycheck-note ((t (:underline (:style wave :color ,ok)))))
238 |
239 | ;; hydra
240 | `(hydra-face-red ((t (:foreground ,fg1 :bold t))))
241 | `(hydra-face-blue ((t (:foreground ,fg1 :bold t))))
242 | `(hydra-face-amaranth ((t (:foreground ,fg1 :bold t))))
243 | `(hydra-face-pink ((t (:foreground ,fg1 :bold t))))
244 | `(hydra-face-teal ((t (:foreground ,fg1 :bold t))))
245 |
246 | ;; cider
247 | `(cider-fringe-good-face ((t (:foreground ,ok))))
248 | ;; `(cider-test-success-face ((t (:background ,ok :foreground ,bg1))))
249 | ;; `(cider-test-failure-face ((t (:background ,red :foreground ,bg1))))
250 | `(cider-test-error-face ((t (:background ,stimmung-themes-dark-highlight-color))))
251 | `(cider-result-overlay-face ((t (:background ,bg5 :box (:line-width 1 :color ,fg5)))))
252 |
253 | ;; company
254 | `(company-scrollbar-bg ((t (:background ,bg3))))
255 | `(company-scrollbar-fg ((t (:background ,fg5))))
256 | `(company-tooltip-scrollbar-thumb ((t (:background ,fg5))))
257 | `(company-tooltip-scrollbar-track ((t (:background ,bg3))))
258 | `(company-tooltip-common ((t (:foreground ,fg1))))
259 | `(company-tooltip ((t (:background ,bg3 :foreground ,fg1 :inherit fixed-pitch))))
260 | `(company-tooltip-selection ((t (:background ,bg4 :foreground ,fg1))))
261 | `(company-tooltip-common ((t (:foreground ,fg1 :background ,search2))))
262 | `(company-tooltip-common-selection ((t (:foreground ,fg1 :background ,search2))))
263 | `(company-tooltip-search ((t (:foreground ,fg1 :background ,search2 :inherit fixed-pitch))))
264 | `(company-tooltip-search-selection ((t (:foreground ,fg1 :background ,search2))))
265 | `(company-tooltip-annotation ((t (:foreground ,fg5 :inherit fixed-pitch))))
266 | `(company-tooltip-quick-access ((t (:foreground ,fg4))))
267 | `(company-tooltip-quick-access-selection ((t (:foreground ,fg5))))
268 | `(company-tooltip-mouse ((t (:inherit highlight))))
269 | `(company-preview ((t (:background ,stimmung-themes-dark-highlight-color :foreground ,fg1))))
270 | `(company-echo-common ((t (:background ,fg1 :foreground ,bg1))))
271 |
272 | ;; corfu
273 | `(corfu-current ((t (:background ,bg4 :foreground ,fg1))))
274 | `(corfu-echo ((t (:background ,bg1 :foreground ,fg1 :italic t))))
275 |
276 | ;; consult
277 | `(consult-project-extra-projects ((t (:foreground ,str-fg :italic t))))
278 | `(consult-file ((t (:foreground ,fg1))))
279 | `(consult-grep-context ((t (:foreground ,fg1))))
280 | `(consult-grep-help ((t (:foreground ,ok))))
281 | `(consult-highlight-match ((t (:background ,search))))
282 | `(consult-preview-insertion ((t (:foreground ,fg1))))
283 | `(consult-preview-line ((t (:foreground ,fg1))))
284 | `(consult-separator ((t (:background ,bg1 :foreground ,fg5))))
285 |
286 | ;; compilation
287 | `(compilation-line-number ((t (:bold t))))
288 | `(compilation-column-number ((t (:inherit 'font-lock-comment-face))))
289 | `(compilation-error ((t (:inherit 'error :bold t))))
290 | `(compilation-warning ((t (:inherit 'warning :italic t))))
291 | `(compilation-info ((t (:inherit 'success))))
292 | `(compilation-mode-line-exit ((t (:inherit 'compilation-info))))
293 | `(compilation-mode-line-fail ((t (:inherit 'compilation-error))))
294 |
295 | ;; mode-line
296 | `(header-line ((t (:inherit 'mode-line :distant-foreground ,bg1))))
297 | `(mode-line ((t (:foreground ,fg1 :background ,bg1 :box nil))))
298 | `(mode-line-inactive ((t (:foreground ,fg5 :background ,bg3 :box nil))))
299 | `(mode-line-buffer-id ((t (:foreground ,fg1 :bold t :distant-foreground ,bg4))))
300 | `(mode-line-emphasis ((t (:foreground ,fg1 :bold t))))
301 | `(mode-line-highlight ((t (:foreground ,bg3))))
302 |
303 | ;; centaur tabs
304 | `(centaur-tabs-default ((t (:foreground ,fg1 :background ,bg5))))
305 | `(centaur-tabs-unselected ((t (:foreground ,fg5 :background ,bg3))))
306 | `(centaur-tabs-selected ((t (:foreground ,fg1 :background ,bg1))))
307 | `(centaur-tabs-unselected-modified ((t (:foreground ,fg5 :background ,bg3))))
308 | `(centaur-tabs-selected-modified ((t (:foreground ,fg1 :background ,bg1))))
309 | `(centaur-tabs-close-unselected ((t (:foreground ,fg3 :background ,bg3))))
310 | `(centaur-tabs-close-selected ((t (:foreground ,fg3 :background ,bg1))))
311 | `(centaur-tabs-name-mouse-face ((t (:foreground ,fg1))))
312 | `(centaur-tabs-close-mouse-face ((t (:foreground ,fg1))))
313 | `(centaur-tabs-active-bar-face ((t (:background ,stimmung-themes-dark-highlight-color))))
314 |
315 | ;; completions
316 | `(completions-common-part ((t (:foreground ,fg1 :bold t))))
317 |
318 | ;; doom-modeline
319 | `(doom-modeline-buffer-path ((t (:foreground ,fg1))))
320 | `(doom-modeline-buffer-file ((t (:foreground ,fg1 :weight bold))))
321 | `(doom-modeline-buffer-modified ((t (:foreground ,red :weight bold))))
322 | `(doom-modeline-project-dir ((t (:foreground ,fg1 :weight bold))))
323 | `(doom-modeline-project-root-dir ((t (:foreground ,fg1 :weight normal))))
324 | `(doom-modeline-project-parent-dir ((t (:foreground ,fg1 :weight normal))))
325 | `(doom-modeline-bar-inactive ((t (:foreground ,fg1 :background ,bg6))))
326 | `(doom-modeline-bar ((t (:background ,stimmung-themes-dark-highlight-color)))) ; the leftmost bar
327 | `(doom-modeline-evil-insert-state ((t (:foreground ,fg1))))
328 | `(doom-modeline-evil-visual-state ((t (:foreground ,fg1))))
329 | `(doom-modeline-evil-normal-state ((t (:foreground ,fg1))))
330 | `(doom-modeline-evil-emacs-state ((t (:foreground ,red :italic nil))))
331 | `(doom-modeline-buffer-minor-mode ((t (:background ,bg6))))
332 |
333 | ;; dired
334 | `(dired-directory ((t (:foreground ,fg1 :bold t))))
335 | `(dired-ignored ((t (:foreground ,fg1))))
336 | `(dired-flagged ((t (:foreground ,ok))))
337 | `(dired-header ((t (:foreground ,fg1 :bold t))))
338 | `(dired-mark ((t (:foreground ,red :bold t))))
339 | `(dired-marked ((t (:foreground ,red :bold t))))
340 | `(dired-perm-write ((t (:foreground ,fg1 :underline t))))
341 | `(dired-symlink ((t (:foreground ,fg1 :italic t))))
342 | `(dired-warning ((t (:foreground ,red))))
343 |
344 | ;; diredfl
345 | `(diredfl-compressed-file-name ((t (:foreground ,fg1))))
346 | `(diredfl-compressed-file-suffix ((t (:foreground ,fg4))))
347 | `(diredfl-date-time ((t (:foreground ,fg4 :inherit bold))))
348 | `(diredfl-deletion ((t (:inherit error))))
349 | `(diredfl-deletion-file-name ((t (:inherit error :strike-through ,red))))
350 | `(diredfl-dir-heading ((t (:foreground ,fg1 :background ,bg2))))
351 | `(diredfl-dir-name ((t (:foreground ,fg5 :background ,bg5 :inherit bold))))
352 | `(diredfl-executable-tag ((t (:foreground ,fg1))))
353 | `(diredfl-file-name ((t (:foreground ,fg1))))
354 | `(diredfl-file-suffix ((t (:foreground ,fg1 :background ,stimmung-themes-dark-highlight-color))))
355 | `(diredfl-flag-mark ((t (:background ,stimmung-themes-dark-highlight-color))))
356 | `(diredfl-flag-mark-line ((t (:background ,stimmung-themes-dark-highlight-color))))
357 | `(diredfl-ignored-file-name ((t (:foreground ,fg4))))
358 | `(diredfl-number ((t (:foreground ,fg4 :inherit bold))))
359 | `(diredfl-dir-priv ((t (:foreground ,fg1 :inherit bold))))
360 | `(diredfl-exec-priv ((t (:foreground ,fg1))))
361 | `(diredfl-link-priv ((t (:foreground ,fg1))))
362 | `(diredfl-no-priv ((t (:foreground ,fg1))))
363 | `(diredfl-other-priv ((t (:foreground ,fg1))))
364 | `(diredfl-rare-priv ((t (:foreground ,fg1))))
365 | `(diredfl-read-priv ((t (:foreground ,fg1))))
366 | `(diredfl-write-priv ((t (:foreground ,fg1))))
367 | `(diredfl-symlink ((t (:foreground ,fg5))))
368 | `(diredfl-autofile-name ((t (:foreground ,fg1))))
369 | `(diredfl-tagged-autofile-name ((t (:foreground ,fg1))))
370 |
371 | ;; evil
372 | `(evil-ex-info ((t (:foreground ,red :italic t))))
373 | `(evil-ex-search ((t (:background ,bg2 :foreground ,fg1 :bold t))))
374 | ;; (evil-ex-sub,stitute-matches :background base0 :foreground red :strike-through t :weight 'bold)
375 | ;; (evil-ex-sub,stitute-replacement :background base0 :foreground green :weight 'bold)
376 | `(evil-search-highlight-persist-highlight-face ((t (:inherit 'lazy-highlight))))
377 |
378 | ;; evil-mc
379 | `(evil-mc-cursor-default-face ((t (:foreground ,bg1 :background ,fg1))))
380 | `(evil-mc-region-face ((t (:foreground ,bg1 :background ,fg1))))
381 | `(evil-mc-cursor-bar-face ((t (:foreground ,fg1))))
382 | `(evil-mc-cursor-hbar-face ((t (:foreground ,fg1))))
383 |
384 | ;; info
385 | `(info-quoted ((t (:inherit 'default :bold t))))
386 | `(info-menu-star ((t (:bold t))))
387 |
388 | ;; ivy
389 | `(ivy-current-match ((t (:background ,bg1 :bold t))))
390 | `(ivy-minibuffer-match-highlight ((t (:foreground ,ok))))
391 | `(ivy-minibuffer-match-face-1 ((t (:foreground ,fg1 :bold t))))
392 | `(ivy-minibuffer-match-face-2 ((t (:foreground ,fg1 :bold t))))
393 | `(ivy-minibuffer-match-face-3 ((t (:foreground ,fg1 :bold t))))
394 | `(ivy-minibuffer-match-face-4 ((t (:foreground ,fg1 :bold t))))
395 | `(ivy-confirm-face ((t (:foreground ,ok))))
396 | `(ivy-required-face ((t (:foreground ,red))))
397 | `(ivy-subdir ((t (:foreground ,fg1))))
398 | `(ivy-modified-buffer ((t (:foreground ,red :bold t))))
399 | `(ivy-modified-outside-buffer ((t (:foreground ,red))))
400 | `(ivy-remote ((t (:foreground ,fg1))))
401 | `(ivy-virtual ((t (:foreground ,fg1 :italic t))))
402 | `(ivy-prompt ((t (:foreground ,red))))
403 | `(ivy-prompt-match ((t (:foreground ,red))))
404 | `(ivy-separator ((t (:foreground ,stimmung-themes-dark-highlight-color))))
405 | `(ivy-highlight-face ((t (:foreground ,red))))
406 | `(ivy-grep-info ((t (:foreground ,red))))
407 | `(ivy-completions-annotations ((t (:foreground ,red))))
408 |
409 | ;; helm
410 | `(helm-header ((t (:foreground ,fg5 :background ,bg1 :underline nil :box nil))))
411 | `(helm-source-header ((t (:foreground ,fg1 :background ,bg1 :underline nil :weight bold :box (:line-width 1 :style released-button)))))
412 | `(helm-selection ((t (:background ,fg1 :underline t :foreground ,bg1))))
413 | `(helm-selection-line ((t (:background ,fg1))))
414 | `(helm-visible-mark ((t (:foreground ,fg5 :background ,bg4))))
415 | `(helm-candidate-number ((t (:foreground ,fg5 :background ,bg1))))
416 | `(helm-separator ((t (:foreground ,fg1 :background ,bg1))))
417 | `(helm-time-zone-current ((t (:foreground ,fg1 :background ,bg1))))
418 | `(helm-time-zone-home ((t (:foreground ,fg1 :background ,bg1))))
419 | `(helm-bookmark-addressbook ((t (:foreground ,fg5 :background ,bg1))))
420 | `(helm-bookmark-directory ((t (:foreground nil :background nil :inherit helm-ff-directory))))
421 | `(helm-bookmark-file ((t (:foreground nil :background nil :inherit helm-ff-file))))
422 | `(helm-bookmark-gnus ((t (:foreground ,fg1 :background ,bg1))))
423 | `(helm-bookmark-info ((t (:foreground ,fg5 :background ,bg1))))
424 | `(helm-bookmark-man ((t (:foreground ,fg1 :background ,bg1))))
425 | `(helm-bookmark-w3m ((t (:foreground ,fg1 :background ,bg1))))
426 | `(helm-buffer-not-saved ((t (:foreground ,fg1 :background ,bg1))))
427 | `(helm-buffer-process ((t (:foreground ,fg1 :background ,bg1))))
428 | `(helm-buffer-saved-out ((t (:foreground ,fg5 :background ,bg1))))
429 | `(helm-buffer-size ((t (:foreground ,fg5 :background ,bg1))))
430 | `(helm-ff-directory ((t (:foreground ,fg1 :background ,bg1 :weight bold))))
431 | `(helm-ff-file ((t (:foreground ,fg5 :background ,bg1 :weight normal))))
432 | `(helm-ff-file-extension ((t (:foreground ,fg5 :weight bold))))
433 | `(helm-ff-executable ((t (:foreground ,fg5 :background ,bg1 :weight normal))))
434 | `(helm-ff-invalid-symlink ((t (:foreground ,fg1 :background ,bg1 :weight bold))))
435 | `(helm-ff-symlink ((t (:foreground ,fg1 :background ,bg1 :weight bold))))
436 | `(helm-ff-prefix ((t (:foreground ,bg1 :background ,fg1 :weight normal))))
437 | `(helm-grep-cmd-line ((t (:foreground ,fg1 :background ,bg1))))
438 | `(helm-grep-file ((t (:foreground ,fg5 :background ,bg1))))
439 | `(helm-grep-finish ((t (:foreground ,fg5 :background ,bg1))))
440 | `(helm-grep-lineno ((t (:foreground ,fg5 :background ,bg1))))
441 | `(helm-grep-match ((t (:foreground nil :background nil :inherit helm-match))))
442 | `(helm-grep-running ((t (:foreground ,fg1 :background ,bg1))))
443 | `(helm-lisp-show-completion ((t (:background ,bg3))))
444 | `(helm-match ((t (:background ,search))))
445 | `(helm-moccur-buffer ((t (:foreground ,fg1 :background ,bg1))))
446 | `(helm-mu-contacts-address-face ((t (:foreground ,fg5 :background ,bg1))))
447 | `(helm-mu-contacts-name-face ((t (:foreground ,fg5 :background ,bg1))))
448 |
449 | ;; orderless
450 | `(orderless-match-face-0 ((t (:foreground ,fg1 :bold t))))
451 | `(orderless-match-face-1 ((t (:foreground ,fg1 :bold t))))
452 | `(orderless-match-face-2 ((t (:foreground ,fg1 :bold t))))
453 | `(orderless-match-face-3 ((t (:foreground ,fg1 :bold t))))
454 |
455 | ;; magit
456 | `(magit-bisect-bad ((t (:foreground ,red))))
457 | `(magit-bisect-good ((t (:foreground ,ok))))
458 | `(magit-bisect-skip ((t (:foreground ,fg1))))
459 | `(magit-blame-date ((t (:foreground ,red))))
460 | `(magit-branch ((t (:foreground ,fg1 :bold t))))
461 | `(magit-branch-local ((t (:foreground ,fg1 :bold t))))
462 | `(magit-branch-remote ((t (:foreground ,fg1 :bold t))))
463 | `(magit-diff-file-heading ((t (:foreground ,fg1 :bold nil))))
464 | `(magit-diff-whitespace-warning ((t (:background ,red))))
465 |
466 |
467 | `(magit-branch-remote-head ((t (:foreground ,fg5 :background ,bg5 :box (:line-width 1 :color ,fg5)))))
468 | `(magit-branch-current ((t (:foreground ,fg1 :background ,bg5 :box (:line-width 1 :color ,fg5)))))
469 | `(magit-diff-context-highlight ((t (:foreground ,fg1 :background ,bg3))))
470 | `(magit-diff-file-header ((t (:foreground ,fg1 :background ,bg3))))
471 | `(magit-diffstat-added ((t (:foreground ,ok))))
472 | `(magit-diffstat-removed ((t (:foreground ,red))))
473 | `(magit-dimmed ((t (:foreground ,fg1))))
474 | `(magit-hash ((t (:foreground ,fg1 :background ,str))))
475 | `(magit-hunk-heading ((t (:background ,bg3))))
476 | `(magit-hunk-heading-highlight ((t (:background ,bg3))))
477 | `(magit-item-highlight ((t (:background ,bg3))))
478 | `(magit-log-author ((t (:foreground ,fg1))))
479 | `(magit-process-ng ((t (:background ,stimmung-themes-dark-highlight-color :bold t))))
480 | `(magit-process-ok ((t (:foreground ,ok :bold t))))
481 | `(magit-section-heading ((t (:foreground ,fg1 :bold t))))
482 | `(magit-section-highlight ((t (:background ,bg3))))
483 | `(magit-tag ((t ,(user-controlled-with stimmung-themes-constant :italic? t))))
484 |
485 | `(magit-blame-highlight ((t (:foreground ,fg1 :background ,bg5 :box (:line-width 1 :color ,fg5 :style nil)))))
486 | `(magit-blame-name ((t (:bold t))))
487 | `(magit-blame-date ((t (:foreground ,fg1 :italic t))))
488 | `(magit-blame-summary ((t (:foreground ,fg1))))
489 | `(magit-blame-hash ((t (:foreground ,fg1))))
490 |
491 | `(git-commit-comment-action ((t ((:inherit 'font-lock-comment-face) :bold t))))
492 |
493 | ;; diff-hl
494 | `(diff-hl-insert ((t (:foreground ,fg1 :background ,ok :bold nil :italic nil))))
495 | `(diff-hl-delete ((t (:foreground ,fg1 :background ,red :bold nil :italic nil))))
496 | `(diff-hl-change ((t (:foreground ,fg1 :background ,search :bold nil :italic nil))))
497 | `(diff-hl-ignore ((t (:foreground ,fg1 :background ,bg1 :bold nil :italic nil))))
498 | `(diff-hl-margin-ignore ((t (:foreground ,fg1 :background ,bg1 :bold nil :italic nil))))
499 | `(diff-hl-margin-unknown ((t (:foreground ,fg1 :background ,bg1 :bold nil :italic nil))))
500 |
501 | ;; git-gutter-fringe
502 | `(git-gutter-fr:added ((t (:foreground ,ok :bold nil :italic nil))))
503 | `(git-gutter-fr:deleted ((t (:foreground ,red :bold nil :italic nil))))
504 | `(git-gutter-fr:modified ((t (:foreground ,search :bold nil :italic nil))))
505 | `(git-gutter:added ((t (:foreground ,ok :bold nil :italic nil))))
506 | `(git-gutter:deleted ((t (:foreground ,red :bold nil :italic nil))))
507 | `(git-gutter:modified ((t (:foreground ,search :bold nil :italic nil))))
508 |
509 | ;; help
510 | `(help-key-binding ((t (:foreground ,fg1 :background ,bg5 :box (:line-width 1 :color ,fg5)))))
511 |
512 | ;; outline, extends org-outline
513 | `(outline-1 ((t (:foreground ,fg1 :bold t :extend t))))
514 | `(outline-2 ((t (:foreground ,fg1 :bold t :extend t))))
515 | `(outline-3 ((t (:foreground ,fg1 :bold t :extend t))))
516 | `(outline-4 ((t (:foreground ,fg1 :bold t :extend t))))
517 | `(outline-5 ((t (:foreground ,fg1 :bold t :extend t))))
518 | `(outline-6 ((t (:foreground ,fg1 :bold t :extend t))))
519 | `(outline-7 ((t (:foreground ,fg1 :bold t :extend t))))
520 | `(outline-8 ((t (:foreground ,fg1 :bold t :extend t))))
521 |
522 | ;; org
523 | `(org-code ((t (:background ,str :distant-foreground ,bg1 :background ,stimmung-themes-dark-highlight-color))))
524 | `(org-link ((t (:underline t))))
525 | `(org-block ((t (:foreground ,fg1 :background ,bg5 :extend t :inherit fixed-pitch))))
526 | `(org-block-begin-line ((t (:foreground ,fg5 :background ,bg5 :extend t :inherit fixed-pitch))))
527 | `(org-block-end-line ((t (:foreground ,fg5 :background ,bg5 :extend t :inherit fixed-pitch))))
528 | `(org-drawer ((t (:foreground ,fg1 :bold t :inherit fixed-pitch))))
529 | `(org-document-info ((t (:foreground ,fg1 :background ,bg1 :italic t))))
530 | `(org-document-info-keyword ((t (:foreground ,fg1 :background ,bg1))))
531 | `(org-document-title ((t (:foreground ,fg1 :weight bold))))
532 | `(org-done ((t (:foreground ,ok :bold t :strike-through t))))
533 | `(org-ellipsis ((t (:foreground ,fg1))))
534 | `(org-meta-line ((t (:background ,bg1))))
535 | `(org-formula ((t (:foreground ,fg1))))
536 | `(org-headline-done ((t (:foreground ,fg1 :weight normal :strike-through t))))
537 | `(org-hide ((t (:foreground ,bg1 :background ,bg1))))
538 | `(org-list-dt ((t (:foreground ,fg1 :bold t))))
539 | `(org-scheduled ((t (:foreground ,red))))
540 | `(org-scheduled-today ((t (:foreground ,ok))))
541 | `(org-table ((t (:foreground ,fg1 :inherit fixed-pitch))))
542 | `(org-tag ((t (:foreground ,fg1 :background ,bg1 :bold t))))
543 | `(org-todo ((t (:foreground ,red :bold t))))
544 | `(org-warning ((t (:inherit 'warning))))
545 | `(org-upcoming-deadline ((t (:foreground ,red))))
546 | `(org-priority ((t (:background ,stimmung-themes-dark-highlight-color))))
547 | `(org-footnote ((t (:background ,stimmung-themes-dark-highlight-color))))
548 | `(org-scheduled-previously ((t (:background ,stimmung-themes-dark-highlight-color))))
549 | `(org-sexp-date ((t (:background ,stimmung-themes-dark-highlight-color))))
550 | `(org-special-keyword ((t (:background ,stimmung-themes-dark-highlight-color))))
551 | `(org-date ((t (:background ,bg1 :bold t))))
552 | `(org-checkbox ((t (:foreground ,fg1 :bold t :inherit fixed-pitch))))
553 |
554 | ;; markdown mode
555 | `(markdown-header-face ((t (:foreground ,fg1 :bold t))))
556 | `(markdown-list-face ((t (:foreground ,fg1 :bold t))))
557 | `(markdown-bold-face ((t (:foreground ,fg1 :bold t))))
558 | `(markdown-blockquote-face ((t (:foreground ,fg1 :italic t))))
559 | `(markdown-italic-face ((t (:foreground ,fg1 :italic t))))
560 | `(markdown-link-face ((t (:foreground ,fg1 :underline t))))
561 | `(markdown-url-face ((t (:foreground ,fg1 :underline t))))
562 | `(markdown-header-delimiter-face ((t (:inherit 'markdown-header-face))))
563 | `(markdown-metadata-key-face ((t (:foreground ,fg1))))
564 | `(markdown-markup-face ((t (:foreground ,fg1 :inherit fixed-pitch))))
565 | `(markdown-pre-face ((t (:inherit org-block))))
566 | `(markdown-inline-code-face ((t (:foreground ,fg1 :background ,stimmung-themes-dark-highlight-color :inherit fixed-pitch))))
567 | `(markdown-code-face ((t (:foreground ,fg1 :background ,bg5 :extend t))))
568 | `(markdown-reference-face ((t (:foreground ,fg1))))
569 | `(markdown-html-attr-name-face ((t (:inherit 'font-lock-variable-name-face :inherit fixed-pitch))))
570 | `(markdown-html-attr-value-face ((t (:inherit 'font-lock-string-face :inherit fixed-pitch))))
571 | `(markdown-html-entity-face ((t (:inherit 'font-lock-variable-name-face))))
572 | `(markdown-html-tag-delimiter-face ((t (:inherit 'markdown-markup-face :inherit fixed-pitch))))
573 | `(markdown-html-tag-name-face ((t (:inherit 'font-lock-keyword-face :inherit fixed-pitch))))
574 | `(markdown-table-face ((t (:inherit fixed-pitch))))
575 |
576 | ;; solaire
577 | `(solaire-default-face ((t (:background ,bg3 :foreground ,fg1))))
578 | `(solaire-fringe-face ((t (:background ,bg3 :foreground ,fg1))))
579 | `(solaire-line-number-face ((t (:background ,bg3 :foreground ,fg5))))
580 | `(solaire-hl-line-face ((t (:background ,bg2 :extend t))))
581 | `(solaire-org-hide-face ((t (:background ,bg3 :foreground ,fg1))))
582 | `(solaire-mode-line-face ((t (:background ,bg3 :foreground ,fg1 :box nil))))
583 | `(solaire-mode-line-inactive-face ((t (:background ,bg3 :foreground ,fg4 :box nil))))
584 | `(solaire-header-line-face ((t (:background ,bg3 :foreground ,fg1 :bold t))))
585 |
586 | ;; sh
587 | `(sh-quoted-exec ((t (:background ,stimmung-themes-dark-highlight-color))))
588 | `(sh-heredoc ((t (:background ,stimmung-themes-dark-highlight-color))))
589 |
590 | ;; Shortdoc
591 | `(shortdoc-heading ((t (:background ,bg1 :foreground ,fg1 :bold t))))
592 | `(shortdoc-section ((t (:background ,bg1 :foreground ,fg1))))
593 |
594 | ;; show-paren
595 | `(show-paren-match-face ((t (:background ,search :bold t))))
596 | `(show-paren-match ((t (:background ,search :bold t))))
597 | `(show-paren-match-expression ((t (:background ,search :bold t))))
598 | `(show-paren-mismatch ((t (:background ,fg1 :foreground ,red :bold t))))
599 |
600 | ;; smartparens
601 | `(sp-show-pair-match-face ((t (:inherit 'paren-matched))))
602 | `(sp-show-pair-mismatch-face ((t (:inherit 'paren-unmatched))))
603 |
604 | ;; rainbow-delimiters
605 | `(rainbow-delimiters-depth-1-face ((t (:foreground ,fg1))))
606 | `(rainbow-delimiters-depth-2-face ((t (:foreground ,fg4))))
607 | `(rainbow-delimiters-depth-3-face ((t (:foreground ,fg1))))
608 | `(rainbow-delimiters-depth-4-face ((t (:foreground ,fg5))))
609 | `(rainbow-delimiters-depth-5-face ((t (:foreground ,fg1))))
610 | `(rainbow-delimiters-depth-6-face ((t (:foreground ,fg4))))
611 | `(rainbow-delimiters-depth-7-face ((t (:foreground ,fg1))))
612 | `(rainbow-delimiters-depth-8-face ((t (:foreground ,fg5))))
613 | `(rainbow-delimiters-depth-9-face ((t (:foreground ,fg1))))
614 | `(rainbow-delimiters-depth-10-face ((t (:foreground ,fg4))))
615 | `(rainbow-delimiters-depth-11-face ((t (:foreground ,fg1))))
616 | `(rainbow-delimiters-depth-12-face ((t (:foreground ,fg5))))
617 |
618 | ;; treemacs
619 | `(treemacs-directory-face ((t (:foreground ,fg1))))
620 | `(treemacs-directory-collapsed-face ((t (:foreground ,fg1))))
621 | `(treemacs-file-face ((t (:foreground ,fg1))))
622 | `(treemacs-root-face ((t (:foreground ,fg1 :bold t))))
623 | `(treemacs-root-unreadable-face ((t (:foreground ,fg1 :underline t :strike-through t))))
624 | `(treemacs-root-remote-face ((t (:foreground ,fg1))))
625 | `(treemacs-root-remote-disconnected-face ((t (:foreground ,red))))
626 | `(treemacs-root-remote-unreadable-face ((t (:foreground ,red))))
627 | `(treemacs-term-node-face ((t (:foreground ,fg1))))
628 | `(treemacs-git-unmodified-face ((t (:foreground ,fg1))))
629 | `(treemacs-git-modified-face ((t (:foreground ,fg1 :italic t))))
630 | `(treemacs-git-renamed-face ((t (:foreground ,fg1 :italic t))))
631 | `(treemacs-git-added-face ((t (:foreground ,fg1))))
632 | `(treemacs-git-ignored-face ((t (:foreground ,fg5 :italic nil))))
633 | `(treemacs-git-untracked-face ((t (:foreground ,fg5 :italic nil))))
634 | `(treemacs-git-conflict-face ((t (:foreground ,red))))
635 | `(treemacs-on-failure-pulse-face ((t (:foreground ,red))))
636 | `(treemacs-on-success-pulse-face ((t (:foreground ,ok))))
637 | `(treemacs-tags-face ((t (:foreground ,fg1 :italic nil))))
638 | `(treemacs-help-title-face ((t (:foreground ,fg1 :bold t))))
639 | `(treemacs-help-column-face ((t (:foreground ,fg1 :bold t))))
640 | `(treemacs-on-failure-pulse-face ((t (:background ,warning :foreground ,fg1 :extend t))))
641 | `(treemacs-on-success-pulse-face ((t (:background ,ok :foreground ,fg1 :extend t))))
642 | `(treemacs-fringe-indicator-face ((t (:foreground ,fg5))))
643 | `(treemacs-peek-mode-indicator-face ((t (:background ,stimmung-themes-dark-highlight-color))))
644 | `(treemacs-header-button-face ((t (:background ,stimmung-themes-dark-highlight-color))))
645 | `(treemacs-header-button-face ((t (:foreground ,fg1 :background ,bg5 :box (:line-width 1 :color ,fg5 :style nil)))))
646 |
647 | ;; tab-bar-mode
648 | `(tab-bar ((t (:background ,bg1 :foreground ,fg1))))
649 | `(tab-bar-tab ((t (:background ,bg5 :foreground ,fg1 :box (:line-width 1 :color ,fg5 :style nil)))))
650 | `(tab-bar-tab-inactive ((t (:background ,bg1 :foreground ,fg5 :box (:line-width 1 :color ,fg2 :style nil)))))
651 |
652 | ;; tab-line-mode
653 | `(tab-line ((t (:background ,bg1 :foreground ,fg1))))
654 | `(tab-line-tab ((t (:background ,bg5 :foreground ,fg1 :box (:line-width 1 :color ,fg5 :style nil)))))
655 | `(tab-line-tab-current ((t (:background ,bg5 :foreground ,fg1 :box (:line-width 1 :color ,fg5 :style nil)))))
656 | `(tab-line-highlight ((t (:background ,bg2 :foreground ,fg1 :box (:line-width 1 :color ,fg5 :style nil)))))
657 | `(tab-line-close-highlight ((t (:foreground ,red))))
658 | `(tab-line-tab-modified ((t (:italic t))))
659 | `(tab-line-tab ((t (:background ,bg5 :foreground ,fg1 :italic t:box (:line-width 1 :color ,fg5 :style nil)))))
660 | `(tab-line-tab-inactive ((t (:background ,bg1 :foreground ,fg5 :box (:line-width 1 :color ,fg2 :style nil)))))
661 | `(tab-line-tab-inactive-alternate ((t (:background ,bg1 :foreground ,fg4 :box (:line-width 1 :color ,fg2 :style nil)))))
662 |
663 | ;; perspective
664 | `(persp-selected-face ((t (:bold t))))
665 |
666 | ;; LaTeX
667 | `(font-latex-sectioning-0-face ((t (:bold t))))
668 | `(font-latex-sectioning-1-face ((t (:bold t))))
669 | `(font-latex-sectioning-2-face ((t (:bold t))))
670 | `(font-latex-sectioning-3-face ((t (:bold t))))
671 | `(font-latex-sectioning-4-face ((t (:italic t))))
672 | `(font-latex-sedate-face ((t (:foreground ,fg1 :background ,bg1))))
673 | `(font-latex-italic-face ((t (:foreground ,fg1 :italic t))))
674 | `(font-latex-bold-face ((t (:foreground ,fg1 :bold t))))
675 | `(font-latex-verbatim-face ((t (:background ,stimmung-themes-dark-highlight-color :bold t))))
676 | `(font-latex-string-face ((t (:foreground ,fg1))))
677 | `(font-latex-warning-face ((t (:foreground ,bg4))))
678 | `(font-latex-math-face ((t (:foreground ,fg1))))
679 | `(font-latex-script-char-face ((t (:foreground ,fg1))))
680 |
681 | ;; copilot
682 |
683 | `(copilot-overlay-face ((t (:foreground ,fg5 :italic t))))
684 |
685 | ;; eglot
686 |
687 | `(eglot-highlight-symbol-face ((t (:foregroud ,fg1 :background ,search))))
688 | `(eglot-mode-line ((t (:foregroud ,fg1 :background ,bg5))))
689 | `(eglot-diagnostic-tag-unnecessary-face ((t (:foregroud ,str-fg))))
690 | `(eglot-diagnostic-tag-deprecated-face ((t (:foregroud ,str-fg :strike-through t))))
691 |
692 | ;; eldoc-box
693 |
694 | `(eldoc-box-border ((t (:background ,fg5))))
695 | `(eldoc-box-body ((t (:foreground ,fg1 :background ,bg1))))
696 |
697 | ;; lsp-mode
698 |
699 | `(lsp-dired-path-face ((t (:foreground ,fg1))))
700 | `(lsp-dired-path-error-face ((t (:foreground ,fg1 :underline (:style wave :color ,red)))))
701 | `(lsp-dired-path-warning-face ((t (:foreground ,fg1 :underline (:style wave :color ,warning)))))
702 | `(lsp-dired-path-info-face ((t (:foreground ,fg1 :italic t))))
703 | `(lsp-dired-path-hint-face ((t (:foreground ,fg1 :italic t))))
704 |
705 | `(lsp-modeline-code-actions-face ((t :foreground ,fg1 :bold t)))
706 | `(lsp-modeline-code-actions-preferred-face ((t :foreground ,fg1 :bold t)))
707 |
708 | `(lsp-lens-mouse-face ((t (:foreground ,fg5 :underline t))))
709 | `(lsp-lens-face ((t (:foreground ,fg5))))
710 | `(lsp-face-highlight-textual ((t (:foreground ,fg1 :background ,search2))))
711 | `(lsp-face-highlight-read ((t (:foreground ,fg1 :background ,search2 :underline nil))))
712 |
713 | `(lsp-headerline-breadcrumb-separator-face ((t (:foreground ,fg5))))
714 | `(lsp-headerline-breadcrumb-path-face ((t (:foreground ,fg1))))
715 | `(lsp-headerline-breadcrumb-path-error-face ((t (:foreground ,fg1 :underline (:style wave :color ,red)))))
716 | `(lsp-headerline-breadcrumb-path-warning-face ((t (:foreground ,fg1 :underline (:style wave :color ,warning)))))
717 | `(lsp-headerline-breadcrumb-path-info-face ((t (:foreground ,fg1))))
718 | `(lsp-headerline-breadcrumb-path-hint-face ((t (:foreground ,fg1))))
719 | `(lsp-headerline-breadcrumb-project-prefix-face ((t (:foreground ,fg1 :bold t))))
720 | `(lsp-headerline-breadcrumb-unknown-project-prefix-face ((t (:foreground ,fg5))))
721 | `(lsp-headerline-breadcrumb-symbols-face ((t (:foreground ,fg1))))
722 | `(lsp-headerline-breadcrumb-symbols-error-face ((t (:foreground ,fg1 :underline (:style wave :color ,red)))))
723 | `(lsp-headerline-breadcrumb-symbols-warning-face ((t (:foreground ,fg1 :underline (:style wave :color ,warning)))))
724 | `(lsp-headerline-breadcrumb-symbols-info-face ((t (:foreground ,fg1))))
725 | `(lsp-headerline-breadcrumb-symbols-hint-face ((t (:foreground ,fg1))))
726 | `(lsp-headerline-breadcrumb-deprecated-face ((t (:foreground ,red))))
727 |
728 | ;; LSP UI
729 | `(lsp-ui-doc-background ((t (:foreground ,fg1 :background ,bg5 :box (:line-width 1 :color ,fg5 :style nil)))))
730 | `(lsp-ui-doc-header ((t (:foreground ,fg1 :bold t))))
731 | `(lsp-ui-doc-highlight-hover ((t (:foreground ,fg1 :background ,stimmung-themes-dark-highlight-color))))
732 | `(lsp-ui-doc-url ((t (:foreground ,fg1 :underline t))))
733 |
734 | `(lsp-ui-peek-peek ((t (:foreground ,fg1 :background ,bg5 :box (:line-width 1 :color ,fg5 :style nil)))))
735 | `(lsp-ui-peek-list ((t (:foreground ,fg1 :background ,bg5 :box (:line-width 1 :color ,fg5 :style nil)))))
736 | `(lsp-ui-peek-filename ((t (:foreground ,fg5 :underline t))))
737 | `(lsp-ui-peek-line-number ((t (:foreground ,fg5 :background ,bg1))))
738 | `(lsp-ui-peek-highlight ((t (:foreground ,fg1 :background ,stimmung-themes-dark-highlight-color))))
739 | `(lsp-ui-peek-header ((t (:foreground ,fg1 :bold))))
740 | `(lsp-ui-peek-footer ((t (:foreground ,fg5))))
741 | `(lsp-ui-peek-selection ((t (:background ,bg4 :foreground ,fg1))))
742 |
743 | `(lsp-ui-sideline-symbol ((t (:foreground ,fg1 :background ,search2))))
744 | `(lsp-ui-sideline-current-symbol ((t (:foreground ,fg1 :background ,stimmung-themes-dark-highlight-color))))
745 | `(lsp-ui-sideline-code-action ((t (:foreground ,fg1 :background ,str))))
746 | `(lsp-ui-sideline-symbol-info ((t (:foreground ,fg1 :background ,search2))))
747 | `(lsp-ui-sideline-global ((t (:foreground ,fg1 :background ,bg1))))
748 |
749 | ;; lsp-bridge
750 | `(lsp-bridge-ref-font-lock-header-line-text ((t (:foreground ,fg1))))
751 | `(lsp-bridge-ref-font-lock-header-line-edit-mode ((t (:foreground ,fg1))))
752 | `(lsp-bridge-ref-font-lock-command ((t (:foreground ,fg1 :bold t))))
753 | `(lsp-bridge-ref-font-lock-file ((t (:foreground ,fg1 :bold t))))
754 | `(lsp-bridge-ref-font-lock-line-number ((t (:inherit 'line-number))))
755 | `(lsp-bridge-ref-font-lock-column-number ((t (:inherit 'line-number))))
756 | `(lsp-bridge-ref-font-lock-position-splitter ((t (:foreground ,fg1))))
757 | `(lsp-bridge-ref-font-lock-match ((t (:foreground ,fg1 :background ,search2))))
758 | `(lsp-bridge-ref-font-lock-diagnostic ((t (:inherit 'error :background ,bg3))))
759 | `(lsp-bridge-ref-font-lock-mark-changed ((t (:foreground ,fg1 :background ,search2 :italic t))))
760 | `(lsp-bridge-ref-font-lock-mark-deleted ((t (:foreground ,fg1 :strike-through ,red))))
761 | `(lsp-bridge-ref-font-lock-function-location ((t (:foreground ,fg1 :background ,search2))))
762 |
763 | ;; ACM
764 | `(acm-frame-default-face ((t (:background ,bg3 :foreground ,fg1))))
765 | `(acm-frame-border-face ((t (:background ,bg2 :foreground ,fg1))))
766 |
767 | ;; tree-sitter
768 |
769 | `(tree-sitter-hl-face:attribute ((t (:inherit 'font-lock-constant-face))))
770 | `(tree-sitter-hl-face:comment ((t (:inherit 'font-lock-comment-face :extend t))))
771 | `(tree-sitter-hl-face:constant ((t (:inherit 'font-lock-constant-face))))
772 | `(tree-sitter-hl-face:constant.builtin ((t (:inherit 'font-lock-constant-face))))
773 | `(tree-sitter-hl-face:constructor ((t (:foreground ,fg1))))
774 | `(tree-sitter-hl-face:doc ((t (:inherit 'font-lock-doc-face))))
775 | `(tree-sitter-hl-face:embedded ((t (:foreground ,fg1))))
776 | `(tree-sitter-hl-face:escape ((t (:foreground ,fg1))))
777 | `(tree-sitter-hl-face:function ((t (:inherit 'font-lock-function-name-face))))
778 | `(tree-sitter-hl-face:function.builtin ((t (:inherit 'font-lock-function-name-face))))
779 | `(tree-sitter-hl-face:function.call ((t (:foreground ,fg1))))
780 | `(tree-sitter-hl-face:function.macro ((t (:foreground ,fg1))))
781 | `(tree-sitter-hl-face:function.special ((t (:foreground ,fg1))))
782 | `(tree-sitter-hl-face:keyword ((t (:foreground ,fg1))))
783 | `(tree-sitter-hl-face:label ((t (:foreground ,fg1))))
784 | `(tree-sitter-hl-face:method ((t (:foreground ,fg1))))
785 | `(tree-sitter-hl-face:method.call ((t (:foreground ,fg1))))
786 | `(tree-sitter-hl-face:number ((t (:foreground ,fg1))))
787 | `(tree-sitter-hl-face:operator ((t (:foreground ,fg1))))
788 | `(tree-sitter-hl-face:property ((t (:foreground ,fg1))))
789 | `(tree-sitter-hl-face:property.definition ((t (:foreground ,fg1))))
790 | `(tree-sitter-hl-face:punctuation ((t (:foreground ,fg5))))
791 | `(tree-sitter-hl-face:punctuation.bracket ((t (:foreground ,fg5))))
792 | `(tree-sitter-hl-face:punctuation.special ((t (:foreground ,fg5))))
793 | `(tree-sitter-hl-face:punctuation.delimiter ((t (:foreground ,fg5))))
794 | `(tree-sitter-hl-face:string ((t (:inherit 'font-lock-string-face))))
795 | `(tree-sitter-hl-face:string.special ((t (:inherit 'font-lock-string-face))))
796 | `(tree-sitter-hl-face:tag ((t (:foreground ,fg1 :bold t))))
797 | `(tree-sitter-hl-face:type ((t (:inherit font-lock-type-face))))
798 | `(tree-sitter-hl-face:type.argument ((t (:foreground ,fg1 :italic t))))
799 | `(tree-sitter-hl-face:type.builtin ((t (:foreground ,fg1 :italic t))))
800 | `(tree-sitter-hl-face:type.parameter ((t (:foreground ,fg1 :italic t))))
801 | `(tree-sitter-hl-face:type.super ((t (:foreground ,fg1 :italic t))))
802 | `(tree-sitter-hl-face:type.variable ((t (:foreground ,fg1 :italic t))))
803 | `(tree-sitter-hl-face:variable.builtin ((t (:foreground ,fg1))))
804 | `(tree-sitter-hl-face:variable.parameter ((t (:foreground ,fg1))))
805 | `(tree-sitter-hl-face:variable.special ((t (:foreground ,fg1))))
806 |
807 | ;; Typescript
808 |
809 | `(typescript-jsdoc-value ((t (:foreground ,fg1 :background ,stimmung-themes-dark-highlight-color))))
810 | `(typescript-jsdoc-type ((t (:inherit font-lock-type-face))))
811 | `(typescript-jsdoc-tag ((t (:foreground ,fg1 :bold t))))
812 | `(typescript-ts-jsx-attribute-face ((t (:foreground ,fg1 :italic t))))
813 | `(typescript-ts-jsx-tag-face ((t (:foreground ,fg1 :bold t))))
814 |
815 | ;; rg.el
816 |
817 | `(rg-match-face ((t (:foreground ,fg1 :background ,search2))))
818 | `(rg-error-face ((t (:inherit error))))
819 | `(rg-warning-face ((t (:inherit warning))))
820 | `(rg-context-face ((t (:foreground ,fg5))))
821 | `(rg-filename-face ((t (:foreground ,fg1 :bold t))))
822 | `(rg-info-face ((t (:foreground ,fg1))))
823 | `(rg-tag-face ((t ,(user-controlled-with stimmung-themes-constant :italic? t))))
824 | `(rg-file-tag-face ((t ,(user-controlled-with stimmung-themes-constant :italic? t))))
825 | `(rg-line-number-face ((t (:inherit 'line-number))))
826 | `(rg-column-number-face ((t (:inherit 'line-number))))
827 | `(rg-match-position-face ((t (:inherit 'line-number))))
828 |
829 | ;; DAP
830 |
831 | ;; TODO I'm not sure how popular DAP is is, but it would be nice to support it.
832 | ;; It has a million faces though, so it would be great if someone who has
833 | ;; experiecence would like to help!
834 |
835 | ;; re-builder
836 | `(reb-match-0 ((t (:foreground ,fg1 :inverse-video t :bold t))))
837 | `(reb-match-1 ((t (:foreground ,fg1 :inverse-video t :bold t))))
838 | `(reb-match-2 ((t (:foreground ,fg1 :inverse-video t :bold t))))
839 | `(reb-match-3 ((t (:foreground ,fg1 :inverse-video t :bold t))))
840 |
841 | ;; undo-tree
842 | `(undo-tree-visualizer-default-face ((t (:foreground ,fg1))))
843 | `(undo-tree-visualizer-current-face ((t (:foreground ,ok :bold t))))
844 | `(undo-tree-visualizer-unmodified-face ((t (:foreground ,fg1 :italic t))))
845 | `(undo-tree-visualizer-active-branch-face ((t (:foreground ,fg1))))
846 | `(undo-tree-visualizer-register-face ((t (:foreground ,fg1))))
847 |
848 | `(window-divider ((t (:foreground ,bg1))))
849 | `(window-divider-first-pixel ((t (:foreground ,bg1))))
850 | `(window-divider-last-pixel ((t (:foreground ,bg1))))
851 |
852 | ;; wo/man
853 | `(Man-overstrike ((t (:foreground ,fg1 :bold t))))
854 | `(Man-underline ((t (:foreground ,fg1 :underline nil :italic t))))
855 | `(woman-bold ((t (:inherit 'Man-overstrike))))
856 | `(woman-italic ((t (:inherit 'Man-underline))))
857 |
858 | ;; web-mode
859 | `(web-mode-doctype-face ((t (:foreground ,fg1))))
860 | `(web-mode-html-tag-face ((t (:foreground ,fg1 :italic t))))
861 | `(web-mode-html-tag-bracket-face ((t (:foreground ,fg1))))
862 | `(web-mode-html-attr-name-face ((t (:foreground ,fg1 :bold t))))
863 | `(web-mode-html-entity-face ((t (:foreground ,fg1 :italic t))))
864 | `(web-mode-block-control-face ((t (:foreground ,fg1))))
865 | `(web-mode-html-tag-bracket-face ((t (:foreground ,fg1 :bold t))))
866 |
867 | ;; visual-regexp
868 | ;; visual-regexp
869 | `(vr/match-0 ((t (:background ,search2 :foreground ,fg1))))
870 | `(vr/match-1 ((t (:background ,search2 :foreground ,fg1))))
871 | `(vr/group-0 ((t (:background ,search2 :foreground ,fg1))))
872 | `(vr/group-1 ((t (:background ,search2 :foreground ,fg1))))
873 | `(vr/group-2 ((t (:background ,search2 :foreground ,fg1))))
874 |
875 | ;; elfeed
876 | `(elfeed-search-date-face ((t (:foreground ,fg5 :inherit bold))))
877 | `(elfeed-search-feed-face ((t (:foreground ,fg1 :background ,bg5))))
878 | `(elfeed-search-filter-face ((t (:inherit bold :foreground ,fg1 :background ,bg3))))
879 | `(elfeed-search-last-update-face ((t (:foreground ,fg5 :inherit bold))))
880 | `(elfeed-search-tag-face ((t (:foreground ,fg5))))
881 | `(elfeed-search-title-face ((t (:foreground ,fg5))))
882 | `(elfeed-search-unread-title-face ((t (:foreground ,fg1 :inherit bold))))
883 | `(elfeed-search-unread-count-face ((t (:foreground ,fg5 :inherit bold))))
884 | `(elfeed-log-date-face ((t (:inherit elfeed-search-date-face))))
885 | `(elfeed-log-debug-level-face ((t (:inherit elfeed-search-filter-face))))
886 | `(elfeed-log-error-level-face ((t (:inherit error))))
887 | `(elfeed-log-info-level-face ((t (:inherit success))))
888 | `(elfeed-log-warn-level-face ((t (:inherit warning))))
889 |
890 | ;; notmuch
891 | `(notmuch-crypto-decryption ((t (:inherit (shadow bold)))))
892 | `(notmuch-crypto-part-header ((t (:inherit message-mml))))
893 | `(notmuch-crypto-signature-bad ((t (:inherit error))))
894 | `(notmuch-crypto-signature-unknown ((t (:inherit warning))))
895 | `(notmuch-crypto-signature-good ((t (:inherit success))))
896 | `(notmuch-crypto-signature-good-key ((t (:inherit success))))
897 | `(notmuch-hello-logo-background ((t (:background ,bg5))))
898 | `(notmuch-jump-key ((t (:inherit help-key-binding))))
899 | `(notmuch-message-summary-face ((t (:foreground ,fg1))))
900 | `(notmuch-search-count ((t (:foreground ,fg5))))
901 | `(notmuch-search-date ((t (:foreground ,fg5 :inherit bold))))
902 | `(notmuch-search-flagged-face ((t (:background ,search2))))
903 | `(notmuch-search-matching-authors ((t (:foreground ,fg1))))
904 | `(notmuch-search-non-matching-authors ((t (:inherit notmuch-tree-no-match-face))))
905 | `(notmuch-search-subject ((t (:foreground ,fg1))))
906 | `(notmuch-search-unread-face ((t (:foreground ,fg1 :inherit bold))))
907 | `(notmuch-tag-added ((t (:underline ,fg1 :background ,bg6))))
908 | `(notmuch-tag-deleted ((t (:strike-through ,red))))
909 | `(notmuch-tag-face ((t (:foreground ,fg5))))
910 | `(notmuch-tag-flagged ((t (:foreground ,fg1))))
911 | `(notmuch-tag-unread ((t (:foreground ,fg1 :background ,stimmung-themes-dark-highlight-color))))
912 | `(notmuch-tree-match-author-face ((t (:inherit notmuch-search-matching-authors))))
913 | `(notmuch-tree-match-date-face ((t (:inherit notmuch-search-date))))
914 | `(notmuch-tree-match-face ((t (:foreground ,fg1))))
915 | `(notmuch-tree-match-tag-face ((t (:inherit notmuch-tag-face))))
916 | `(notmuch-tree-no-match-face ((t (:foreground ,fg4 :background ,bg5))))
917 | `(notmuch-tree-no-match-date-face ((t (:foreground ,fg4 :background ,bg5))))
918 | `(notmuch-wash-cited-text ((t (:inherit message-cited-text-1))))
919 | `(notmuch-wash-toggle-button ((t (:foreground ,fg5 :background ,bg5))))
920 |
921 | ;; white-space
922 | `(whitespace-empty ((t (:background ,bg3))))
923 | `(whitespace-space ((t (:foreground ,fg1))))
924 | `(whitespace-newline ((t (:foreground ,fg1))))
925 | `(whitespace-tab ((t (:foreground ,fg1 :background ,bg1))))
926 | `(whitespace-indentation ((t (:foreground ,red :background ,fg1))))
927 | `(whitespace-line ((t (:foreground ,red :background ,fg1 :weight bold))))
928 | `(nobreak-space ((t (:inherit 'default :underline nil))))
929 | `(whitespace-trailing ((t (:foreground ,red))))
930 |
931 | ;; yasnippet
932 | `(yas-field-highlight-face ((t (:background ,bg5 :foreground ,fg1 :box (:line-width 1 :color ,fg5)))))
933 |
934 | ;; xref
935 |
936 | `(next-error-message ((t (:background ,search2))))
937 | `(xref-file-header ((t (:foreground ,fg1 :bold t))))
938 | `(xref-match ((t (:foreground ,fg1))))
939 | `(xref-line-number ((t (:inherit 'line-number))))
940 | )))
941 |
942 | (custom-theme-set-variables
943 | 'stimmung-themes-dark
944 | '(ansi-color-names-vector ["white" "white" "white" "white"
945 | "white" "white" "white" "gray90"]))
946 |
947 | ;;;###autoload
948 | (when (and (boundp 'custom-theme-load-path)
949 | load-file-name)
950 | (add-to-list 'custom-theme-load-path
951 | (file-name-as-directory
952 | (file-name-directory load-file-name))))
953 |
954 | (provide-theme 'stimmung-themes-dark)
955 | (provide 'stimmung-themes-dark-theme)
956 |
957 | ;; Local Variables:
958 | ;; no-byte-compile: t
959 | ;; End:
960 |
961 | ;;; stimmung-themes-dark-theme.el ends here
962 |
--------------------------------------------------------------------------------
/stimmung-themes-light-theme.el:
--------------------------------------------------------------------------------
1 | ;;; stimmung-themes-light-theme.el --- A light theme tuned to inner harmonies -*- lexical-binding: t -*-
2 | ;; Copyright © 2019
3 |
4 | ;; Author: Love Lagerkvist
5 | ;; URL: https://github.com/motform/stimmung-themes
6 | ;; Created: 2019-12-20
7 | ;; Version: 2022-03-26
8 | ;; Keywords: faces
9 |
10 | ;; This file is NOT part of GNU Emacs.
11 |
12 | ;;; License:
13 |
14 | ;; This program is free software; you can redistribute it and/or modify
15 | ;; it under the terms of the GNU General Public License as published by
16 | ;; the Free Software Foundation; either version 3, or (at your option)
17 | ;; any later version.
18 |
19 | ;; This program is distributed in the hope that it will be useful,
20 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
21 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 | ;; GNU General Public License for more details.
23 |
24 | ;; For a full copy of the GNU General Public License
25 | ;; see .
26 |
27 | ;;; Commentary:
28 |
29 | ;; Stimmung (dark and light) is a pair of monochrome Emacs themes
30 | ;; with minimal syntax highlighting. They are inspired by Tonsky's
31 | ;; Alabaster theme (https://github.com/tonsky/sublime-scheme-alabaster),
32 | ;; following the maxim that a theme that highlights everything
33 | ;; paradoxically highlights nothing. Text backgrounds (comments,
34 | ;; strings and constants) and font variations (definitions) are used
35 | ;; as alternatives to text colors, ensuring a harmonious reading
36 | ;; experience. Use `stimmung-themes-dark-highlight-color' and
37 | ;; `stimmung-themes-light-highlight-color' to customize the highlight.
38 | ;;
39 | ;; Screenshots are available at: https://github.com/motform/stimmung-themes
40 |
41 | ;;; Code:
42 |
43 | (require 'stimmung-themes)
44 |
45 | (deftheme stimmung-themes-light
46 | "A light theme tuned to inner harmonies."
47 | :family 'stimmung-themes
48 | :kind 'color-scheme
49 | :background-mode 'light)
50 |
51 | (let ((bg1 "white")
52 | (bg2 "gray95")
53 | (bg3 "gray90")
54 | (bg4 "gray85")
55 | (bg5 "gray95")
56 | (bg6 "gray99")
57 | (bg7 "gray80")
58 |
59 | (hl-line "gray93")
60 |
61 | (fg1 "black")
62 | (fg2 "gray90")
63 | (fg3 "gray80")
64 | (fg4 "gray70")
65 | (fg5 "gray60")
66 |
67 | (str "gray95")
68 | (str-fg "gray40")
69 |
70 | (search "#e8e800")
71 | (search2 "#ffffb4")
72 |
73 | (warning "orange")
74 | (red "darkred")
75 | (ok "DarkGreen"))
76 | (cl-flet ((user-controlled-with (var &key bg fg italic? bold? extend?)
77 | "Utility function for user-customizable faces.
78 | VAR is the variable that is checked, like `stimmung-themes-comment'.
79 | BG and FG correspond to the highlight used by 'background and 'foreground,
80 | if something other than the standard is desired.
81 | ITALIC? and BOLD? control font variant."
82 | (let ((font-variants `(,@(when italic? `(:italic t))
83 | ,@(when extend? `(:extend t))
84 | ,@(when bold? `(:bold t)))))
85 | `((t ,(pcase var
86 | ('background `(:background ,(or bg stimmung-themes-light-highlight-color)
87 | :foreground ,fg1
88 | ,@font-variants))
89 | ('foreground `(:foreground ,(or fg stimmung-themes-light-highlight-color-foreground)
90 | ,@font-variants))
91 | ('none `(:foreground ,fg1
92 | ,@font-variants))))))))
93 | (custom-theme-set-faces
94 | 'stimmung-themes-light
95 |
96 | `(default ((t (:background ,bg1 :foreground ,fg1))))
97 | ;; `(shadow ((t (:background ,bg1))))
98 | `(hl-line ((t (:background ,hl-line :extend t))))
99 |
100 | `(region ((t (:background ,bg4))))
101 | `(lazy-highlight ((t (:foreground ,fg1 :background ,search2))))
102 | `(secondary-selection ((t (:foreground ,fg1 :background ,search2))))
103 | `(highlight ((t (:foreground ,fg1 :background ,bg3 :bold t))))
104 | `(fringe ((t (:foreground ,fg1 :background ,bg1))))
105 | `(match ((t (:foreground ,ok :bold t))))
106 | `(scroll-bar ((t (:foreground ,fg5 :background ,bg1))))
107 |
108 | `(link ((t (:underline t))))
109 | `(link-visited ((t (:underline t :italic t))))
110 | `(button ((t (:underline t))))
111 | `(tooltip ((t (:foreground ,fg1 :background ,bg3))))
112 | `(vertical-border ((t (:foreground ,bg2 :background ,bg2))))
113 | `(info-string ((t (:background ,stimmung-themes-light-highlight-color))))
114 | `(default-italic ((t (:slant italic))))
115 |
116 | `(error ((t (:foreground ,red))))
117 | `(warning ((t (:foreground ,warning))))
118 | `(success ((t (:foreground ,ok))))
119 | `(cancel ((t (:foreground ,red :strike-through t))))
120 | `(font-lock-warning-face ((t (:foreground ,fg1 :underline (:style wave :color ,warning)))))
121 |
122 | `(minibuffer-noticable-prompt ((t (:foreground ,fg1 :bold t))))
123 | `(minibuffer-prompt ((t (:foreground ,fg1 :bold t))))
124 |
125 | `(isearch ((t (:foreground ,fg1 :background ,search))))
126 | `(isearch-highlight ((t (:foreground ,fg1 :background ,search2))))
127 | `(isearch-fail ((t (:foreground ,fg1 :background ,search2))))
128 |
129 | `(paren-matched ((t (:foreground ,ok :background ,bg1))))
130 | `(paren-unmatched ((t (:foreground ,red :background ,bg1))))
131 | `(escape-glyph ((t (:foreground ,red :bold t))))
132 | `(homoglyph ((t (:foreground ,red))))
133 |
134 | `(line-number ((t (:foreground ,fg5 :background ,bg1))))
135 | `(line-number-current-line ((t (:foreground ,fg1 :background ,bg1))))
136 | `(linum ((t (:inherit 'line-number))))
137 |
138 | ;; syntax, user customizable
139 | `(font-lock-comment-delimiter-face ,(user-controlled-with stimmung-themes-comment :bg str :fg fg5 :italic? t :extend? t))
140 | `(font-lock-comment-face ,(user-controlled-with stimmung-themes-comment :bg str :fg fg5 :italic? t :extend? t))
141 | `(font-lock-doc-face ,(user-controlled-with stimmung-themes-doc :bg str :fg fg5 :italic? nil :extend? t))
142 |
143 | `(font-lock-negation-char-face ,(user-controlled-with stimmung-themes-preprocessor))
144 | `(font-lock-preprocessor-face ,(user-controlled-with stimmung-themes-preprocessor))
145 | `(font-lock-preprocessor-char-face ,(user-controlled-with stimmung-themes-preprocessor))
146 |
147 | `(font-lock-regexp-grouping-backslash ,(user-controlled-with stimmung-themes-regex :bold? t))
148 | `(font-lock-regexp-grouping-construct ,(user-controlled-with stimmung-themes-regex :bold? t))
149 |
150 | `(font-lock-builtin-face ,(user-controlled-with stimmung-themes-builtin :italic? t))
151 | `(font-lock-constant-face ,(user-controlled-with stimmung-themes-constant :italic? t))
152 | `(font-lock-function-name-face ,(user-controlled-with stimmung-themes-function-name :bold? t))
153 | `(font-lock-keyword-face ,(user-controlled-with stimmung-themes-keyword))
154 | `(font-lock-type-face ,(user-controlled-with stimmung-themes-type :italic? t))
155 | `(font-lock-variable-name-face ,(user-controlled-with stimmung-themes-variable-name :bold? t))
156 | `(font-lock-string-face ,(user-controlled-with stimmung-themes-string :bg str :fg str-fg))
157 | `(font-lock-doc-markup-face ,(user-controlled-with stimmung-themes-markup))
158 |
159 | ;; tree-sitter based font lock faces
160 | `(font-lock-regexp-face ,(user-controlled-with stimmung-themes-regex))
161 | `(font-lock-escape-face ,(user-controlled-with stimmung-themes-regex :italic? t))
162 | `(font-lock-number-face ((t (:foreground ,fg1))))
163 | `(font-lock-operator-face ((t (:foreground ,fg1))))
164 | `(font-lock-property-name-face ((t (:foreground ,fg1))))
165 | `(font-lock-property-use-face ((t (:foreground ,fg1 :italic t))))
166 | `(font-lock-bracket-face ((t (:foreground ,str-fg))))
167 | `(font-lock-delimiter-face ((t (:foreground ,str-fg))))
168 | `(font-lock-punctuation-face ((t (:foreground ,str-fg))))
169 | `(font-lock-misc-punctuation-face ((t (:foreground ,str-fg))))
170 |
171 | ;; custom
172 | `(custom-invalid ((t (:background ,bg1 :foreground ,fg1 :underline (:style wave :color ,warning)))))
173 | `(custom-rogue ((t (:background ,bg1 :foreground ,fg5 :underline nil))))
174 | `(custom-modified ((t (:background ,stimmung-themes-light-highlight-color :foreground ,fg1))))
175 | `(custom-set ((t (:background ,bg1 :foreground ,fg1 :bold t))))
176 | `(custom-changed ((t (:background ,bg1 :foreground ,fg1 :italic t))))
177 | `(custom-themed ((t (:background ,str :foreground ,fg1))))
178 | `(custom-saved ((t (:background ,bg1 :foreground ,fg1 :bold t))))
179 | `(custom-state ((t (:background ,bg1 :foreground ,fg1 :italic t))))
180 | `(custom-link ((t (:background ,str :foreground ,fg1 :underline nil))))
181 | `(custom-visibility ((t (:background ,bg1 :foreground ,fg5 :height 0.8))))
182 | `(custom-comment ((t (:background ,bg1 :foreground ,fg1 :italic t))))
183 | `(custom-comment-tag ((t (:background ,bg1 :foreground ,fg1 :italic t))))
184 |
185 | `(custom-group-tag-1 ((t (:background ,bg1 :foreground ,fg1 :bold t :height 1.1 :inherit variable-pitch))))
186 | `(custom-group-tag ((t (:background ,bg1 :foreground ,fg1 :bold t :height 1.1 :inherit variable-pitch))))
187 | `(custom-group-subtitle ((t (:background ,bg1 :foreground ,fg1 :bold t))))
188 |
189 | `(custom-button ((t (:background ,bg5 :foreground ,fg1 :box (:line-width 1 :color ,fg5)))))
190 | `(custom-button-mouse ((t (:background ,bg3 :foreground ,fg1 :box (:line-width 1 :color ,bg4)))))
191 | `(custom-button-unraised ((t (:background ,bg5 :foreground ,fg1 :box (:line-width 1 :color ,fg5)))))
192 |
193 | `(custom-variable-obsolete ((t (:background ,bg1 :foreground ,fg5))))
194 | `(custom-variable-tag ((t (:background ,bg1 :foreground ,fg5))))
195 | `(custom-variable-button ((t (:background ,bg5 :foreground ,fg1 :box (:line-width 1 :color ,fg5)))))
196 |
197 | ;; widget
198 | `(widget-inactive ((t (:background ,bg1 :foreground ,fg5))))
199 | `(widget-documentation ((t (:background ,bg1 :foreground ,fg1))))
200 | `(widget-button ((t (:background ,bg5 :foreground ,fg1 :box (:line-width 1 :color ,fg5)))))
201 | `(widget-field ((t (:background ,bg2 :foreground ,fg1 :box (:line-width 1 :color ,bg4)))))
202 | `(widget-single-line-field ((t (:background ,bg2 :foreground ,fg1 :box (:line-width 1 :color ,bg4)))))
203 |
204 | ;; message
205 | `(message-cited-text-1 ((t (:foreground ,fg5))))
206 | `(message-cited-text-2 ((t (:foreground ,fg4))))
207 | `(message-cited-text-3 ((t (:foreground ,fg3))))
208 | `(message-cited-text-4 ((t (:inherit message-cited-text-3))))
209 | `(message-header-cc ((t (:foreground ,fg1))))
210 | `(message-header-name ((t (:foreground ,fg1))))
211 | `(message-header-newsgroups ((t (:inherit message-header-other))))
212 | `(message-header-other ((t (:foreground ,fg5))))
213 | `(message-header-subject ((t (:foreground ,fg1 :inherit bold))))
214 | `(message-header-to ((t (:foreground ,fg1))))
215 | `(message-header-xheader ((t (:background ,bg2))))
216 | `(message-mml ((t (:foreground ,fg5 :background ,bg2))))
217 | `(message-separator ((t (:background ,bg3))))
218 |
219 | ;; eshell
220 | `(eshell-ls-directory ((t (:background ,stimmung-themes-light-highlight-color :bold t))))
221 | `(eshell-prompt ((t (:foreground ,fg1 :bold t))))
222 | `(eshell-ls-executable ((t (:foreground ,fg1 :bold t))))
223 | `(eshell-ls-symlink ((t (:foreground ,fg1 :italic t))))
224 | `(eshell-ls-special ((t (:foreground ,ok :italic t))))
225 | `(eshell-ls-backup ((t (:foreground ,fg1 :italic t))))
226 | `(eshell-ls-readonly ((t (:foreground ,red))))
227 | `(eshell-ls-unreadable ((t (:foreground ,red))))
228 | `(eshell-ls-missing ((t (:foreground ,red))))
229 | `(eshell-ls-product ((t (:foreground ,fg1))))
230 | `(eshell-ls-archive ((t (:foreground ,fg1))))
231 | `(eshell-ls-entries ((t (:foreground ,fg1))))
232 |
233 | ;; avy
234 | `(avy-lead-face ((t (:background ,bg2 :foreground ,fg1 :distant-foreground ,fg1 :bold t))))
235 | `(avy-lead-face-0 ((t (:inherit 'avy-lead-face))))
236 | `(avy-lead-face-1 ((t (:inherit 'avy-lead-face))))
237 | `(avy-lead-face-2 ((t (:inherit 'avy-lead-face))))
238 |
239 | ;; flyspell
240 | `(flycheck-note ((t (:underline (:style wave :color ,ok)))))
241 | `(flyspell-incorrect ((t (:underline (:style wave :color ,red) ))))
242 | `(flycheck-error ((t (:underline (:style wave :color ,red)))))
243 | `(flyspell-duplicate ((t (:underline (:style wave :color ,warning)))))
244 | `(flysheck-warning ((t (:underline (:style wave :color ,warning)))))
245 | `(flysheck-warning-overlay ((t (:underline (:style wave :color ,warning)))))
246 |
247 | ;; hydra
248 | `(hydra-face-red ((t (:foreground ,fg1 :bold t))))
249 | `(hydra-face-blue ((t (:foreground ,fg1 :bold t))))
250 | `(hydra-face-amaranth ((t (:foreground ,fg1 :bold t))))
251 | `(hydra-face-pink ((t (:foreground ,fg1 :bold t))))
252 | `(hydra-face-teal ((t (:foreground ,fg1 :bold t))))
253 |
254 | ;; cider
255 | `(cider-fringe-good-face ((t (:foreground ,ok))))
256 | ;; `(cider-test-success-face ((t (:background ,ok :foreground ,bg1))))
257 | ;; `(cider-test-failure-face ((t (:background ,red :foreground ,bg1))))
258 | `(cider-test-error-face ((t (:background ,stimmung-themes-light-highlight-color))))
259 | `(cider-result-overlay-face ((t (:background ,bg5 :box (:line-width 1 :color ,fg5)))))
260 |
261 | ;; company
262 | `(company-scrollbar-bg ((t (:background ,bg2))))
263 | `(company-scrollbar-fg ((t (:background ,fg5))))
264 | `(company-tooltip-scrollbar-thumb ((t (:background ,fg5))))
265 | `(company-tooltip-scrollbar-track ((t (:background ,bg2))))
266 | `(company-tooltip-common ((t (:foreground ,fg1))))
267 | `(company-tooltip ((t (:background ,bg2 :foreground ,fg1 :inherit fixed-pitch))))
268 | `(company-tooltip-selection ((t (:background ,bg3 :foreground ,fg1))))
269 | `(company-tooltip-common ((t (:foreground ,fg1 :background ,search2))))
270 | `(company-tooltip-common-selection ((t (:foreground ,fg1 :background ,search2))))
271 | `(company-tooltip-search ((t (:foreground ,fg1 :background ,search2 :inherit fixed-pitch))))
272 | `(company-tooltip-search-selection ((t (:foreground ,fg1 :background ,search2))))
273 | `(company-tooltip-annotation ((t (:foreground ,fg5 :inherit fixed-pitch))))
274 | `(company-tooltip-quick-access ((t (:foreground ,fg4))))
275 | `(company-tooltip-quick-access-selection ((t (:foreground ,fg5))))
276 | `(company-tooltip-mouse ((t (:inherit highlight))))
277 | `(company-preview ((t (:background ,stimmung-themes-light-highlight-color :foreground ,fg1))))
278 | `(company-echo-common ((t (:background ,fg1 :foreground ,bg1))))
279 |
280 | ;; compilation
281 | `(compilation-line-number ((t (:bold t))))
282 | `(compilation-column-number ((t (:inherit 'font-lock-comment-face))))
283 | `(compilation-error ((t (:inherit 'error :bold t))))
284 | `(compilation-warning ((t (:inherit 'warning))))
285 | `(compilation-info ((t (:inherit 'success))))
286 | `(compilation-mode-line-exit ((t (:inherit 'compilation-info))))
287 | `(compilation-mode-line-fail ((t (:inherit 'compilation-error))))
288 |
289 | ;; corfu
290 | `(corfu-current ((t (:background ,bg4 :foreground ,fg1))))
291 | `(corfu-echo ((t (:background ,bg1 :foreground ,fg1 :italic t))))
292 |
293 | ;; consult
294 | `(consult-project-extra-projects ((t (:foreground ,str-fg :italic t))))
295 | `(consult-file ((t (:foreground ,fg1))))
296 | `(consult-grep-context ((t (:foreground ,fg1))))
297 | `(consult-grep-help ((t (:foreground ,ok))))
298 | `(consult-highlight-match ((t (:background ,search))))
299 | `(consult-preview-insertion ((t (:foreground ,fg1))))
300 | `(consult-preview-line ((t (:foreground ,fg1))))
301 | `(consult-separator ((t (:foreground ,fg5))))
302 |
303 | ;; mode-line
304 | `(header-line ((t (:inherit 'mode-line :distant-foreground ,bg1))))
305 | `(mode-line ((t (:foreground ,fg1 :background ,bg1 :box nil))))
306 | `(mode-line-inactive ((t (:foreground ,fg5 :background ,bg5 :box nil))))
307 | `(mode-line-buffer-id ((t (:foreground ,fg1 :bold t :distant-foreground ,bg1))))
308 | `(mode-line-emphasis ((t (:foreground ,fg1 :bold t))))
309 | `(mode-line-highlight ((t (:foreground ,bg3))))
310 |
311 | ;; centaur tabs
312 | `(centaur-tabs-default ((t (:foreground ,fg1 :background ,bg5))))
313 | `(centaur-tabs-unselected ((t (:foreground ,fg5 :background ,bg2))))
314 | `(centaur-tabs-selected ((t (:foreground ,fg1 :background ,bg1))))
315 | `(centaur-tabs-unselected-modified ((t (:foreground ,fg5 :background ,bg2))))
316 | `(centaur-tabs-selected-modified ((t (:foreground ,fg1 :background ,bg1))))
317 | `(centaur-tabs-close-unselected ((t (:foreground ,fg3 :background ,bg2))))
318 | `(centaur-tabs-close-selected ((t (:foreground ,fg3 :background ,bg1))))
319 | `(centaur-tabs-name-mouse-face ((t (:foreground ,fg1))))
320 | `(centaur-tabs-close-mouse-face ((t (:foreground ,fg1))))
321 | `(centaur-tabs-active-bar-face ((t (:background ,stimmung-themes-light-highlight-color))))
322 |
323 | ;; completions
324 | `(completions-common-part ((t (:foreground ,fg1 :bold t))))
325 |
326 | ;; doom-modeline
327 | `(doom-modeline-buffer-path ((t (:foreground ,fg1))))
328 | `(doom-modeline-buffer-file ((t (:foreground ,fg1 :weight bold))))
329 | `(doom-modeline-buffer-modified ((t (:foreground ,red :weight bold))))
330 | `(doom-modeline-project-dir ((t (:foreground ,fg1 :weight bold))))
331 | `(doom-modeline-project-root-dir ((t (:foreground ,fg1 :weight normal))))
332 | `(doom-modeline-project-parent-dir ((t (:foreground ,fg1 :weight normal))))
333 | `(doom-modeline-bar-inactive ((t (:foreground ,fg1 :background ,bg5))))
334 | `(doom-modeline-bar ((t (:background ,stimmung-themes-light-highlight-color)))) ; the leftmost bar
335 | `(doom-modeline-evil-insert-state ((t (:foreground ,fg1))))
336 | `(doom-modeline-evil-visual-state ((t (:foreground ,fg1))))
337 | `(doom-modeline-evil-normal-state ((t (:foreground ,fg1))))
338 | `(doom-modeline-evil-emacs-state ((t (:foreground ,red :italic nil))))
339 | `(doom-modeline-buffer-minor-mode ((t (:background ,bg5))))
340 |
341 | ;; dired
342 | `(dired-directory ((t (:foreground ,fg1 :bold t))))
343 | `(dired-ignored ((t (:foreground ,fg1))))
344 | `(dired-flagged ((t (:foreground ,ok))))
345 | `(dired-header ((t (:foreground ,fg1 :bold t))))
346 | `(dired-mark ((t (:foreground ,red :bold t))))
347 | `(dired-marked ((t (:foreground ,red :bold t))))
348 | `(dired-perm-write ((t (:foreground ,fg1 :underline t))))
349 | `(dired-symlink ((t (:foreground ,fg1 :italic t))))
350 | `(dired-warning ((t (:foreground ,fg1 :underline (:style wave :color ,warning)))))
351 |
352 | ;; diredfl
353 | `(diredfl-compressed-file-name ((t (:foreground ,fg1))))
354 | `(diredfl-compressed-file-suffix ((t (:foreground ,fg4))))
355 | `(diredfl-date-time ((t (:foreground ,fg4 :inherit bold))))
356 | `(diredfl-deletion ((t (:inherit error))))
357 | `(diredfl-deletion-file-name ((t (:inherit error :strike-through ,red))))
358 | `(diredfl-dir-heading ((t (:foreground ,fg1 :background ,bg2))))
359 | `(diredfl-dir-name ((t (:foreground ,fg5 :background ,bg5 :inherit bold))))
360 | `(diredfl-executable-tag ((t (:foreground ,fg1))))
361 | `(diredfl-file-name ((t (:foreground ,fg1))))
362 | `(diredfl-file-suffix ((t (:foreground ,fg1 :background ,stimmung-themes-light-highlight-color))))
363 | `(diredfl-flag-mark ((t (:background ,stimmung-themes-light-highlight-color))))
364 | `(diredfl-flag-mark-line ((t (:background ,stimmung-themes-light-highlight-color))))
365 | `(diredfl-ignored-file-name ((t (:foreground ,fg4))))
366 | `(diredfl-number ((t (:foreground ,fg4 :inherit bold))))
367 | `(diredfl-dir-priv ((t (:foreground ,fg1 :inherit bold))))
368 | `(diredfl-exec-priv ((t (:foreground ,fg1))))
369 | `(diredfl-link-priv ((t (:foreground ,fg1))))
370 | `(diredfl-no-priv ((t (:foreground ,fg1))))
371 | `(diredfl-other-priv ((t (:foreground ,fg1))))
372 | `(diredfl-rare-priv ((t (:foreground ,fg1))))
373 | `(diredfl-read-priv ((t (:foreground ,fg1))))
374 | `(diredfl-write-priv ((t (:foreground ,fg1))))
375 | `(diredfl-symlink ((t (:foreground ,fg5))))
376 | `(diredfl-autofile-name ((t (:foreground ,fg1))))
377 | `(diredfl-tagged-autofile-name ((t (:foreground ,fg1))))
378 |
379 | ;; evil
380 | `(evil-ex-info ((t (:foreground ,red :italic t))))
381 | `(evil-ex-search ((t (:background ,bg2 :foreground ,fg1 :bold t))))
382 | `(evil-search-highlight-persist-highlight-face ((t (:inherit 'lazy-highlight))))
383 |
384 | ;; evil-mc
385 | `(evil-mc-cursor-default-face ((t (:foreground ,bg1 :background ,fg1))))
386 | `(evil-mc-region-face ((t (:foreground ,bg1 :background ,fg1))))
387 | `(evil-mc-cursor-bar-face ((t (:foreground ,fg1))))
388 | `(evil-mc-cursor-hbar-face ((t (:foreground ,fg1))))
389 |
390 | ;; info
391 | `(info-quoted ((t (:inherit 'default :bold t))))
392 | `(info-menu-star ((t (:bold t))))
393 |
394 | ;; Mini-frame
395 |
396 | `(mini-frame-mode ((t (:bold t))))
397 |
398 | ;; ivy
399 | `(ivy-current-match ((t (:background ,bg1 :bold t))))
400 | `(ivy-minibuffer-match-highlight ((t (:foreground ,ok))))
401 | `(ivy-minibuffer-match-face-1 ((t (:foreground ,fg1 :bold t))))
402 | `(ivy-minibuffer-match-face-2 ((t (:foreground ,fg1 :bold t))))
403 | `(ivy-minibuffer-match-face-3 ((t (:foreground ,fg1 :bold t))))
404 | `(ivy-minibuffer-match-face-4 ((t (:foreground ,fg1 :bold t))))
405 | `(ivy-confirm-face ((t (:foreground ,ok))))
406 | `(ivy-required-face ((t (:foreground ,red))))
407 | `(ivy-subdir ((t (:foreground ,fg1))))
408 | `(ivy-modified-buffer ((t (:foreground ,red :bold t))))
409 | `(ivy-modified-outside-buffer ((t (:foreground ,red))))
410 | `(ivy-remote ((t (:foreground ,fg1))))
411 | `(ivy-virtual ((t (:foreground ,fg1 :italic t))))
412 | `(ivy-prompt ((t (:foreground ,red))))
413 | `(ivy-prompt-match ((t (:foreground ,red))))
414 | `(ivy-separator ((t (:foreground ,stimmung-themes-light-highlight-color))))
415 | `(ivy-highlight-face ((t (:foreground ,red))))
416 | `(ivy-grep-info ((t (:foreground ,red))))
417 | `(ivy-completions-annotations ((t (:foreground ,red))))
418 |
419 | ;; helm
420 | `(helm-header ((t (:foreground ,fg5 :background ,bg1 :underline nil :box nil))))
421 | `(helm-source-header ((t (:foreground ,fg1 :background ,bg1 :underline nil :weight bold :box (:line-width 1 :style released-button)))))
422 | `(helm-selection ((t (:background ,fg1 :underline t :foreground ,bg1))))
423 | `(helm-selection-line ((t (:background ,fg1))))
424 | `(helm-visible-mark ((t (:foreground ,fg5 :background ,bg4))))
425 | `(helm-candidate-number ((t (:foreground ,fg5 :background ,bg1))))
426 | `(helm-separator ((t (:foreground ,fg1 :background ,bg1))))
427 | `(helm-time-zone-current ((t (:foreground ,fg1 :background ,bg1))))
428 | `(helm-time-zone-home ((t (:foreground ,fg1 :background ,bg1))))
429 | `(helm-bookmark-addressbook ((t (:foreground ,fg5 :background ,bg1))))
430 | `(helm-bookmark-directory ((t (:foreground nil :background nil :inherit helm-ff-directory))))
431 | `(helm-bookmark-file ((t (:foreground nil :background nil :inherit helm-ff-file))))
432 | `(helm-bookmark-gnus ((t (:foreground ,fg1 :background ,bg1))))
433 | `(helm-bookmark-info ((t (:foreground ,fg5 :background ,bg1))))
434 | `(helm-bookmark-man ((t (:foreground ,fg1 :background ,bg1))))
435 | `(helm-bookmark-w3m ((t (:foreground ,fg1 :background ,bg1))))
436 | `(helm-buffer-not-saved ((t (:foreground ,fg1 :background ,bg1))))
437 | `(helm-buffer-process ((t (:foreground ,fg1 :background ,bg1))))
438 | `(helm-buffer-saved-out ((t (:foreground ,fg5 :background ,bg1))))
439 | `(helm-buffer-size ((t (:foreground ,fg5 :background ,bg1))))
440 | `(helm-ff-directory ((t (:foreground ,fg1 :background ,bg1 :weight bold))))
441 | `(helm-ff-file ((t (:foreground ,fg5 :background ,bg1 :weight normal))))
442 | `(helm-ff-file-extension ((t (:foreground ,fg5 :weight bold))))
443 | `(helm-ff-executable ((t (:foreground ,fg5 :background ,bg1 :weight normal))))
444 | `(helm-ff-invalid-symlink ((t (:foreground ,fg1 :background ,bg1 :weight bold))))
445 | `(helm-ff-symlink ((t (:foreground ,fg1 :background ,bg1 :weight bold))))
446 | `(helm-ff-prefix ((t (:foreground ,bg1 :background ,fg1 :weight normal))))
447 | `(helm-grep-cmd-line ((t (:foreground ,fg1 :background ,bg1))))
448 | `(helm-grep-file ((t (:foreground ,fg5 :background ,bg1))))
449 | `(helm-grep-finish ((t (:foreground ,fg5 :background ,bg1))))
450 | `(helm-grep-lineno ((t (:foreground ,fg5 :background ,bg1))))
451 | `(helm-grep-match ((t (:foreground nil :background nil :inherit helm-match))))
452 | `(helm-grep-running ((t (:foreground ,fg1 :background ,bg1))))
453 | `(helm-lisp-show-completion ((t (:background ,bg2))))
454 | `(helm-match ((t (:background ,search))))
455 | `(helm-moccur-buffer ((t (:foreground ,fg1 :background ,bg1))))
456 | `(helm-mu-contacts-address-face ((t (:foreground ,fg5 :background ,bg1))))
457 | `(helm-mu-contacts-name-face ((t (:foreground ,fg5 :background ,bg1))))
458 |
459 | ;; orderless
460 | `(orderless-match-face-0 ((t (:foreground ,fg1 :bold t))))
461 | `(orderless-match-face-1 ((t (:foreground ,fg1 :bold t))))
462 | `(orderless-match-face-2 ((t (:foreground ,fg1 :bold t))))
463 | `(orderless-match-face-3 ((t (:foreground ,fg1 :bold t))))
464 |
465 | ;; magit
466 | `(magit-bisect-bad ((t (:foreground ,red))))
467 | `(magit-bisect-good ((t (:foreground ,ok))))
468 | `(magit-bisect-skip ((t (:foreground ,fg1))))
469 | `(magit-blame-date ((t (:foreground ,red))))
470 | `(magit-branch ((t (:foreground ,fg1 :bold t))))
471 | `(magit-branch-local ((t (:foreground ,fg1 :bold t))))
472 | `(magit-branch-remote ((t (:foreground ,fg1 :bold t))))
473 | `(magit-diff-file-heading ((t (:foreground ,fg1 :bold nil))))
474 | `(magit-diff-whitespace-warning ((t (:background ,red))))
475 |
476 | `(magit-branch-remote-head ((t (:foreground ,fg5 :background ,bg5 :box (:line-width 1 :color ,fg5)))))
477 | `(magit-branch-current ((t (:foreground ,fg1 :background ,bg5 :box (:line-width 1 :color ,fg5)))))
478 | `(magit-diff-context-highlight ((t (:foreground ,fg1 :background ,bg3))))
479 | `(magit-diff-file-header ((t (:foreground ,fg1 :background ,bg3))))
480 | `(magit-diffstat-added ((t (:foreground ,ok))))
481 | `(magit-diffstat-removed ((t (:foreground ,red))))
482 | `(magit-dimmed ((t (:foreground ,fg1))))
483 | `(magit-hash ((t (:foreground ,fg1 :background ,str))))
484 | `(magit-hunk-heading ((t (:background ,bg3))))
485 | `(magit-hunk-heading-highlight ((t (:background ,bg3))))
486 | `(magit-item-highlight ((t (:background ,bg3))))
487 | `(magit-log-author ((t (:foreground ,fg1))))
488 | `(magit-process-ng ((t (:background ,stimmung-themes-light-highlight-color :bold t))))
489 | `(magit-process-ok ((t (:foreground ,ok :bold t))))
490 | `(magit-section-heading ((t (:foreground ,fg1 :bold t))))
491 | `(magit-section-highlight ((t (:background ,bg3))))
492 | `(magit-tag ((t ,(user-controlled-with stimmung-themes-constant :italic? t))))
493 |
494 | `(magit-blame-highlight ((t (:foreground ,fg1 :background ,bg5 :box (:line-width 1 :color ,fg5 :style nil)))))
495 | `(magit-blame-name ((t (:bold t))))
496 | `(magit-blame-date ((t (:foreground ,fg1 :italic t))))
497 | `(magit-blame-summary ((t (:foreground ,fg1))))
498 | `(magit-blame-hash ((t (:foreground ,fg1))))
499 |
500 | `(git-commit-comment-action ((t ((:inherit 'font-lock-comment-face) :bold t))))
501 |
502 | ;; diff-hl
503 | `(diff-hl-insert ((t (:foreground ,fg1 :background ,ok :bold nil :italic nil))))
504 | `(diff-hl-delete ((t (:foreground ,fg1 :background ,red :bold nil :italic nil))))
505 | `(diff-hl-change ((t (:foreground ,fg1 :background ,search :bold nil :italic nil))))
506 | `(diff-hl-ignore ((t (:foreground ,fg1 :background ,bg1 :bold nil :italic nil))))
507 | `(diff-hl-margin-ignore ((t (:foreground ,fg1 :background ,bg1 :bold nil :italic nil))))
508 | `(diff-hl-margin-unknown ((t (:foreground ,fg1 :background ,bg1 :bold nil :italic nil))))
509 |
510 | ;; git-gutter-fringe
511 | `(git-gutter-fr:added ((t (:foreground ,ok :bold nil :italic nil))))
512 | `(git-gutter-fr:deleted ((t (:foreground ,red :bold nil :italic nil))))
513 | `(git-gutter-fr:modified ((t (:foreground ,search :bold nil :italic nil))))
514 | `(git-gutter:added ((t (:foreground ,ok :bold nil :italic nil))))
515 | `(git-gutter:deleted ((t (:foreground ,red :bold nil :italic nil))))
516 | `(git-gutter:modified ((t (:foreground ,search :bold nil :italic nil))))
517 |
518 | ;; help
519 | `(help-key-binding ((t (:foreground ,fg1 :background ,bg5 :box (:line-width 1 :color ,fg5)))))
520 |
521 | ;; outline, extends org-outline
522 | `(outline-1 ((t (:foreground ,fg1 :bold t :extend t))))
523 | `(outline-2 ((t (:foreground ,fg1 :bold t :extend t))))
524 | `(outline-3 ((t (:foreground ,fg1 :bold t :extend t))))
525 | `(outline-4 ((t (:foreground ,fg1 :bold t :extend t))))
526 | `(outline-5 ((t (:foreground ,fg1 :bold t :extend t))))
527 | `(outline-6 ((t (:foreground ,fg1 :bold t :extend t))))
528 | `(outline-7 ((t (:foreground ,fg1 :bold t :extend t))))
529 | `(outline-8 ((t (:foreground ,fg1 :bold t :extend t))))
530 |
531 | ;; TODO org-agenda
532 |
533 | ;; org
534 | `(org-code ((t (:background ,str :distant-foreground ,bg1 :background ,stimmung-themes-light-highlight-color))))
535 | `(org-link ((t (:underline t))))
536 | `(org-block ((t (:foreground ,fg1 :background ,bg5 :extend t :inherit fixed-pitch))))
537 | `(org-block-begin-line ((t (:foreground ,fg5 :background ,bg5 :extend t :inherit fixed-pitch))))
538 | `(org-block-end-line ((t (:foreground ,fg5 :background ,bg5 :extend t :inherit fixed-pitch))))
539 | `(org-drawer ((t (:foreground ,fg1 :bold t :inherit fixed-pitch))))
540 | `(org-document-info ((t (:foreground ,fg1 :background ,bg1 :italic t))))
541 | `(org-document-info-keyword ((t (:foreground ,fg1 :background ,bg1))))
542 | `(org-document-title ((t (:foreground ,fg1 :weight bold))))
543 | `(org-done ((t (:foreground ,ok :bold t :strike-through t))))
544 | `(org-ellipsis ((t (:foreground ,fg1))))
545 | `(org-meta-line ((t (:background ,bg1))))
546 | `(org-formula ((t (:foreground ,fg1))))
547 | `(org-headline-done ((t (:foreground ,fg1 :weight normal :strike-through t))))
548 | `(org-hide ((t (:foreground ,bg1 :background ,bg1))))
549 | `(org-list-dt ((t (:foreground ,fg1 :bold t))))
550 | `(org-scheduled ((t (:foreground ,red))))
551 | `(org-scheduled-today ((t (:foreground ,ok))))
552 | `(org-table ((t (:foreground ,fg1 :inherit fixed-pitch))))
553 | `(org-tag ((t (:foreground ,fg1 :background ,bg1 :bold t))))
554 | `(org-todo ((t (:foreground ,red :bold t))))
555 | `(org-warning ((t (:inherit 'warning))))
556 | `(org-upcoming-deadline ((t (:foreground ,red))))
557 | `(org-priority ((t (:background ,stimmung-themes-light-highlight-color))))
558 | `(org-footnote ((t (:background ,stimmung-themes-light-highlight-color))))
559 | `(org-scheduled-previously ((t (:background ,stimmung-themes-light-highlight-color))))
560 | `(org-sexp-date ((t (:background ,stimmung-themes-light-highlight-color))))
561 | `(org-special-keyword ((t (:background ,stimmung-themes-light-highlight-color))))
562 | `(org-date ((t (:background ,bg1 :bold t))))
563 | `(org-checkbox ((t (:foreground ,fg1 :bold t :inherit fixed-pitch))))
564 |
565 | ;; markdown mode
566 | `(markdown-header-face ((t (:foreground ,fg1 :bold t))))
567 | `(markdown-list-face ((t (:foreground ,fg1 :bold t))))
568 | `(markdown-bold-face ((t (:foreground ,fg1 :bold t))))
569 | `(markdown-blockquote-face ((t (:foreground ,fg1 :italic t))))
570 | `(markdown-italic-face ((t (:foreground ,fg1 :italic t))))
571 | `(markdown-link-face ((t (:foreground ,fg1 :underline t))))
572 | `(markdown-url-face ((t (:foreground ,fg1 :underline t))))
573 | `(markdown-header-delimiter-face ((t (:inherit 'markdown-header-face))))
574 | `(markdown-metadata-key-face ((t (:foreground ,fg1))))
575 | `(markdown-markup-face ((t (:foreground ,fg1 :inherit fixed-pitch))))
576 | `(markdown-pre-face ((t (:inherit org-block))))
577 | `(markdown-inline-code-face ((t (:foreground ,fg1 :background ,stimmung-themes-light-highlight-color :inherit fixed-pitch))))
578 | `(markdown-code-face ((t (:foreground ,fg1 :background ,bg5 :extend t))))
579 | `(markdown-reference-face ((t (:foreground ,fg1))))
580 | `(markdown-html-attr-name-face ((t (:inherit 'font-lock-variable-name-face :inherit fixed-pitch))))
581 | `(markdown-html-attr-value-face ((t (:inherit 'font-lock-string-face :inherit fixed-pitch))))
582 | `(markdown-html-entity-face ((t (:inherit 'font-lock-variable-name-face))))
583 | `(markdown-html-tag-delimiter-face ((t (:inherit 'markdown-markup-face :inherit fixed-pitch))))
584 | `(markdown-html-tag-name-face ((t (:inherit 'font-lock-keyword-face :inherit fixed-pitch))))
585 | `(markdown-language-keyword-face ((t (:background ,stimmung-themes-light-highlight-color :inherit fixed-pitch))))
586 | `(markdown-table-face ((t (:inherit fixed-pitch))))
587 |
588 | ;; solaire
589 | `(solaire-default-face ((t (:background ,bg5 :foreground ,fg1))))
590 | `(solaire-fringe-face ((t (:background ,bg5 :foreground ,fg1))))
591 | `(solaire-line-number-face ((t (:background ,bg5 :foreground ,fg5))))
592 | `(solaire-hl-line-face ((t (:background ,bg2 :extend t))))
593 | `(solaire-org-hide-face ((t (:background ,bg2 :foreground ,fg5))))
594 | `(solaire-mode-line-face ((t (:foreground ,fg1 :background ,bg5 :box nil))))
595 | `(solaire-mode-line-inactive-face ((t (:foreground ,fg5 :background ,bg5 :box nil))))
596 | `(solaire-header-line-face ((t (:background ,bg5 :foreground ,fg1))))
597 |
598 | ;; sh
599 | `(sh-quoted-exec ((t (:background ,stimmung-themes-light-highlight-color))))
600 | `(sh-heredoc ((t (:background ,stimmung-themes-light-highlight-color))))
601 |
602 | ;; Shortdoc
603 | `(shortdoc-heading ((t (:background ,bg1 :foreground ,fg1 :bold t))))
604 | `(shortdoc-section ((t (:background ,bg1 :foreground ,fg1))))
605 |
606 | ;; show-paren
607 | `(show-paren-match-face ((t (:background ,search :bold t))))
608 | `(show-paren-match ((t (:background ,search :bold t))))
609 | `(show-paren-match-expression ((t (:background ,search :bold t))))
610 | `(show-paren-mismatch ((t (:background ,fg1 :foreground ,red :bold t))))
611 |
612 | ;; smartparens
613 | `(sp-show-pair-match-face ((t (:inherit 'paren-matched))))
614 | `(sp-show-pair-mismatch-face ((t (:inherit 'paren-unmatched))))
615 |
616 | ;; rainbow-delimiters
617 | `(rainbow-delimiters-depth-1-face ((t (:foreground ,fg1))))
618 | `(rainbow-delimiters-depth-2-face ((t (:foreground ,fg4))))
619 | `(rainbow-delimiters-depth-3-face ((t (:foreground ,fg1))))
620 | `(rainbow-delimiters-depth-4-face ((t (:foreground ,fg5))))
621 | `(rainbow-delimiters-depth-5-face ((t (:foreground ,fg1))))
622 | `(rainbow-delimiters-depth-6-face ((t (:foreground ,fg4))))
623 | `(rainbow-delimiters-depth-7-face ((t (:foreground ,fg1))))
624 | `(rainbow-delimiters-depth-8-face ((t (:foreground ,fg5))))
625 | `(rainbow-delimiters-depth-9-face ((t (:foreground ,fg1))))
626 | `(rainbow-delimiters-depth-10-face ((t (:foreground ,fg4))))
627 | `(rainbow-delimiters-depth-11-face ((t (:foreground ,fg1))))
628 | `(rainbow-delimiters-depth-12-face ((t (:foreground ,fg5))))
629 |
630 | ;; treemacs
631 | `(treemacs-directory-face ((t (:foreground ,fg1))))
632 | `(treemacs-directory-collapsed-face ((t (:foreground ,fg1))))
633 | `(treemacs-file-face ((t (:foreground ,fg1))))
634 | `(treemacs-root-face ((t (:foreground ,fg1 :bold t))))
635 | `(treemacs-root-unreadable-face ((t (:foreground ,fg1 :underline t :strike-through t))))
636 | `(treemacs-root-remote-face ((t (:foreground ,fg1))))
637 | `(treemacs-root-remote-disconnected-face ((t (:foreground ,red))))
638 | `(treemacs-root-remote-unreadable-face ((t (:foreground ,red))))
639 | `(treemacs-term-node-face ((t (:foreground ,fg1))))
640 | `(treemacs-git-unmodified-face ((t (:foreground ,fg1))))
641 | `(treemacs-git-modified-face ((t (:foreground ,fg1 :italic t))))
642 | `(treemacs-git-renamed-face ((t (:foreground ,fg1 :italic t))))
643 | `(treemacs-git-added-face ((t (:foreground ,fg1))))
644 | `(treemacs-git-ignored-face ((t (:foreground ,fg5 :italic nil))))
645 | `(treemacs-git-untracked-face ((t (:foreground ,fg5 :italic nil))))
646 | `(treemacs-git-conflict-face ((t (:foreground ,red))))
647 | `(treemacs-on-failure-pulse-face ((t (:foreground ,red))))
648 | `(treemacs-on-success-pulse-face ((t (:foreground ,ok))))
649 | `(treemacs-tags-face ((t (:foreground ,fg1 :italic nil))))
650 | `(treemacs-help-title-face ((t (:foreground ,fg1 :bold t))))
651 | `(treemacs-help-column-face ((t (:foreground ,fg1 :bold t))))
652 | `(treemacs-on-failure-pulse-face ((t (:background ,warning :foreground ,fg1 :extend t))))
653 | `(treemacs-on-success-pulse-face ((t (:background ,ok :foreground ,fg1 :extend t))))
654 | `(treemacs-fringe-indicator-face ((t (:background ,bg4 :foreground ,bg4))))
655 | `(treemacs-peek-mode-indicator-face ((t (:background ,stimmung-themes-light-highlight-color))))
656 | `(treemacs-header-button-face ((t (:background ,stimmung-themes-light-highlight-color))))
657 | `(treemacs-header-button-face ((t (:foreground ,fg1 :background ,bg5 :box (:line-width 1 :color ,fg5 :style nil)))))
658 |
659 | ;; tab-bar-mode
660 | `(tab-bar ((t (:background ,bg1 :foreground ,fg1))))
661 | `(tab-bar-tab ((t (:background ,bg5 :foreground ,fg1 :box (:line-width 1 :color ,fg5 :style nil)))))
662 | `(tab-bar-tab-inactive ((t (:background ,bg1 :foreground ,fg5 :box (:line-width 1 :color ,fg2 :style nil)))))
663 |
664 | ;; tab-line-mode
665 | `(tab-line ((t (:background ,bg1 :foreground ,fg1))))
666 | `(tab-line-tab ((t (:background ,bg5 :foreground ,fg1 :box (:line-width 1 :color ,fg5 :style nil)))))
667 | `(tab-line-tab-current ((t (:background ,bg5 :foreground ,fg1 :box (:line-width 1 :color ,fg5 :style nil)))))
668 | `(tab-line-highlight ((t (:background ,bg2 :foreground ,fg1 :box (:line-width 1 :color ,fg5 :style nil)))))
669 | `(tab-line-close-highlight ((t (:foreground ,red))))
670 | `(tab-line-tab-modified ((t (:italic t))))
671 | `(tab-line-tab ((t (:background ,bg5 :foreground ,fg1 :italic t:box (:line-width 1 :color ,fg5 :style nil)))))
672 | `(tab-line-tab-inactive ((t (:background ,bg1 :foreground ,fg5 :box (:line-width 1 :color ,fg2 :style nil)))))
673 | `(tab-line-tab-inactive-alternate ((t (:background ,bg1 :foreground ,fg4 :box (:line-width 1 :color ,fg2 :style nil)))))
674 |
675 | ;; perspective
676 | `(persp-selected-face ((t (:bold t))))
677 |
678 | ;; LaTeX
679 | `(font-latex-sectioning-0-face ((t (:bold t))))
680 | `(font-latex-sectioning-1-face ((t (:bold t))))
681 | `(font-latex-sectioning-2-face ((t (:bold t))))
682 | `(font-latex-sectioning-3-face ((t (:bold t))))
683 | `(font-latex-sectioning-4-face ((t (:italic t))))
684 | `(font-latex-sedate-face ((t (:foreground ,fg5))))
685 | `(font-latex-italic-face ((t (:foreground ,fg1 :italic t))))
686 | `(font-latex-bold-face ((t (:foreground ,fg1 :bold t))))
687 | `(font-latex-verbatim-face ((t (:background ,stimmung-themes-light-highlight-color :bold t))))
688 | `(font-latex-string-face ((t (:foreground ,fg1))))
689 | `(font-latex-warning-face ((t (:foreground ,fg5))))
690 | `(font-latex-math-face ((t (:foreground ,fg1))))
691 | `(font-latex-script-char-face ((t (:foreground ,fg1))))
692 |
693 | ;; copilot
694 |
695 | `(copilot-overlay-face ((t (:foreground ,fg5 :italic t))))
696 |
697 | ;; eglot
698 |
699 | `(eglot-highlight-symbol-face ((t (:foregroud ,fg1 :background ,search))))
700 | `(eglot-mode-line ((t (:foregroud ,fg1 :background ,bg5))))
701 | `(eglot-diagnostic-tag-unnecessary-face ((t (:foregroud ,str-fg))))
702 | `(eglot-diagnostic-tag-deprecated-face ((t (:foregroud ,str-fg :strike-through t))))
703 |
704 | ;; eldoc-box
705 |
706 | `(eldoc-box-border ((t (:background ,fg5))))
707 | `(eldoc-box-body ((t (:foreground ,fg1 :background ,bg1))))
708 |
709 | ;; lsp-mode
710 |
711 | `(lsp-dired-path-face ((t (:foreground ,fg1))))
712 | `(lsp-dired-path-error-face ((t (:foreground ,fg1 :underline (:style wave :color ,red)))))
713 | `(lsp-dired-path-warning-face ((t (:foreground ,fg1 :underline (:style wave :color ,warning)))))
714 | `(lsp-dired-path-info-face ((t (:foreground ,fg1 :italic t))))
715 | `(lsp-dired-path-hint-face ((t (:foreground ,fg1 :italic t))))
716 |
717 | `(lsp-modeline-code-actions-face ((t :foreground ,fg1 :bold t)))
718 | `(lsp-modeline-code-actions-preferred-face ((t :foreground ,fg1 :bold t)))
719 |
720 | `(lsp-lens-mouse-face ((t (:foreground ,fg5 :underline t))))
721 | `(lsp-lens-face ((t (:foreground ,fg5))))
722 | `(lsp-face-highlight-textual ((t (:foreground ,fg1 :background ,search2))))
723 | `(lsp-face-highlight-read ((t (:foreground ,fg1 :background ,search2 :underline nil))))
724 |
725 | `(lsp-headerline-breadcrumb-separator-face ((t (:foreground ,fg5))))
726 | `(lsp-headerline-breadcrumb-path-face ((t (:foreground ,fg1))))
727 | `(lsp-headerline-breadcrumb-path-error-face ((t (:foreground ,fg1 :underline (:style wave :color ,red)))))
728 | `(lsp-headerline-breadcrumb-path-warning-face ((t (:foreground ,fg1 :underline (:style wave :color ,warning)))))
729 | `(lsp-headerline-breadcrumb-path-info-face ((t (:foreground ,fg1))))
730 | `(lsp-headerline-breadcrumb-path-hint-face ((t (:foreground ,fg1))))
731 | `(lsp-headerline-breadcrumb-project-prefix-face ((t (:foreground ,fg1 :bold t))))
732 | `(lsp-headerline-breadcrumb-unknown-project-prefix-face ((t (:foreground ,fg5))))
733 | `(lsp-headerline-breadcrumb-symbols-face ((t (:foreground ,fg1))))
734 | `(lsp-headerline-breadcrumb-symbols-error-face ((t (:foreground ,fg1 :underline (:style wave :color ,red)))))
735 | `(lsp-headerline-breadcrumb-symbols-warning-face ((t (:foreground ,fg1 :underline (:style wave :color ,warning)))))
736 | `(lsp-headerline-breadcrumb-symbols-info-face ((t (:foreground ,fg1))))
737 | `(lsp-headerline-breadcrumb-symbols-hint-face ((t (:foreground ,fg1))))
738 | `(lsp-headerline-breadcrumb-deprecated-face ((t (:foreground ,red))))
739 |
740 | ;; LSP UI
741 | `(lsp-ui-doc-background ((t (:foreground ,fg1 :background ,bg5 :box (:line-width 1 :color ,fg5 :style nil)))))
742 | `(lsp-ui-doc-header ((t (:foreground ,fg1 :bold t))))
743 | `(lsp-ui-doc-highlight-hover ((t (:foreground ,fg1 :background ,stimmung-themes-light-highlight-color))))
744 | `(lsp-ui-doc-url ((t (:foreground ,fg1 :underline t))))
745 |
746 | `(lsp-ui-peek-peek ((t (:foreground ,fg1 :background ,bg5 :box (:line-width 1 :color ,fg5 :style nil)))))
747 | `(lsp-ui-peek-list ((t (:foreground ,fg1 :background ,bg5 :box (:line-width 1 :color ,fg5 :style nil)))))
748 | `(lsp-ui-peek-filename ((t (:foreground ,fg5 :underline t))))
749 | `(lsp-ui-peek-line-number ((t (:foreground ,fg5 :background ,bg1))))
750 | `(lsp-ui-peek-highlight ((t (:foreground ,fg1 :background ,stimmung-themes-light-highlight-color))))
751 | `(lsp-ui-peek-header ((t (:foreground ,fg1 :bold))))
752 | `(lsp-ui-peek-footer ((t (:foreground ,fg5))))
753 | `(lsp-ui-peek-selection ((t (:background ,bg4 :foreground ,fg1))))
754 |
755 | `(lsp-ui-sideline-symbol ((t (:foreground ,fg1 :background ,search2))))
756 | `(lsp-ui-sideline-current-symbol ((t (:foreground ,fg1 :background ,stimmung-themes-light-highlight-color))))
757 | `(lsp-ui-sideline-code-action ((t (:foreground ,fg1 :background ,str))))
758 | `(lsp-ui-sideline-symbol-info ((t (:foreground ,fg1 :background ,search2))))
759 | `(lsp-ui-sideline-global ((t (:foreground ,fg1 :background ,bg1))))
760 |
761 | ;; lsp-bridge
762 | `(lsp-bridge-ref-font-lock-header-line-text ((t (:foreground ,fg1))))
763 | `(lsp-bridge-ref-font-lock-header-line-edit-mode ((t (:foreground ,fg1))))
764 | `(lsp-bridge-ref-font-lock-command ((t (:foreground ,fg1 :bold t))))
765 | `(lsp-bridge-ref-font-lock-file ((t (:foreground ,fg1 :bold t))))
766 | `(lsp-bridge-ref-font-lock-line-number ((t (:inherit 'line-number))))
767 | `(lsp-bridge-ref-font-lock-column-number ((t (:inherit 'line-number))))
768 | `(lsp-bridge-ref-font-lock-position-splitter ((t (:foreground ,fg1))))
769 | `(lsp-bridge-ref-font-lock-match ((t (:foreground ,fg1 :background ,search2))))
770 | `(lsp-bridge-ref-font-lock-diagnostic ((t (:inherit 'error))))
771 | `(lsp-bridge-ref-font-lock-mark-changed ((t (:foreground ,fg1 :background ,search2 :italic t))))
772 | `(lsp-bridge-ref-font-lock-mark-deleted ((t (:foreground ,fg1 :strike-through ,red))))
773 | `(lsp-bridge-ref-font-lock-function-location ((t (:foreground ,fg1 :background ,search2))))
774 |
775 | ;; tree-sitter
776 |
777 | `(tree-sitter-hl-face:attribute ((t (:inherit 'font-lock-constant-face))))
778 | `(tree-sitter-hl-face:comment ((t (:inherit 'font-lock-comment-face :extend t))))
779 | `(tree-sitter-hl-face:constant ((t (:inherit 'font-lock-constant-face))))
780 | `(tree-sitter-hl-face:constant.builtin ((t (:inherit 'font-lock-constant-face))))
781 | `(tree-sitter-hl-face:constructor ((t (:foreground ,fg1 :background nil))))
782 | `(tree-sitter-hl-face:doc ((t (:inherit 'font-lock-doc-face))))
783 | `(tree-sitter-hl-face:embedded ((t (:foreground ,fg1 :background nil))))
784 | `(tree-sitter-hl-face:escape ((t (:foreground ,fg1 :background nil))))
785 | `(tree-sitter-hl-face:function ((t (:inherit 'font-lock-function-name-face))))
786 | `(tree-sitter-hl-face:function.builtin ((t (:inherit 'font-lock-function-name-face))))
787 | `(tree-sitter-hl-face:function.call ((t (:foreground ,fg1 :background nil))))
788 | `(tree-sitter-hl-face:function.macro ((t (:foreground ,fg1 :background nil))))
789 | `(tree-sitter-hl-face:function.special ((t (:foreground ,fg1 :background nil))))
790 | `(tree-sitter-hl-face:keyword ((t (:foreground ,fg1 :background nil))))
791 | `(tree-sitter-hl-face:label ((t (:foreground ,fg1 :background nil))))
792 | `(tree-sitter-hl-face:method ((t (:foreground ,fg1 :background nil))))
793 | `(tree-sitter-hl-face:method.call ((t (:foreground ,fg1 :background nil))))
794 | `(tree-sitter-hl-face:number ((t (:foreground ,fg1 :background nil))))
795 | `(tree-sitter-hl-face:operator ((t (:foreground ,fg1 :background nil))))
796 | `(tree-sitter-hl-face:property ((t (:foreground ,fg1 :background nil))))
797 | `(tree-sitter-hl-face:property.definition ((t (:foreground ,fg1 :background nil))))
798 | `(tree-sitter-hl-face:punctuation ((t (:foreground ,fg5 :background nil))))
799 | `(tree-sitter-hl-face:punctuation.bracket ((t (:foreground ,fg5 :background nil))))
800 | `(tree-sitter-hl-face:punctuation.special ((t (:foreground ,fg5 :background nil))))
801 | `(tree-sitter-hl-face:punctuation.delimiter ((t (:foreground ,fg5 :background nil))))
802 | `(tree-sitter-hl-face:string ((t (:inherit 'font-lock-string-face))))
803 | `(tree-sitter-hl-face:string.special ((t (:inherit 'font-lock-string-face))))
804 | `(tree-sitter-hl-face:tag ((t (:foreground ,fg1 :background nil :bold t))))
805 | `(tree-sitter-hl-face:type ((t (:inherit font-lock-type-face))))
806 | `(tree-sitter-hl-face:type.argument ((t (:foreground ,fg1 :background nil :italic t))))
807 | `(tree-sitter-hl-face:type.builtin ((t (:foreground ,fg1 :background nil :italic t))))
808 | `(tree-sitter-hl-face:type.parameter ((t (:foreground ,fg1 :background nil :italic t))))
809 | `(tree-sitter-hl-face:type.super ((t (:foreground ,fg1 :background nil :italic t))))
810 | `(tree-sitter-hl-face:type.variable ((t (:foreground ,fg1 :background nil :italic t))))
811 | `(tree-sitter-hl-face:variable.builtin ((t (:foreground ,fg1 :background nil))))
812 | `(tree-sitter-hl-face:variable.parameter ((t (:foreground ,fg1 :background nil))))
813 | `(tree-sitter-hl-face:variable.special ((t (:foreground ,fg1 :background nil))))
814 |
815 | ;; Typescript
816 |
817 | `(typescript-jsdoc-value ((t (:foreground ,fg1 :background ,stimmung-themes-dark-highlight-color))))
818 | `(typescript-jsdoc-type ((t (:inherit font-lock-type-face))))
819 | `(typescript-jsdoc-tag ((t (:foreground ,fg1 :bold t))))
820 | `(typescript-ts-jsx-attribute-face ((t (:foreground ,fg1 :italic t))))
821 | `(typescript-ts-jsx-tag-face ((t (:foreground ,fg1 :bold t))))
822 |
823 | ;; rg.el
824 |
825 | `(rg-match-face ((t (:foreground ,fg1 :background ,search2))))
826 | `(rg-error-face ((t (:inherit error))))
827 | `(rg-warning-face ((t (:inherit warning))))
828 | `(rg-context-face ((t (:foreground ,fg5))))
829 | `(rg-filename-face ((t (:foreground ,fg1 :bold t))))
830 | `(rg-info-face ((t (:foreground ,fg1))))
831 | `(rg-tag-face ((t ,(user-controlled-with stimmung-themes-constant :italic? t))))
832 | `(rg-file-tag-face ((t ,(user-controlled-with stimmung-themes-constant :italic? t))))
833 | `(rg-line-number-face ((t (:inherit 'line-number))))
834 | `(rg-column-number-face ((t (:inherit 'line-number))))
835 | `(rg-match-position-face ((t (:inherit 'line-number))))
836 |
837 | ;; DAP
838 |
839 | ;; TODO I'm not sure how popular DAP is is, but it would be nice to support it.
840 | ;; It has a million faces though, so it would be great if someone who has
841 | ;; experience would like to help!
842 |
843 | ;; re-builder
844 | `(reb-match-0 ((t (:foreground ,fg1 :inverse-video t :bold t))))
845 | `(reb-match-1 ((t (:foreground ,fg1 :inverse-video t :bold t))))
846 | `(reb-match-2 ((t (:foreground ,fg1 :inverse-video t :bold t))))
847 | `(reb-match-3 ((t (:foreground ,fg1 :inverse-video t :bold t))))
848 |
849 | ;; undo-tree
850 | `(undo-tree-visualizer-default-face ((t (:foreground ,fg1))))
851 | `(undo-tree-visualizer-current-face ((t (:foreground ,ok :bold t))))
852 | `(undo-tree-visualizer-unmodified-face ((t (:foreground ,fg1 :italic t))))
853 | `(undo-tree-visualizer-active-branch-face ((t (:foreground ,fg1))))
854 | `(undo-tree-visualizer-register-face ((t (:foreground ,fg1))))
855 |
856 | `(window-divider ((t (:foreground ,bg2))))
857 | `(window-divider-first-pixel ((t (:foreground ,bg2))))
858 | `(window-divider-last-pixel ((t (:foreground ,bg2))))
859 |
860 | ;; wo/man
861 | `(Man-overstrike ((t (:foreground ,fg1 :bold t))))
862 | `(Man-underline ((t (:foreground ,fg1 :underline nil :italic t))))
863 | `(woman-bold ((t (:inherit 'Man-overstrike))))
864 | `(woman-italic ((t (:inherit 'Man-underline))))
865 |
866 | ;; web-mode
867 | `(web-mode-doctype-face ((t (:foreground ,fg1))))
868 | `(web-mode-html-tag-face ((t (:foreground ,fg1 :italic t))))
869 | `(web-mode-html-tag-bracket-face ((t (:foreground ,fg1))))
870 | `(web-mode-html-attr-name-face ((t (:foreground ,fg1 :bold t))))
871 | `(web-mode-html-entity-face ((t (:foreground ,fg1 :italic t))))
872 | `(web-mode-block-control-face ((t (:foreground ,fg1))))
873 | `(web-mode-html-tag-bracket-face ((t (:foreground ,fg1 :bold t))))
874 |
875 | ;; visual-regexp
876 | `(vr/match-0 ((t (:background ,search2 :foreground ,fg1))))
877 | `(vr/match-1 ((t (:background ,search2 :foreground ,fg1))))
878 | `(vr/group-0 ((t (:background ,search2 :foreground ,fg1))))
879 | `(vr/group-1 ((t (:background ,search2 :foreground ,fg1))))
880 | `(vr/group-2 ((t (:background ,search2 :foreground ,fg1))))
881 |
882 | ;; elfeed
883 | `(elfeed-search-date-face ((t (:foreground ,fg5 :inherit bold))))
884 | `(elfeed-search-feed-face ((t (:foreground ,fg1 :background ,bg5))))
885 | `(elfeed-search-filter-face ((t (:inherit bold :foreground ,fg1 :background ,bg3))))
886 | `(elfeed-search-last-update-face ((t (:foreground ,fg5 :inherit bold))))
887 | `(elfeed-search-tag-face ((t (:foreground ,fg5))))
888 | `(elfeed-search-title-face ((t (:foreground ,fg5))))
889 | `(elfeed-search-unread-title-face ((t (:foreground ,fg1 :inherit bold))))
890 | `(elfeed-search-unread-count-face ((t (:foreground ,fg5 :inherit bold))))
891 | `(elfeed-log-date-face ((t (:inherit elfeed-search-date-face))))
892 | `(elfeed-log-debug-level-face ((t (:inherit elfeed-search-filter-face))))
893 | `(elfeed-log-error-level-face ((t (:inherit error))))
894 | `(elfeed-log-info-level-face ((t (:inherit success))))
895 | `(elfeed-log-warn-level-face ((t (:inherit warning))))
896 |
897 | ;; notmuch
898 | `(notmuch-crypto-decryption ((t (:inherit (shadow bold)))))
899 | `(notmuch-crypto-part-header ((t (:inherit message-mml))))
900 | `(notmuch-crypto-signature-bad ((t (:inherit error))))
901 | `(notmuch-crypto-signature-unknown ((t (:inherit warning))))
902 | `(notmuch-crypto-signature-good ((t (:inherit success))))
903 | `(notmuch-crypto-signature-good-key ((t (:inherit success))))
904 | `(notmuch-hello-logo-background ((t (:background ,bg5))))
905 | `(notmuch-jump-key ((t (:inherit help-key-binding))))
906 | `(notmuch-message-summary-face ((t (:foreground ,fg1))))
907 | `(notmuch-search-count ((t (:foreground ,fg5))))
908 | `(notmuch-search-date ((t (:foreground ,fg5 :inherit bold))))
909 | `(notmuch-search-flagged-face ((t (:background ,search2))))
910 | `(notmuch-search-matching-authors ((t (:foreground ,fg1))))
911 | `(notmuch-search-non-matching-authors ((t (:inherit notmuch-tree-no-match-face))))
912 | `(notmuch-search-subject ((t (:foreground ,fg1))))
913 | `(notmuch-search-unread-face ((t (:foreground ,fg1 :inherit bold))))
914 | `(notmuch-tag-added ((t (:underline ,fg1 :background ,bg6))))
915 | `(notmuch-tag-deleted ((t (:strike-through ,red))))
916 | `(notmuch-tag-face ((t (:foreground ,fg5))))
917 | `(notmuch-tag-flagged ((t (:foreground ,fg1))))
918 | `(notmuch-tag-unread ((t (:foreground ,fg1 :background ,stimmung-themes-light-highlight-color))))
919 | `(notmuch-tree-match-author-face ((t (:inherit notmuch-search-matching-authors))))
920 | `(notmuch-tree-match-date-face ((t (:inherit notmuch-search-date))))
921 | `(notmuch-tree-match-face ((t (:foreground ,fg1))))
922 | `(notmuch-tree-match-tag-face ((t (:inherit notmuch-tag-face))))
923 | `(notmuch-tree-no-match-face ((t (:foreground ,fg4 :background ,bg5))))
924 | `(notmuch-tree-no-match-date-face ((t (:foreground ,fg4 :background ,bg5))))
925 | `(notmuch-wash-cited-text ((t (:inherit message-cited-text-1))))
926 | `(notmuch-wash-toggle-button ((t (:foreground ,fg5 :background ,bg5))))
927 |
928 | ;; white-space
929 | `(whitespace-empty ((t (:background ,bg3))))
930 | `(whitespace-space ((t (:foreground ,fg1))))
931 | `(whitespace-newline ((t (:foreground ,fg1))))
932 | `(whitespace-tab ((t (:foreground ,fg1 :background ,bg1))))
933 | `(whitespace-indentation ((t (:foreground ,red :background ,fg1))))
934 | `(whitespace-line ((t (:foreground ,red :background ,fg1 :weight bold))))
935 | `(nobreak-space ((t (:inherit 'default :underline nil))))
936 | `(whitespace-trailing ((t (:foreground ,red))))
937 |
938 | ;; yasnippet
939 | `(yas-field-highlight-face ((t (:background ,bg5 :foreground ,fg1 :box (:line-width 1 :color ,fg5)))))
940 |
941 | ;; xref
942 |
943 | `(next-error-message ((t (:background ,search2))))
944 | `(xref-file-header ((t (:foreground ,fg1 :bold t))))
945 | `(xref-match ((t (:foreground ,fg1))))
946 | `(xref-line-number ((t (:inherit 'line-number))))
947 | )))
948 |
949 | (custom-theme-set-variables
950 | 'stimmung-themes-light
951 | '(ansi-color-names-vector ["black" "black" "black" "black"
952 | "black" "black" "black" "white"]))
953 |
954 | ;;;###autoload
955 | (when (and (boundp 'custom-theme-load-path)
956 | load-file-name)
957 | (add-to-list 'custom-theme-load-path
958 | (file-name-as-directory
959 | (file-name-directory load-file-name))))
960 |
961 | (provide-theme 'stimmung-themes-light)
962 | (provide 'stimmung-themes-light-theme)
963 |
964 | ;; Local Variables:
965 | ;; no-byte-compile: t
966 | ;; End:
967 |
968 | ;;; stimmung-themes-light-theme.el ends here
969 |
--------------------------------------------------------------------------------
/stimmung-themes.el:
--------------------------------------------------------------------------------
1 | ;;; stimmung-themes.el --- Themes tuned to inner harmonies -*- lexical-binding: t -*-
2 | ;; Copyright © 2019
3 |
4 | ;; Author: Love Lagerkvist
5 | ;; URL: https://github.com/motform/stimmung-themes
6 | ;; Package-Requires: ((emacs "25"))
7 | ;; Created: 2019-12-20
8 | ;; Version: 2021-03-20
9 | ;; Keywords: faces
10 |
11 | ;; This file is NOT part of GNU Emacs.
12 |
13 | ;;; License:
14 |
15 | ;; This program is free software; you can redistribute it and/or modify
16 | ;; it under the terms of the GNU General Public License as published by
17 | ;; the Free Software Foundation; either version 3, or (at your option)
18 | ;; any later version.
19 |
20 | ;; This program is distributed in the hope that it will be useful,
21 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
22 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 | ;; GNU General Public License for more details.
24 |
25 | ;; For a full copy of the GNU General Public License
26 | ;; see .
27 |
28 | ;;; Commentary:
29 |
30 | ;; Stimmung (dark and light) is a pair of monochrome Emacs themes
31 | ;; with minimal syntax highlighting. They are inspired by Tonsky's
32 | ;; Alabaster theme (https://github.com/tonsky/sublime-scheme-alabaster),
33 | ;; following the maxim that a theme that highlights everything
34 | ;; paradoxically highlights nothing. Text backgrounds (comments,
35 | ;; strings and constants) and font variations (definitions) are used
36 | ;; as alternatives to text colors, ensuring a harmonious reading
37 | ;; experience. Use `stimmung-themes-dark-highlight-color' and
38 | ;; `stimmung-themes-light-highlight-color' to customize the highlight.
39 | ;;
40 | ;; Screenshots are available at: https://github.com/motform/stimmung-themes
41 |
42 | ;;; Code:
43 |
44 | ;;; Theme loading/toggle inspired/sourced from the fantastic `protesilaos/modus-themes'
45 |
46 | (defgroup stimmung-themes nil
47 | "Stimmung settings.
48 | You have to re-load the theme for these changes to take effect."
49 | :group 'faces
50 | :prefix "stimmung-theme-"
51 | :link '(url-link "https://github.com/motform/stimmung-themes"))
52 |
53 |
54 | ;;; Highlight colors
55 |
56 | (defcustom stimmung-themes-dark-highlight-color "#40382b" ; I dub this shade "Japanese gravy"
57 | "The dark theme color for highlights, the only non-monochrome color in code."
58 | :type 'string
59 | :group 'stimmung-themes)
60 |
61 | (defcustom stimmung-themes-dark-highlight-color-foreground "bisque1"
62 | "The dark theme color for highlights that are defined as 'foreground.
63 | There are no 'foreground colors active by default."
64 | :type 'string
65 | :group 'stimmung-themes)
66 |
67 | (defcustom stimmung-themes-light-highlight-color "cornsilk1"
68 | "The light theme color for highlights, the only non-monochrome color in code."
69 | :type 'string
70 | :group 'stimmung-themes)
71 |
72 | (defcustom stimmung-themes-light-highlight-color-foreground "dark goldenrod"
73 | "The light theme color for highlights that are defined as 'foreground.
74 | There are no 'foreground colors active by default."
75 | :type 'string
76 | :group 'stimmung-themes)
77 |
78 |
79 | ;;; font-lock faces
80 |
81 | (defmacro stimmung-themes--font-lock-face (name default)
82 | "Register the custom font-lock-face for NAME with value DEFAULT."
83 | (let ((custom-name (intern (concat "stimmung-themes-" name))))
84 | `(defcustom ,custom-name ,default
85 | ,(format "The type of highlighting used for %s." name)
86 | :type 'symbol
87 | :group 'stimmung-themes
88 | :options '('background 'foreground 'none))))
89 |
90 | (stimmung-themes--font-lock-face "builtin" 'background)
91 | (stimmung-themes--font-lock-face "comment" 'background)
92 | (stimmung-themes--font-lock-face "doc" 'background)
93 | (stimmung-themes--font-lock-face "constant" 'background)
94 | (stimmung-themes--font-lock-face "string" 'background)
95 | (stimmung-themes--font-lock-face "markup" 'background)
96 | (stimmung-themes--font-lock-face "type" 'none)
97 | (stimmung-themes--font-lock-face "function-name" 'none)
98 | (stimmung-themes--font-lock-face "keyword" 'none)
99 | (stimmung-themes--font-lock-face "variable-name" 'none)
100 | (stimmung-themes--font-lock-face "preprocessor" 'none)
101 | (stimmung-themes--font-lock-face "regex" 'none)
102 |
103 | ;;;; Interactive functions
104 |
105 | ;;;###autoload
106 | (defun stimmung-themes-load-dark ()
107 | "Load `stimmung-dark' and disable `stimmung-light'."
108 | (interactive)
109 | (disable-theme 'stimmung-themes-light)
110 | (load-theme 'stimmung-themes-dark t))
111 |
112 | ;;;###autoload
113 | (defun stimmung-themes-load-light ()
114 | "Load `stimmung-light' and disable `stimmung-dark'."
115 | (interactive)
116 | (disable-theme 'stimmung-themes-dark)
117 | (load-theme 'stimmung-themes-light t))
118 |
119 | ;;;###autoload
120 | (defun stimmung-themes--toggle-prompt ()
121 | "Helper for `stimmung-themes-toggle'."
122 | (let ((theme (intern (completing-read "Load Stimmung theme: "
123 | '(stimmung-themes-light stimmung-themes-dark) nil t))))
124 | (mapc #'disable-theme custom-enabled-themes) ; make sure to disable any non-stimmung themes to ignore accidental face-overlap
125 | (pcase theme
126 | ('stimmung-themes-light (stimmung-themes-load-light))
127 | ('stimmung-themes-dark (stimmung-themes-load-dark)))))
128 |
129 | ;;;###autoload
130 | (defun stimmung-themes-toggle ()
131 | "Toggle between the dark and light version of `stimmung-themes'.
132 | Prompt the user for which to pick in case none is enabled.
133 | Currently assumes the themes is loaded, which might be an issue.
134 | Inspired by stimmung-themes."
135 | (interactive)
136 | (pcase (car custom-enabled-themes)
137 | ('stimmung-themes-light (stimmung-themes-load-dark))
138 | ('stimmung-themes-dark (stimmung-themes-load-light))
139 | (_ (stimmung-themes--toggle-prompt))))
140 |
141 | (provide 'stimmung-themes)
142 |
143 | ;; Local Variables:
144 | ;; no-byte-compile: t
145 | ;; End:
146 |
147 | ;;; stimmung-themes.el ends here
148 |
--------------------------------------------------------------------------------