mirror of
https://github.com/documenso/documenso.git
synced 2026-07-25 09:25:08 +10:00
refactor: avoid recipient color duplication (#2355)
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
const baseConfig = require('@documenso/tailwind-config');
|
||||
const { RECIPIENT_DYNAMIC_CLASS } = require('./lib/recipient-colors');
|
||||
|
||||
module.exports = {
|
||||
...baseConfig,
|
||||
presets: [baseConfig],
|
||||
content: [
|
||||
...baseConfig.content,
|
||||
'./primitives/**/*.{ts,tsx}',
|
||||
'./components/**/*.{ts,tsx}',
|
||||
'./lib/**/*.{ts,tsx}',
|
||||
],
|
||||
safelist: [RECIPIENT_DYNAMIC_CLASS],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user