Skip to content

Commit

Permalink
fix(tailwind): include colorMap.json in tailwind folder (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjm authored Aug 14, 2023
1 parent 24b5d2f commit 6e23ea1
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions tailwind/colorMap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"white": "#ffffff",
"navy": "#172c4d",
"mediumblue": "#1414c1",
"newyork": "#0c1829",
"stone": "#4d586b",
"warsaw": "#929baa",
"oslo": "#72849e",
"stone8": "rgba(77, 89, 107, 0.08)",
"stone16": "rgba(77, 89, 107, 0.16)",
"gray": "#cfd5de",
"athens": "#e8ebef",
"whisper": "#f7f8fa",
"zurich": "#bdd7ff",
"blueribbon": "#3355ff",
"darkblue": "#000099",
"zurich48": "rgba(189, 215, 255, 0.48)",
"error": "#ab220a",
"warning": "#ffc400",
"sanfran": "#54c072",
"orange": "#ffab00",
"purple": "#6700ab",
"fandango": "#c40096",
"dodger": "#007aff",
"flamingo": "#ef5533",
"aqua": "#00b5ce",
"palered": "#ffeae6",
"palegreen": "#e6ffed",
"transparent": "transparent",
"current": "currentColor"
}
2 changes: 1 addition & 1 deletion tailwind/tailwind-preset.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const plugin = require('tailwindcss/plugin')
const colors = require('../src/colors/colorMap.json')
const colors = require('./colorMap.json')

/** @type {import('tailwindcss').Config} */
module.exports = {
Expand Down

0 comments on commit 6e23ea1

Please sign in to comment.