Skip to content

Commit

Permalink
Fix README and description
Browse files Browse the repository at this point in the history
  • Loading branch information
junichi11 committed Jul 28, 2017
1 parent 8ce4ff7 commit cbdc9f8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Expand Up @@ -2,7 +2,7 @@

This plugin shows a color codes preview in an editor's sidebar.

![screenshot](https://dl.dropboxusercontent.com/u/10953443/netbeans/color-codes-preview/netbeans-color-codes-preview-screenshot.png)
![screenshot](images/netbeans-color-codes-preview-screenshot.png)

## Disable/Enable

Expand All @@ -17,6 +17,7 @@ Check/Uncheck `View > Show Colors`
- Hex color code (e.g. #fff #000000)
- Css rgb/rgba values (e.g. rgb(0, 0, 0), rgb(50%, 0%, 100%), rgba(255,255,255, 0.8))
- Css hsl/hsla values (e.g. hsl(0, 100%, 50%), hsla(120, 100%, 50%, 0.5))
- Named colors (e.g. red, blue)

## Multiple colors

Expand All @@ -40,6 +41,10 @@ Default value is `^text/(x-)?(css|less|sass|scss)$`.
If you would like to disable/enable some mime-types, please change the default regex.
This pattern is used when the plugin checks a mime-type.

### Named Colors

This option is `false` by default. If you would like to show named colors, please check it.

## NOTE

- Colors may be shown if they are not color codes. e.g. "#feature" contains `#fea`. This plugin recognizes it as a hex color code.
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions pom.xml
Expand Up @@ -153,6 +153,7 @@
<li>Hex color code (e.g. #ffffff, #000)</li>
<li>Css rgb/rgba values (e.g. rgb(0,0,0), rgba(255, 255, 255, 0.8))</li>
<li>Css hsl/hsla values (e.g. hsl(0, 100%, 50%), hsla(120, 100%, 50%, 0.5))</li>
<li>Named colors (e.g. red, blue)</li>
</ul>

<h2>Multiple colors</h2>
Expand All @@ -179,6 +180,10 @@
If you would like to disable/enable some mime-types, please change the default regex.
This pattern is used when the plugin checks a mime-type.

<h3>Named Colors</h3>

This option is `false` by default. If you would like to show named colors, please check it.

<h2>NOTE</h2>
<ul>
<li>Colors may be shown if they are not color codes. e.g. "#feature" contains #fea. This plugin recognizes it as a hex color code.</li>
Expand Down

0 comments on commit cbdc9f8

Please sign in to comment.