+
+
+
+
+
+
+
+
+
diff --git a/app/pages/_content/about.md b/app/pages/_content/about.md
index 3c96035..7ab9ef9 100644
--- a/app/pages/_content/about.md
+++ b/app/pages/_content/about.md
@@ -1,7 +1,7 @@
-When defining a standard two-colour gradient, browsers
-interpolate using `RGB`, which can go through kind of greyish
+When defining a standard two-colour gradient, browsers
+interpolate using `RGB`, which can go through kind of greyish
colours. `Lab` interpolation produces better, more
-even results.
+even results.
Other interpolation modes (`HSL` and `Lch` for now, working on
adding more) are included as options for experimentation — the
diff --git a/app/pages/_content/background.md b/app/pages/_content/background.md
index 48c41e7..b755b02 100644
--- a/app/pages/_content/background.md
+++ b/app/pages/_content/background.md
@@ -1,12 +1,12 @@
The idea for Polychroma started after discovering Bugsnag’s
-[chromatic-sass](https://blog.bugsnag.com/chromatic-sass/)
-project. I loved the idea of a more natural-looking gradient,
-but I wanted a way to visualise the results without needing to
+[chromatic-sass](https://blog.bugsnag.com/chromatic-sass/)
+project. I loved the idea of a more natural-looking gradient,
+but I wanted a way to visualise the results without needing to
update my dev stack.
-I looked into the library that powered it — the amazing
-[chroma.js](https://vis4.net/chromajs/) — and after tumbling
-down a rabbit hole of colour science and data visualisation,
-ended up with this simple little tool. Use it to grab a quick
+I looked into the library that powered it — the amazing
+[chroma.js](https://vis4.net/chromajs/) — and after tumbling
+down a rabbit hole of colour science and data visualisation,
+ended up with this simple little tool. Use it to grab a quick
CSS snippet, or plug the resulting colour values into Figma,
Sketch, or your image editor of choice to use in mockups.
diff --git a/app/pages/_content/colophon.md b/app/pages/_content/colophon.md
index 54af069..06875b7 100644
--- a/app/pages/_content/colophon.md
+++ b/app/pages/_content/colophon.md
@@ -1,5 +1,5 @@
-Polychroma is built with [Nuxt.js](https://nuxtjs.org/) — a
-[Vue.js](https://vuejs.org/) framework — and
+Polychroma is built with [Nuxt.js](https://nuxtjs.org/) — a
+[Vue.js](https://vuejs.org/) framework — and
[chroma.js](https://vis4.net/chromajs/) by Gregor Aisch.
It uses [Tailwind CSS](https://tailwindcss.com/) for most of the styling,
@@ -8,6 +8,6 @@ with a few tweaks and custom styles.
The text is set in [Inter](https://rsms.me/inter/),
specifically the 400, 600, and 700 weights.
-Comments & suggestions are very welcome! You can leave a message
-on [Twitter](https://twitter.com/stormwarning) or file an issue
+Comments & suggestions are very welcome! You can leave a message
+on [Twitter](https://twitter.com/stormwarning) or file an issue
on [GitHub](https://github.com/stormwarning/polychroma).
diff --git a/app/pages/index.vue b/app/pages/index.vue
index d60a1ec..23514c9 100644
--- a/app/pages/index.vue
+++ b/app/pages/index.vue
@@ -1,93 +1,93 @@
-
+
+
+
+
+ Direction
+
+
+
+
+
+
+
+
+ Start
+ End
+ Colour
+
+
+
+ changeColorStop(color, index)"
+ />
+
+
+
+
diff --git a/app/pages/info.vue b/app/pages/info.vue
index cdf122e..99f6a20 100644
--- a/app/pages/info.vue
+++ b/app/pages/info.vue
@@ -1,69 +1,61 @@
-
-
-
About
-
-
- When defining a standard two-colour gradient, browsers interpolate
- using RGB, which can go through kind of greyish colours.
- Lab interpolation produces better, more
- even results.
-
-
- Other interpolation modes (HSL and Lch for
- now, working on adding more) are included as options for
- experimentation — the results can be overly-saturated.
-
-
+
+
+
About
+
+
+ When defining a standard two-colour gradient, browsers interpolate using
+ RGB, which can go through kind of greyish colours.
+ Lab interpolation produces better, more even results.
+
+
+ Other interpolation modes (HSL and Lch for now,
+ working on adding more) are included as options for experimentation — the
+ results can be overly-saturated.
+
+
-
- Background
-
-
-
- The idea for Polychroma started after discovering Bugsnag's
- chromatic-sass
- project. I loved the idea of a more natural-looking gradient, but I
- wanted a way to visualise the results without needing to update my
- dev stack.
-
-
- I looked into the library that powered it — the amazing
- chroma.js — and after
- tumbling down a rabbit hole of colour science and data visualisation,
- ended up with this simple little tool. Use it to grab a quick CSS
- snippet, or plug the resulting colour values into Figma, Sketch, or
- your image editor of choice to use in mockups.
-
-
+
Background
+
+
+ The idea for Polychroma started after discovering Bugsnag's
+ chromatic-sass
+ project. I loved the idea of a more natural-looking gradient, but I wanted a way
+ to visualise the results without needing to update my dev stack.
+
+
+ I looked into the library that powered it — the amazing
+ chroma.js — and after tumbling down a
+ rabbit hole of colour science and data visualisation, ended up with this simple
+ little tool. Use it to grab a quick CSS snippet, or plug the resulting colour
+ values into Figma, Sketch, or your image editor of choice to use
+ in mockups.
+
+
-
- Colophon
-
-
-
- Polychroma is built with Nuxt — a
- Vue.js framework — and
- chroma.js by
- Gregor Aisch.
-
-
- It uses Tailwind CSS for most
- of the styling, with a few tweaks and custom styles.
-
-
- The text is set in Inter,
- specifically the 400, 600, and 700 weights.
-
-
- Comments & suggestions are very welcome! You can leave a message on
- Twitter or file an
- issue on
- GitHub.
-
-
-
-
+
Colophon
+
+
+ Polychroma is built with Nuxt — a
+ Vue.js framework — and
+ chroma.js by Gregor Aisch.
+
+
+ It uses Tailwind CSS for most of the
+ styling, with a few tweaks and custom styles.
+
+
+ The text is set in Inter, specifically the
+ 400, 600, and 700 weights.
+
+
+ Comments & suggestions are very welcome! You can leave a message on
+ Twitter or file an issue on
+ GitHub.
+