Skip to content

Commit

Permalink
better demo
Browse files Browse the repository at this point in the history
  • Loading branch information
meodai committed Oct 14, 2024
1 parent 47451ab commit 1a8db87
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,9 @@ <h2>About</h2>
const temperature = cd.temperatureWords;
const meanings = cd.meanings;
const usage = cd.usage;
const nouns = cd.nouns;
const adjectives = cd.adjectives;

if (!fromPicker) {
colorPicker.color.hexString = value;
}
Expand Down Expand Up @@ -405,7 +408,9 @@ <h3>Description</h3>
cd.bestContrast
} would be the most readable text color.</p>
${nouns && nouns.length ? `
<div class="t"><h3>Color Nouns</h3><code>cd.nouns()</code></div>
<p>It is considered to be ${nouns.join(", ")}</p>` : ""}
<div class="t"><h3>Light Temperature</h3><code>cd.temperature(); cd.temperatureWords();</code></div>
<p>It has a temperature of <strong>${
Expand Down

0 comments on commit 1a8db87

Please sign in to comment.