nx/dep-graph/client/tailwind.config.js
Benjamin Cabanes 68f883d90c
chore(dep-graph): clean-up dark mode and remove feature flag (#9762)
* feat(dep-graph): add dark mode

* cleanup(dep-graph): fix dep-graph e2e

* chore(dep-graph): remove feature flag on dark mode

Co-authored-by: Philip Fulcher <philip@nrwl.io>
2022-04-16 09:20:38 -06:00

47 lines
1.0 KiB
JavaScript

const path = require('path');
module.exports = {
content: [
path.join(__dirname, 'src/**/*.{js,ts,jsx,tsx,html}'),
// ...createGlobPatternsForDependencies(__dirname),
],
darkMode: 'class', // or 'media' or 'class'
theme: {
extend: {
colors: {
blue: {
'nx-dark': 'hsla(214, 61%, 11%, 1)',
'nx-base': 'hsla(214, 62%, 21%, 1)',
},
green: {
'nx-base': 'hsla(162, 47%, 50%, 1)',
},
},
typography: {
DEFAULT: {
css: {
'code::before': {
content: '',
},
'code::after': {
content: '',
},
'blockquote p:first-of-type::before': {
content: '',
},
'blockquote p:last-of-type::after': {
content: '',
},
},
},
},
},
},
variants: {
extend: {
translate: ['group-hover'],
},
},
plugins: [require('@tailwindcss/typography')],
};