-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Theme customization: Custom Comment Brightness #43
Labels
context-configuration
context-syntax
Hacktoberfest
This repository participates in the Hacktoberfest
type-feature
Milestone
Comments
arcticicestudio
added a commit
that referenced
this issue
Sep 30, 2017
> Description Added a accessibility theme customization to allow users to set the brightness of comments with percentage adjustments from 0% - 20% where 0 is the default nord3 comment color. When a invalid value is passed (< 0 || > 20 || nil) the default nord3 color is used. The customization is available through the nord-comment-brightness variable. This is a optional customization to provide a way for users to adjust the color to fit their needs: It is a port of the reference implementation from the Nord Atom UI project. The values are calculated using the LESSCSS lighten function to ensure full interoperability with other port projects that providing this theme feature. > Usage Example to increase the comment color brightness by 15%: (setq nord-comment-brightness 15) References: nordtheme/atom-syntax#47 http://lesscss.org/functions/#color-operations-lighten GH-43
arcticicestudio
added a commit
that referenced
this issue
Sep 30, 2017
> Description Added a accessibility theme customization to allow users to set the brightness of comments with percentage adjustments from 0% - 20% where 0 is the default nord3 comment color. When a invalid value is passed (< 0 || > 20 || nil) the default nord3 color is used. The customization is available through the nord-comment-brightness variable. This is a optional customization to provide a way for users to adjust the color to fit their needs: It is a port of the reference implementation from the Nord Atom UI project. The values are calculated using the LESSCSS lighten function to ensure full interoperability with other port projects that providing this theme feature. > Usage Example to increase the comment color brightness by 15%: (setq nord-comment-brightness 15) References: nordtheme/atom-syntax#47 http://lesscss.org/functions/#color-operations-lighten GH-43
arcticicestudio
added a commit
that referenced
this issue
Sep 30, 2017
> Description Added a accessibility theme customization to allow users to set the brightness of comments with percentage adjustments from 0% - 20% where 0 is the default nord3 comment color. When a invalid value is passed (< 0 || > 20 || nil) the default nord3 color is used. The customization is available through the nord-comment-brightness variable. This is a optional customization to provide a way for users to adjust the color to fit their needs: It is a port of the reference implementation from the Nord Atom UI project. The values are calculated using the LESSCSS lighten function to ensure full interoperability with other port projects that providing this theme feature. > Usage Example to increase the comment color brightness by 15%: (setq nord-comment-brightness 15) References: nordtheme/atom-syntax#47 http://lesscss.org/functions/#color-operations-lighten GH-43
This is really very impressive. Thanks a lot. I want this comment color highlight brightness for a long time. Because there is a issue posted before. but not improved a lot. This time is very good on comment and region (on another issue post). Thanks. REALLY. |
@stardiviner Nice to see you like it 😄 I'll merge the PR tomorrow and prepare a new release version. |
arcticicestudio
added a commit
that referenced
this issue
Oct 5, 2017
…ent-brightness Custom comment brightness customization
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
context-configuration
context-syntax
Hacktoberfest
This repository participates in the Hacktoberfest
type-feature
Introduction
The low contrast color of comments is by design of Nord and has been selected specifically to not disturb code flow and keep the focus of the developer on the code. It is totally fine that users not agree to all highlighting color assignments, everyone has different preferences. That is the reason why themes exist 😄
Anyway, since I've got a bunch of tickets on various port projects with requests to increase the comment contrast I want to make sure the theme is adaptable to fit everyone's needs, even if I'm not going to change the default color.
In most cases the problem can be solved by using local overrides to adjust specific parts of the theme like I proposed in arcticicestudio/nord-vim #26 or arcticicestudio/nord-emacs #23, but providing a official theme customization is the optimal way to achieve this.
Description
A accessibility theme customization should be added to allow users to set the brightness of comments with percentage adjustments from 0% - 20% where
0
is the defaultnord3
comment color. When a invalid value is passed (< 0 || > 20 ||nil
) the defaultnord3
color should be used.The customization should be available through the
nord-comment-brightness
variable.This should be a optional customization to provide a way for users to adjust the color to fit their needs. It should be a port of the reference implementation from the Nord Atom Syntax project. The values should be calculated using the LESSCSS
lighten
function to ensure full interoperability with other port projects that providing this theme feature.nord3
#4e586d
#505b70
#525d73
#556076
#576279
#59647c
#5b677f
#5d6982
#5f6c85
#616e88
#63718b
#66738e
#687591
#6a7894
#6d7a96
#6f7d98
#72809a
#75829c
#78859e
#7b88a1
Usage
Example to increase the comment color brightness by 15%:
The text was updated successfully, but these errors were encountered: