|
47 | 47 | The theme has to be reloaded after changing anything in this group."
|
48 | 48 | :group 'faces)
|
49 | 49 |
|
50 |
| -(defcustom nord-comment-brightness 0 |
| 50 | +(defcustom nord-comment-brightness 10 |
51 | 51 | "Allows to define a custom comment color brightness with percentage adjustments from 0% - 20%.
|
52 |
| - The value must be greater or equal to 0 and less or equal to 20, otherwise the default 'nord3' color is used." |
| 52 | + As of version 0.4.0, this variable is obsolete/deprecated and has no effect anymore and will be removed in version 1.0.0! |
| 53 | + The comment color brightness has been increased by 10% by default. |
| 54 | + Please see https://github.com/arcticicestudio/nord-emacs/issues/73 for more details." |
53 | 55 | :type 'integer
|
54 | 56 | :group 'nord)
|
55 | 57 |
|
| 58 | +(make-obsolete-variable |
| 59 | + 'nord-comment-brightness |
| 60 | + "The custom color brightness feature has been deprecated and will be removed in version 1.0.0! |
| 61 | + The comment color brightness has been increased by 10% by default. |
| 62 | + Please see https://github.com/arcticicestudio/nord-emacs/issues/73 for more details." |
| 63 | + "0.4.0") |
| 64 | + |
56 | 65 | (defcustom nord-region-highlight nil
|
57 | 66 | "Allows to set a region highlight style based on the Nord components.
|
58 | 67 | Valid styles are
|
|
70 | 79 |
|
71 | 80 | (defun nord-theme--brightened-comment-color (percent)
|
72 | 81 | "Returns the brightened comment color for the given percent.
|
73 |
| - The value must be greater or equal to 0 and less or equal to 20, otherwise the default 'nord3' color is used." |
74 |
| - (if (and (integerp percent) |
75 |
| - (>= percent 0) |
76 |
| - (<= percent 20)) |
77 |
| - (nth percent nord-theme--brightened-comments) |
78 |
| - (nth 0 nord-theme--brightened-comments))) |
| 82 | + The value must be greater or equal to 0 and less or equal to 20, otherwise the default 'nord3' color is used. |
| 83 | + As of version 0.4.0, this function is obsolete/deprecated and has no effect anymore and will be removed in version 1.0.0! |
| 84 | + The comment color brightness has been increased by 10% by default. |
| 85 | + Please see https://github.com/arcticicestudio/nord-emacs/issues/73 for more details." |
| 86 | + (nth 10 nord-theme--brightened-comments)) |
| 87 | + |
| 88 | +(make-obsolete |
| 89 | + 'nord-theme--brightened-comment-color |
| 90 | + "The custom color brightness feature has been deprecated and will be removed in version 1.0.0!\ |
| 91 | + The comment color brightness has been increased by 10% by default.\ |
| 92 | + Please see https://github.com/arcticicestudio/nord-emacs/issues/73 for more details." |
| 93 | + "0.4.0") |
79 | 94 |
|
80 | 95 | ;;;; Color Constants
|
81 | 96 | (let ((class '((class color) (min-colors 89)))
|
|
0 commit comments