solarized-emacs

a fork of Bozhidar Batsov's solarized-emacs
git clone https://git.trogloxene.org/solarized-emacs.git
Log | Files | Refs | README

commit 6b0a0c85d284b7fad6beabdc2addbf260bcda4d3
parent 65f6772119462f2e91a9d70f0c4e1085bddd29c9
Author: Bozhidar Batsov <bozhidar@batsov.dev>
Date:   Sun, 29 Mar 2026 09:18:39 +0300

Fix typos in docs and docstrings

Diffstat:
MDEV-GUIDE.md | 12++++++------
MREADME.md | 8++++----
MUPGRADE-GUIDE.md | 4++--
Mchild-theme-example/themes/my-solarized-dark-theme.el | 2+-
Mchild-theme-example/themes/my-solarized-light-theme.el | 2+-
Msolarized-theme-utils.el | 4++--
Msolarized-theme.el | 2+-
Msolarized.el | 8++++----
8 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/DEV-GUIDE.md b/DEV-GUIDE.md @@ -10,7 +10,7 @@ being as close as possible to writing written text on paper with a few tools like markers and coloured pencils at hand to highlight **exceptional circumstances**. -This is not meant to be a strict guide but it can probably be follwed in most +This is not meant to be a strict guide but it can probably be followed in most situations. ### Upstream Solarized palette usage documentation @@ -50,7 +50,7 @@ Examples: ### Accent colors that are used in special ways -(Draft note: This is a simplified list written i haste, needs much more +(Draft note: This is a simplified list written in haste, needs much more details. In worst case scenario it's even wrong, probably not though. Some of the bullet points lacks explanation right now) @@ -78,10 +78,10 @@ diff.** There are 4 additional variants for all accent colors that are meant to be used in pairs as two levels of soft and harder highlight. -- **green-1bg** + **green-1fg** are used together to form a soft highlighed +- **green-1bg** + **green-1fg** are used together to form a soft highlighted section (useful for diffs) - **green-2bg** + **green-2fg** are used together to form a more pronounced - highlighed section (useful for diffs hunk highlight) + highlighted section (useful for diffs hunk highlight) Using **blue-1fg** on anything other than **blue-1bg** is currently considered an undefined result and might break visibility/contrast/lightness rules and @@ -90,14 +90,14 @@ might break even more with later tweaks to the color generation changes. ### Additional accent color variants -**Avoid using these at all, they might be even phased out completley** +**Avoid using these at all, they might even be phased out completely** There are also variants of each color suffixed `-d` (dark), `-l` (light), `-lc` (low contrast), `-hc` (high contrast). These colors were designed with almost the same intent as the block highlight colors but they are considerably less solarized looking. Can probably be -avoided alltogether. +avoided altogether. diff --git a/README.md b/README.md @@ -4,7 +4,7 @@ # Solarized for Emacs -Solarized for Emacs is an Emacs 24bit theme making use of of the +Solarized for Emacs is an Emacs 24bit theme making use of the [Solarized palette](http://ethanschoonover.com/solarized), developed by Ethan Schoonover. You can find several screenshots of Solarized for Emacs @@ -58,7 +58,7 @@ colors in the Solarized palette and that is one reason why it's rarely used by the theme. Violet in another palette might stand out less and therefore be used more often if the theme was specifically designed with that palette in mind. -The original Zenburn palette doesn't have an violet it is created by blending +The original Zenburn palette doesn't have a violet it is created by blending blue and magenta to get it to fit into the theme so it's tilted towards translating into what this theme has decided. @@ -121,7 +121,7 @@ the underline below the [font bottomline instead of the baseline](https://stackoverflow.com/questions/27631736/meaning-of-top-ascent-baseline-descent-bottom-and-leading-in-androids-font). Imho it enhances the general readability and also it fits well with the default -`solarized-high-contrast-mode-line` setting which uses an slightly emphazised +`solarized-high-contrast-mode-line` setting which uses a slightly emphasized underline for the modeline to create one horizontal window border in the same manner as the vertical border. @@ -200,7 +200,7 @@ solarized. (load-theme 'solarized-wombat-dark t) ``` -**Note:** If the theme file already exists, `solorized-create-theme-file` does not +**Note:** If the theme file already exists, `solarized-create-theme-file` does not regenerate the file. If the file exists, it can be overwritten by setting the fifth argument to `t`. diff --git a/UPGRADE-GUIDE.md b/UPGRADE-GUIDE.md @@ -81,7 +81,7 @@ This is an example of how to adapt derived child themes to the changes: (eval-when-compile (require 'solarized-palettes)) -;; This files needs to be places iside the custom-theme-load-path list +;; This file needs to be placed inside the custom-theme-load-path list (deftheme my-solarized-light "The light variant of the Solarized colour theme") (solarized-with-color-variables @@ -99,7 +99,7 @@ This is an example of how to adapt derived child themes to the changes: (eval-when-compile (require 'solarized-palettes)) -;; This files needs to be places iside the custom-theme-load-path list +;; This file needs to be placed inside the custom-theme-load-path list (deftheme my-solarized-dark "The dark variant of the Solarized colour theme") (solarized-with-color-variables diff --git a/child-theme-example/themes/my-solarized-dark-theme.el b/child-theme-example/themes/my-solarized-dark-theme.el @@ -3,7 +3,7 @@ (eval-when-compile (require 'solarized-palettes)) -;; This files needs to be places iside the custom-theme-load-path list +;; This file needs to be placed inside the custom-theme-load-path list (deftheme my-solarized-dark "The dark variant of the Solarized colour theme") (solarized-with-color-variables diff --git a/child-theme-example/themes/my-solarized-light-theme.el b/child-theme-example/themes/my-solarized-light-theme.el @@ -3,7 +3,7 @@ (eval-when-compile (require 'solarized-palettes)) -;; This files needs to be places iside the custom-theme-load-path list +;; This file needs to be placed inside the custom-theme-load-path list (deftheme my-solarized-light "The light variant of the Solarized colour theme") (solarized-with-color-variables diff --git a/solarized-theme-utils.el b/solarized-theme-utils.el @@ -28,8 +28,8 @@ (require 'solarized) (defun solarized-import-faces (&optional regexp already-defined) - "Imports current effective face definitions by regular expression -in the format of solarized-theme.el." + "Import current effective face definitions by regular expression. +The output is in the format of solarized-theme.el." (interactive (list (read-regexp "List faces matching regexp"))) (let* ((all-faces (zerop (length regexp))) diff --git a/solarized-theme.el b/solarized-theme.el @@ -36,7 +36,7 @@ ;; ;;; Credits ;; -;; Ethan Schoonover created the original theme for vim on such this port +;; Ethan Schoonover created the original theme for vim on which this port ;; is based. ;; ;;; Code: diff --git a/solarized.el b/solarized.el @@ -169,7 +169,7 @@ use the latter if you need a 24-bit specification of a color." (defun solarized-create-color-palette (core-palette) "Create color-palette from CORE-PALETTE. -The Returned color-palette has the same format as `solarized-color-palette'" +The returned color-palette has the same format as `solarized-color-palette'." (let ((darkest-base (nth 0 core-palette)) (brightest-base (nth 1 core-palette)) (yellow (nth 2 core-palette)) @@ -292,12 +292,12 @@ customize the resulting theme." ;; Line drawing color ;; ;; NOTE only use this for very thin lines that are hard to see using base02, in low - ;; color displayes base02 might be used instead + ;; color displays base02 might be used instead (s-line (if (eq variant 'light) "#cccec4" "#284b54")) ;; Light/Dark adaptive higher/lower contrast accented colors ;; - ;; NOTE Only use these in exceptional cirmumstances! + ;; NOTE Only use these in exceptional circumstances! (yellow-hc (if (eq variant 'light) yellow-d yellow-l)) (yellow-lc (if (eq variant 'light) yellow-l yellow-d)) (orange-hc (if (eq variant 'light) orange-d orange-l)) @@ -398,7 +398,7 @@ customize the resulting theme." s-diff-heading-bg s-diffstat-added-fg s-diffstat-changed-fg s-diffstat-removed-fg) ;; NOTE: `custom--inhibit-theme-enable' turn-off needed - ;; childtheme works well disscussed in #352 + ;; childtheme works well discussed in #352 (let ((custom--inhibit-theme-enable nil)) ,@solarized-definition ,@(eval childtheme-sexp)))))