feat(nxdev): Set TailwindCSS colours extend for Nx (#5650)

This commit is contained in:
Benjamin Cabanes 2021-05-13 14:13:09 -04:00 committed by GitHub
parent 84db07c60e
commit 9c1537ac14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -9,7 +9,7 @@ export function Index() {
<div className="max-w-7xl mx-auto py-3 px-3 sm:px-6 lg:px-8">
<div className="flex items-center justify-between flex-wrap">
<div className="w-0 flex-1 flex items-center">
<span className="flex p-2 rounded-lg bg-blue-800">
<span className="flex p-2 rounded-lg bg-blue-nx">
<svg
className="h-6 w-6 text-white"
fill="none"

View File

@ -28,7 +28,13 @@ module.exports = {
],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {},
extend: {
colors: {
blue: {
nx: 'rgba(3, 47, 86, 1)',
},
},
},
},
variants: {
extend: {},