Skip to content
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

Custom comment brightness customization #44

Merged
merged 1 commit into from
Oct 5, 2017

Conversation

arcticicestudio
Copy link
Contributor

Closes #43

Default comment brightness


Increased comment brightness by 15%

@arcticicestudio arcticicestudio added this to the 0.4.0 milestone Sep 30, 2017
@arcticicestudio arcticicestudio added the Hacktoberfest This repository participates in the Hacktoberfest label 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 arcticicestudio force-pushed the feature/gh-43-custom-comment-brightness branch from 0d7f43a to 4d0a891 Compare September 30, 2017 07:59
@arcticicestudio arcticicestudio merged commit 3e6bfda into develop Oct 5, 2017
@arcticicestudio arcticicestudio deleted the feature/gh-43-custom-comment-brightness branch October 5, 2017 15:00
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant