branch: externals/colorful-mode
commit da42d5c37796a13193f5a33c5e922b636a9a54c7
Author: Elijah Gabe P. <eg642...@gmail.com>
Commit: Elijah Gabe P. <eg642...@gmail.com>

    Update gif and screenshots files.
    
    * assets/gif1.gif: Update file.
    
    * assets/gif2.gif: Update file.
    
    * assets/gif3.gif: Update file.
    
    * assets/screenshot1.png: Update file.
    
    * assets/screenshot2.png: Update file.
    
    * assets/screenshot3.png: Remove file.
    
    * README.org: Use new screenshots
    
    * colorful-mode.el (colorful--hex-to-name)
    (colorful-convert-and-change-color, colorful--prompt-converter):
    Replace Emacs color name with Color name.
---
 README.org             |  16 ++++++++++------
 assets/gif1.gif        | Bin 195595 -> 498508 bytes
 assets/gif2.gif        | Bin 252770 -> 485247 bytes
 assets/gif3.gif        | Bin 476643 -> 425902 bytes
 assets/screenshot1.png | Bin 27970 -> 214426 bytes
 assets/screenshot2.png | Bin 33258 -> 59549 bytes
 assets/screenshot3.png | Bin 32048 -> 0 bytes
 colorful-mode.el       |   6 +++---
 8 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/README.org b/README.org
index 800d9ee77d..a887035f74 100644
--- a/README.org
+++ b/README.org
@@ -41,16 +41,20 @@ in real time and in a user friendly way based/inspired on 
🌈[[https://elpa.gnu
 - Blacklist color keywords from being highlighted.
 
 * Screenshots and animated GIFs 📷
-[[https://raw.githubusercontent.com/DevelopmentCool2449/colorful-mode/main/assets/gif1.gif]]
-/With prefix instead highlight/.
 
-[[https://raw.githubusercontent.com/DevelopmentCool2449/colorful-mode/main/assets/gif2.gif]]
-[[https://raw.githubusercontent.com/DevelopmentCool2449/colorful-mode/main/assets/gif3.gif]]
 
[[https://raw.githubusercontent.com/DevelopmentCool2449/colorful-mode/main/assets/screenshot1.png]]
+Supports for both GUI/TUI.
+
 
[[https://raw.githubusercontent.com/DevelopmentCool2449/colorful-mode/main/assets/screenshot2.png]]
+Support for custom color string indicator.
 
-[[https://raw.githubusercontent.com/DevelopmentCool2449/colorful-mode/main/assets/screenshot3.png]]
-/With a custom prefix (in this example a custom character)/.
+[[https://raw.githubusercontent.com/DevelopmentCool2449/colorful-mode/main/assets/gif1.gif]]
+
+[[https://raw.githubusercontent.com/DevelopmentCool2449/colorful-mode/main/assets/gif2.gif]]
+Change color support in real time.
+
+[[https://raw.githubusercontent.com/DevelopmentCool2449/colorful-mode/main/assets/gif3.gif]]
+Support for color changing at region.
 
 * User Options 🔧
 ** Customizable User options
diff --git a/assets/gif1.gif b/assets/gif1.gif
index be082bf8d5..fc2a3fa698 100644
Binary files a/assets/gif1.gif and b/assets/gif1.gif differ
diff --git a/assets/gif2.gif b/assets/gif2.gif
index 20ca56c6cd..08386b4aa6 100644
Binary files a/assets/gif2.gif and b/assets/gif2.gif differ
diff --git a/assets/gif3.gif b/assets/gif3.gif
index 148a0bdec7..8049bbc6e9 100644
Binary files a/assets/gif3.gif and b/assets/gif3.gif differ
diff --git a/assets/screenshot1.png b/assets/screenshot1.png
index 0fcfd34f7a..61ad058894 100644
Binary files a/assets/screenshot1.png and b/assets/screenshot1.png differ
diff --git a/assets/screenshot2.png b/assets/screenshot2.png
index 7acfb9be2d..28b1ba35df 100644
Binary files a/assets/screenshot2.png and b/assets/screenshot2.png differ
diff --git a/assets/screenshot3.png b/assets/screenshot3.png
deleted file mode 100644
index 06a047af2d..0000000000
Binary files a/assets/screenshot3.png and /dev/null differ
diff --git a/colorful-mode.el b/colorful-mode.el
index ee5fac4c50..54fc98ff25 100644
--- a/colorful-mode.el
+++ b/colorful-mode.el
@@ -435,7 +435,7 @@ If ALPHA is non-nil then use `#RRGGBBAA' format"
       (apply #'color-rgb-to-hex (color-hsl-to-rgb h s l))))
 
 (defun colorful--hex-to-name (hex)
-  "Return HEX as Emacs color name."
+  "Return HEX as color name."
   (catch 'name
     (dolist (color-list color-name-rgb-alist)
       (if (equal (cdr color-list) (color-values hex))
@@ -476,7 +476,7 @@ If region is active, convert colors in mark."
 
   (if (and beg end)
       (let* ((choices '(("Hexadecimal color format" . hex)
-                        ("Emacs color name" . name)))
+                        ("Color name" . name)))
              ;; Start prompt.
              (choice (alist-get
                       (completing-read "Change colors in region: " choices nil 
t nil nil)
@@ -558,7 +558,7 @@ If region is active, convert colors in mark."
          (color (or color (buffer-substring-no-properties beg end)))
          (prompt (format prompt color))
          (choices '(("Hexadecimal color format" . hex)
-                    ("Emacs color name" . name)))
+                    ("Color name" . name)))
          ;; Get choice.
          (choice (alist-get
                   (completing-read prompt choices nil t nil nil)

Reply via email to