|
1 |
| -/** |
2 |
| - * This is a minimal config. |
3 |
| - * |
4 |
| - * If you need the full config, get it from here: |
5 |
| - * https://unpkg.com/browse/tailwindcss@latest/stubs/defaultConfig.stub.js |
6 |
| - */ |
| 1 | +const colors = require('tailwindcss/colors'); |
7 | 2 |
|
8 | 3 | module.exports = {
|
9 | 4 | content: [
|
10 |
| - /** |
11 |
| - * HTML. Paths to Django template files that will contain Tailwind CSS classes. |
12 |
| - */ |
13 |
| - |
14 |
| - /* Templates within theme app (<tailwind_app_name>/templates), e.g. base.html. */ |
15 |
| - '../templates/**/*.html', |
16 |
| - |
17 |
| - /* |
18 |
| - * Main templates directory of the project (BASE_DIR/templates). |
19 |
| - * Adjust the following line to match your project structure. |
20 |
| - */ |
| 5 | + // (BASE_DIR/templates) |
21 | 6 | '../../templates/**/*.html',
|
22 | 7 |
|
23 |
| - /* |
24 |
| - * Templates in other django apps (BASE_DIR/<any_app_name>/templates). |
25 |
| - * Adjust the following line to match your project structure. |
26 |
| - */ |
| 8 | + // (BASE_DIR/<any_app_name>/templates) |
27 | 9 | '../../**/templates/**/*.html',
|
28 |
| - |
29 |
| - /** |
30 |
| - * JS: If you use Tailwind CSS in JavaScript, uncomment the following lines and make sure |
31 |
| - * patterns match your project structure. |
32 |
| - */ |
33 |
| - /* JS 1: Ignore any JavaScript in node_modules folder. */ |
34 |
| - // '!../../**/node_modules', |
35 |
| - /* JS 2: Process all JavaScript files in the project. */ |
36 |
| - // '../../**/*.js', |
37 |
| - |
38 |
| - /** |
39 |
| - * Python: If you use Tailwind CSS classes in Python, uncomment the following line |
40 |
| - * and make sure the pattern below matches your project structure. |
41 |
| - */ |
42 |
| - // '../../**/*.py' |
43 | 10 | ],
|
44 | 11 | theme: {
|
45 |
| - extend: {}, |
| 12 | + extend: { |
| 13 | + colors: { |
| 14 | + gray: colors.stone, |
| 15 | + } |
| 16 | + }, |
46 | 17 | },
|
47 | 18 | plugins: [
|
48 |
| - /** |
49 |
| - * '@tailwindcss/forms' is the forms plugin that provides a minimal styling |
50 |
| - * for forms. If you don't like it or have own styling for forms, |
51 |
| - * comment the line below to disable '@tailwindcss/forms'. |
52 |
| - */ |
53 | 19 | require('@tailwindcss/forms'),
|
54 | 20 | require('@tailwindcss/typography'),
|
55 | 21 | require('@tailwindcss/line-clamp'),
|
|
0 commit comments