Skip to content

Commit

Permalink
feat: pick good colors (electron#325)
Browse files Browse the repository at this point in the history
* pick good colors

* document optional good colors in yml file

* set good colors for hyper app
  • Loading branch information
zeke committed Oct 17, 2017
1 parent 6266a78 commit e3c8ef9
Show file tree
Hide file tree
Showing 10 changed files with 4,814 additions and 2,874 deletions.
2 changes: 2 additions & 0 deletions apps/hyper/hyper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ keywords:
- css
- js
license: MIT
goodColorOnWhite: '#000'
goodColorOnBlack: '#FFF'
category: 'Developer Tools'
screenshots:
-
Expand Down
6 changes: 6 additions & 0 deletions contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ YML file rules:
* `caption` - an optional caption to display with the screenshot.
* `imageLink` - an optional link URL to indicate the link that should be directed to when someone clicks on an image. If this field is not specified, clicking on a screenshot will go to the application website.
- `youtube_video_url` is optional, but must be a fully-qualified URL if provided.
- `goodColorOnWhite` is an optional hex string. If unspecified, an
[accessible color](https://github.com/zeke/make-color-accessible) will be
picked or derived from the provided icon file.
- `goodColorOnBlack` is an optional hex string. If unspecified, an
[accessible color](https://github.com/zeke/make-color-accessible) will be
picked or derived from the provided icon file.
- No fields should be left blank.

Icon file rules:
Expand Down
Loading

0 comments on commit e3c8ef9

Please sign in to comment.