2b910aa04c
* Moved syntax highlighter from explorer to ui-toolkit * Update libs/ui-toolkit/src/components/syntax-highlighter/syntax-highlighter.stories.tsx Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com> * Added a light theme for syntax highlighter, added the styling for syntax highlighter to our custom classes * Suboptimal but successful way of ensuring styling is applied to syntax highlighter * Styling syntax highlighter with scss * Fix failing test * Back to applying styling via custom plugin, but with a wrapper on the syntax highlighter ensuring Tailwind doesn't cull the classes * Preferred class name * prettier formatting Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com> Co-authored-by: Joe <joe@vega.xyz>
18 lines
533 B
JavaScript
18 lines
533 B
JavaScript
const { join } = require('path');
|
|
const { createGlobPatternsForDependencies } = require('@nrwl/next/tailwind');
|
|
const theme = require('../tailwindcss-config/src/theme');
|
|
const vegaCustomClasses = require('../tailwindcss-config/src/vega-custom-classes');
|
|
|
|
module.exports = {
|
|
content: [
|
|
join(__dirname, 'src/**/*.{ts,tsx,html,mdx}'),
|
|
join(__dirname, '.storybook/preview.js'),
|
|
...createGlobPatternsForDependencies(__dirname),
|
|
],
|
|
darkMode: 'class',
|
|
theme: {
|
|
extend: theme,
|
|
},
|
|
plugins: [vegaCustomClasses],
|
|
};
|