Skip to content

Commit

Permalink
Adding the docs directory (#4)
Browse files Browse the repository at this point in the history
* Initial port of color-java (#1)

* ci: Fixing typo in readme, and adding initial stubs for github actions.

* doc: Updating build-test action link.

* ci: Adding initial build files

* test: Adding test stub configs

* chore: Porting classes from color-java project.

* chore: Porrting Color from color-java

* refactor: Moving functions around to be next to overloaded functions.

* refactor: Changing type any to (number | string)

* fix: Fixing compile errors in ColorUtils.ts

* fix: Removed most helper methods from color since typescript sucks.

* chore: Port from  color-java/ColorUtilsTest, with tests disabled.

* ci: Getting tests running

* test: uncommenting out tests for 'test valid'

* fix: Allowing for null on isValidHex calls

* fix: Correcting porting errors.

* test: uncommenting out most of 'test utils'

* fix: Correcting porting errors in toHSL

* chore: Port if ColorTest from color-java.  All commented out.

* test: uncommenting out and fixing helper methods

* test: Uncommenting out test color creation

* fix: Fixing recursion on setRed, setBule, setGreen

* fix: Trying to handle floating points at 0 and at 1

* test: Uncommenting out color hex constants test.

* test: Uncommenting test hex integers test.

* test: Uncommenting out alpha integer test

* test: Uncommenting RGB test

* test: uncommenting hex integers test

* test: uncommenting arithmetic test

* test: uncommenting hex singles test

* test: uncommenting color hsl test

* test: commenting out color with alpha check.  Fixing TODO's

* test: fixing last remaing TODOs

* ci: Porting over ReadmeTest from color-java

* doc: Updating readme from ReadmeTest.ts

* Preparing for release (#2)

* doc: Correcting spacing in README usage

* chore: Removing unused index.ts file

* doc: Removing node as an engine

* doc: Updating readme

* ci: Trying new github action

* ci: Fixing github actions

* ci: Removing coveralls step

* ci: More github action fixing

* doc: Removing link to ngagoint.github.io

* ci: Adding docs directory
  • Loading branch information
gillandk authored Sep 16, 2022
1 parent 1cde06a commit f61a11d
Show file tree
Hide file tree
Showing 4 changed files with 829 additions and 0 deletions.
44 changes: 44 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>Color Javascript</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/github-light.css" media="screen">
</head>
<body>
<section class="page-header">
<h1 class="project-name">Color Javascript</h1>
<h2 class="project-tagline">by the National Geospatial-Intelligence Agency</h2>
<a href="https://github.com/ngageoint/color-java" class="btn">GitHub</a>
<a href="http://ngageoint.github.io/color-java/docs/api/" class="btn">API</a>
<a href="https://github.com/ngageoint/color-java/zipball/master" class="btn">.zip</a>
<a href="https://github.com/ngageoint/color-java/tarball/master" class="btn">.tar.gz</a>
<a href="http://search.maven.org/#artifactdetails|mil.nga|color|1.0.0|jar" class="btn">The Central Repository</a>
</section>

<section class="main-content">

<p>The Color Javascript library was developed by the <a href='http://www.nga.mil/'>National Geospatial-Intelligence Agency (NGA)</a> in collaboration with <a href='https://www.caci.com/bit-systems/'>BIT Systems</a>.

<p>Color is a Javascript library providing color representation with support for hex, RBG, arithmetic RBG, HSL, and integer colors.</p>

<footer class="site-footer">
<span class="site-footer-owner"><a href="https://github.com/ngageoint/color-java">Color Javascript</a> is maintained by:</span>
<br>
<a href="https://github.com/ngageoint"><image src="http://ngageoint.github.io/GeoPackage/images/NGA_Logo.png" align="middle" height=60>National Geospatial-Intelligence Agency</a>
&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
<a href="https://www.caci.com/bit-systems/"><image src="http://ngageoint.github.io/GeoPackage/images/BITSystems_Logo.png" align="middle" height=40></a>
<br>
<br>
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a> using the <a href="https://github.com/jasonlong/cayman-theme">Cayman theme</a> by <a href="https://twitter.com/jasonlong">Jason Long</a>.</span>
</footer>

</section>


</body>
</html>
116 changes: 116 additions & 0 deletions docs/stylesheets/github-light.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
/*
Copyright 2014 GitHub Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

.pl-c /* comment */ {
color: #969896;
}

.pl-c1 /* constant, markup.raw, meta.diff.header, meta.module-reference, meta.property-name, support, support.constant, support.variable, variable.other.constant */,
.pl-s .pl-v /* string variable */ {
color: #0086b3;
}

.pl-e /* entity */,
.pl-en /* entity.name */ {
color: #795da3;
}

.pl-s .pl-s1 /* string source */,
.pl-smi /* storage.modifier.import, storage.modifier.package, storage.type.java, variable.other, variable.parameter.function */ {
color: #333;
}

.pl-ent /* entity.name.tag */ {
color: #63a35c;
}

.pl-k /* keyword, storage, storage.type */ {
color: #a71d5d;
}

.pl-pds /* punctuation.definition.string, string.regexp.character-class */,
.pl-s /* string */,
.pl-s .pl-pse .pl-s1 /* string punctuation.section.embedded source */,
.pl-sr /* string.regexp */,
.pl-sr .pl-cce /* string.regexp constant.character.escape */,
.pl-sr .pl-sra /* string.regexp string.regexp.arbitrary-repitition */,
.pl-sr .pl-sre /* string.regexp source.ruby.embedded */ {
color: #183691;
}

.pl-v /* variable */ {
color: #ed6a43;
}

.pl-id /* invalid.deprecated */ {
color: #b52a1d;
}

.pl-ii /* invalid.illegal */ {
background-color: #b52a1d;
color: #f8f8f8;
}

.pl-sr .pl-cce /* string.regexp constant.character.escape */ {
color: #63a35c;
font-weight: bold;
}

.pl-ml /* markup.list */ {
color: #693a17;
}

.pl-mh /* markup.heading */,
.pl-mh .pl-en /* markup.heading entity.name */,
.pl-ms /* meta.separator */ {
color: #1d3e81;
font-weight: bold;
}

.pl-mq /* markup.quote */ {
color: #008080;
}

.pl-mi /* markup.italic */ {
color: #333;
font-style: italic;
}

.pl-mb /* markup.bold */ {
color: #333;
font-weight: bold;
}

.pl-md /* markup.deleted, meta.diff.header.from-file */ {
background-color: #ffecec;
color: #bd2c00;
}

.pl-mi1 /* markup.inserted, meta.diff.header.to-file */ {
background-color: #eaffea;
color: #55a532;
}

.pl-mdr /* meta.diff.range */ {
color: #795da3;
font-weight: bold;
}

.pl-mo /* meta.output */ {
color: #1d3e81;
}

Loading

0 comments on commit f61a11d

Please sign in to comment.