Fix typo (invertable → invertible)

This commit is contained in:
TEC 2020-08-12 18:21:13 +08:00
parent d09d7f3c73
commit a1163059ab
3 changed files with 10 additions and 10 deletions

View File

@ -11,7 +11,7 @@
style="font-family: 'Open Sans'; background-image: none; color: inherit;
text-decoration: none; position: relative; top: -26px; opacity: 0.7;">
<img src="https://upload.wikimedia.org/wikipedia/commons/9/91/Octicons-mark-github.svg"
class="invertable"
class="invertible"
style="height: 1em; position: relative; top: 0.1em;">
View on GitHub</a>
#+END_EXPORT
@ -141,7 +141,7 @@ I have attempted to quantify aspects of my impressions of them below.
| Emacs | 4 | 4 | 2 | 4 | 3.5 | 3 |
| Komodo Edit | 2 | 1 | 3 | 2 | 2 | 2 |
#+attr_html: :class invertable :alt Radar chart comparing my thoughts on a few editors.
#+attr_html: :class invertible :alt Radar chart comparing my thoughts on a few editors.
[[https://tecosaur.com/lfs/emacs-config/editor-comparison.png]]
* Rudimentary configuration
Make this file run (slightly) faster with lexical binding (see [[https://nullprogram.com/blog/2016/12/22/][this blog post]]
@ -267,7 +267,7 @@ aspects are nice, but on others I prefer Fira.
doom-serif-font (font-spec :family "IBM Plex Mono" :weight 'light))
#+END_SRC
#+attr_html: :class invertable :alt Screenshot of the fonts within Emacs.
#+attr_html: :class invertible :alt Screenshot of the fonts within Emacs.
[[https://tecosaur.com/lfs/emacs-config/screenshots/font-face.png]]
**** Theme and modeline
@ -450,7 +450,7 @@ quite a nice resizing effect.
(add-hook 'doom-load-theme-hook #'set-appropriate-splash)
#+END_SRC
#+attr_html: :class invertable :alt The splash screen, just loaded.
#+attr_html: :class invertible :alt The splash screen, just loaded.
[[https://tecosaur.com/lfs/emacs-config/screenshots/splash-screen.png]]
*** Systemd daemon
@ -622,7 +622,7 @@ For some reason, I find myself demoing Emacs every now and then. Showing what
keyboard stuff I'm doing on-screen seems helpful. While [[https://gitlab.com/screenkey/screenkey][screenkey]] does exist,
having something that doesn't cover up screen content is nice.
#+attr_html: :class invertable :alt Screenshot of Keycast-mode in action
#+attr_html: :class invertible :alt Screenshot of Keycast-mode in action
[[https://tecosaur.com/lfs/emacs-config/screenshots/keycast.png]]
#+BEGIN_SRC emacs-lisp
@ -717,7 +717,7 @@ package to hook this into the magit diff view. This requires the ~delta~ binary.
This makes manual pages nicer to look at :)
Variable pitch fontification + colouring
#+attr_html: :class invertable :width 80% :alt Example info-colours page.
#+attr_html: :class invertible :width 80% :alt Example info-colours page.
[[https://tecosaur.com/lfs/emacs-config/screenshots/info-colours.png]]
#+BEGIN_SRC emacs-lisp
@ -3180,7 +3180,7 @@ I really like org mode, I've given some thought to why, and below is the result.
| Markdown | 1 | 3 | 3 | 4 | 3 | 3 | 1 |
| Markdown + Pandoc | 2.5 | 2.5 | 2.5 | 3 | 3 | 3 | 2 |
#+attr_html: :class invertable :alt Radar chart comparing my opinions of document formats.
#+attr_html: :class invertible :alt Radar chart comparing my opinions of document formats.
[[https://tecosaur.com/lfs/emacs-config/document-format-comparison.png]]
*** System config
@ -4236,7 +4236,7 @@ Saving seconds adds up after all! (but only so much)
(title (plist-get xkcd-info :title))
(file (xkcd-download img (string-to-number num))))
(cond ((org-export-derived-backend-p backend 'html)
(format "<img class='invertable' src='%s' title=\"%s\" alt='%s'>" img (subst-char-in-string ?\" ?“ alt) title))
(format "<img class='invertible' src='%s' title=\"%s\" alt='%s'>" img (subst-char-in-string ?\" ?“ alt) title))
((org-export-derived-backend-p backend 'latex)
(format "\\begin{figure}[!htb]
\\centering

View File

@ -69,7 +69,7 @@ $text-dark: var(--text-dark);
--switch-icon: "🌝";
--switch-shadow-color: #fce477;
--switch-text: "light mode?";
img.invertable {
img.invertible {
filter: invert(90.0%) hue-rotate(180deg) sepia(1%);
}
}

View File

@ -428,7 +428,7 @@ template {
--switch-icon: "🌝";
--switch-shadow-color: #fce477;
--switch-text: "light mode?"; }
#theme-switch:checked ~ #page img.invertable {
#theme-switch:checked ~ #page img.invertible {
filter: invert(90%) hue-rotate(180deg) sepia(1%); }
#theme-switch {