[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/spacemacs-theme ec1283ff8f 267/336: Add info for using cus
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/spacemacs-theme ec1283ff8f 267/336: Add info for using custom fringe bitmaps without spacemacs |
Date: |
Fri, 14 Jan 2022 10:59:44 -0500 (EST) |
branch: elpa/spacemacs-theme
commit ec1283ff8fa10a575e599b7b160e6082f1109409
Author: nashamri <designernasser@gmail.com>
Commit: nashamri <designernasser@gmail.com>
Add info for using custom fringe bitmaps without spacemacs
---
README.md | 50 ++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 48 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 401e9906da..4d76e76749 100644
--- a/README.md
+++ b/README.md
@@ -173,7 +173,7 @@ Here are some screenshots of the various variables:
If you are using [spacemacs](https://github.com/syl20bnr/spacemacs), you can
put this snippet in your `dotspacemacs/user-init` to override these colors:
-```
+```elisp
(custom-set-variables '(spacemacs-theme-custom-colors
'((act1 . "#ff0000")
(act2 . "#0000ff")
@@ -182,6 +182,52 @@ If you are using
[spacemacs](https://github.com/syl20bnr/spacemacs), you can put
This will override `act1`, `act1` and `base` to use the specified colors.
-# Like the theme and want to use it in other places?
+### Use a custom flycheck fringe bitmap
+
+If you don't use spacemacs and want to get the same look of flycheck fringe
bitmap, you can put the following snippet into your `init.el` (this assumes you
are using `use-package`):
+
+```elisp
+(use-package flycheck
+ :init
+ (progn
+ (define-fringe-bitmap 'my-flycheck-fringe-indicator
+ (vector #b00000000
+ #b00000000
+ #b00000000
+ #b00000000
+ #b00000000
+ #b00000000
+ #b00000000
+ #b00011100
+ #b00111110
+ #b00111110
+ #b00111110
+ #b00011100
+ #b00000000
+ #b00000000
+ #b00000000
+ #b00000000
+ #b00000000))
+
+ (flycheck-define-error-level 'error
+ :severity 2
+ :overlay-category 'flycheck-error-overlay
+ :fringe-bitmap 'my-flycheck-fringe-indicator
+ :fringe-face 'flycheck-fringe-error)
+
+ (flycheck-define-error-level 'warning
+ :severity 1
+ :overlay-category 'flycheck-warning-overlay
+ :fringe-bitmap 'my-flycheck-fringe-indicator
+ :fringe-face 'flycheck-fringe-warning)
+
+ (flycheck-define-error-level 'info
+ :severity 0
+ :overlay-category 'flycheck-info-overlay
+ :fringe-bitmap 'my-flycheck-fringe-indicator
+ :fringe-face 'flycheck-fringe-info)))
+```
+
+## Like the theme and want to use it in other places?
Then check out this project
[base16-builder](https://github.com/auduchinok/base16-builder).
- [nongnu] elpa/spacemacs-theme bb287bb64f 191/336: rcirc support, (continued)
- [nongnu] elpa/spacemacs-theme bb287bb64f 191/336: rcirc support, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme b26162e897 209/336: Remove trailing white space from README, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme e7bc8df50b 283/336: Change diff refine fg to match ediff fine diff fg, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme cc77a8ee66 202/336: Make mu4e-maildirs headers head2, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 6975915e3b 228/336: Support ace-window, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 11d6958364 208/336: Merge pull request #83 from rafaelrinaldi/add-italics-in-comments-support, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme cd44e4f91d 224/336: Make markdown-table-face match org-table face, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 5df16efbf1 227/336: Merge pull request #95 from Havner/master, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme ce45974252 223/336: Support treemacs, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme e630b0cbaf 250/336: Update copyright year, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme ec1283ff8f 267/336: Add info for using custom fringe bitmaps without spacemacs,
ELPA Syncer <=
- [nongnu] elpa/spacemacs-theme 0a5a745c20 222/336: Fix (#91) Show-paren-mode erroneously highlights the left margin, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme be65de0e67 276/336: Uncouple keyword color from diff changed faces, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme c8faf7b5a7 278/336: Merge pull request #128 from duianto/patch-2, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 0d5782f3b1 280/336: Merge pull request #127 from duianto/patch-1, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 510e0d84c5 289/336: hl-todo-keyword-faces restore upstream strings, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 79654753df 296/336: Support evil-ex-lazy-highlight (Fix #145), ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 462ef2ac16 323/336: Merge pull request #175 from jordanwade90/lsp-mode, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme efdf771429 315/336: Add support for highlight-thing (identical to highlight-symbol), ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme f79c40fb24 314/336: Fix (#153) widget buttons turn red, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 313532f406 328/336: Merge pull request #180 from thanhvg/master, ELPA Syncer, 2022/01/14