Skip to content

Commit

Permalink
feat(style): add ui-kit2 to tailwind content
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm authored and AliMD committed Jul 19, 2023
1 parent b451054 commit 8aeb3c9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ui/style/lib/tailwind.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
import {join, dirname} from 'node:path';

import {colorTheme} from './colors.js';
import {typographyTheme} from './typography.js';
import {zIndex} from './z-index.js';

import type {Config} from 'tailwindcss';

export const tailwindConfig: Config = {
content: ['./res/*.html', './src/**/*.ts'],
content: [
'./res/*.html',
'./src/**/*.ts',
join(dirname(require.resolve('@alwatr/ui-kit2')), '**/*.ts'),
],
darkMode: 'media',
theme: {
extend: {
Expand Down

0 comments on commit 8aeb3c9

Please sign in to comment.