* 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>
47 lines
1.0 KiB
JavaScript
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')],
|
|
};
|