hydephp /
develop
| 1 | const defaultTheme = require('tailwindcss/defaultTheme'); |
||
|
0 ignored issues
–
show
Unused Code
introduced
by
Loading history...
|
|||
| 2 | |||
| 3 | module.exports = { |
||
| 4 | darkMode: 'class', |
||
| 5 | content: [ |
||
| 6 | './_pages/*.blade.php', |
||
| 7 | './resources/views/**/*.blade.php', |
||
| 8 | './vendor/hyde/framework/resources/views/**/*.blade.php', |
||
| 9 | ], |
||
| 10 | |||
| 11 | theme: { |
||
| 12 | extend: { |
||
| 13 | typography: { |
||
| 14 | DEFAULT: { |
||
| 15 | css: { |
||
| 16 | lineHeight: '1.5em', |
||
| 17 | maxWidth: '96ch', |
||
| 18 | h2: { |
||
| 19 | marginBottom: '0.75em', |
||
| 20 | marginTop: '1.5em', |
||
| 21 | }, |
||
| 22 | a: { |
||
| 23 | color: '#5956eb', |
||
| 24 | '&:hover': { |
||
| 25 | color: '#4f46e5', |
||
| 26 | }, |
||
| 27 | textDecoration: 'none' |
||
| 28 | }, |
||
| 29 | blockquote: { |
||
| 30 | backgroundColor: '#80808020', |
||
| 31 | borderLeftColor: '#d1d5db', |
||
| 32 | color: 'unset', |
||
| 33 | fontWeight: 500, |
||
| 34 | fontStyle: 'unset', |
||
| 35 | lineHeight: '1.25em', |
||
| 36 | paddingLeft: '0.75em', |
||
| 37 | paddingTop: '.25em', |
||
| 38 | paddingBottom: '.25em', |
||
| 39 | marginTop: '1em', |
||
| 40 | marginBottom: '1em', |
||
| 41 | p: { |
||
| 42 | paddingRight: '.25em', |
||
| 43 | marginTop: '.25em', |
||
| 44 | marginBottom: '.25em', |
||
| 45 | }, |
||
| 46 | 'p::before': { |
||
| 47 | content: 'unset', |
||
| 48 | }, |
||
| 49 | 'p::after': { |
||
| 50 | content: 'unset', |
||
| 51 | }, |
||
| 52 | }, |
||
| 53 | code: { |
||
| 54 | font: 'unset', |
||
| 55 | backgroundColor: '#80808033', |
||
| 56 | paddingLeft: '4px', |
||
| 57 | paddingRight: '4px', |
||
| 58 | marginLeft: '-2px', |
||
| 59 | marginRight: '1px', |
||
| 60 | borderRadius: '4px' |
||
| 61 | }, |
||
| 62 | 'code::before': { |
||
| 63 | content: 'unset', |
||
| 64 | }, |
||
| 65 | 'code::after': { |
||
| 66 | content: 'unset', |
||
| 67 | }, |
||
| 68 | pre: { |
||
| 69 | code: { |
||
| 70 | fontFamily: "'Fira Code Regular', Consolas, Monospace, 'Courier New'", |
||
| 71 | } |
||
| 72 | } |
||
| 73 | }, |
||
| 74 | }, |
||
| 75 | invert: { |
||
| 76 | css: { |
||
| 77 | a: { |
||
| 78 | color: '#818cf8', |
||
| 79 | '&:hover': { |
||
| 80 | color: '#6366f1', |
||
| 81 | }, |
||
| 82 | }, |
||
| 83 | }, |
||
| 84 | }, |
||
| 85 | }, |
||
| 86 | colors: { |
||
| 87 | indigo: { |
||
| 88 | 500: '#5956eb', |
||
| 89 | } |
||
| 90 | }, |
||
| 91 | }, |
||
| 92 | }, |
||
| 93 | |||
| 94 | safelist: [ |
||
| 95 | 'prose', |
||
| 96 | 'dark:prose-invert', |
||
| 97 | 'text-left', |
||
| 98 | 'text-center', |
||
| 99 | 'text-right', |
||
| 100 | 'ml-auto', |
||
| 101 | 'mx-auto', |
||
| 102 | 'mr-auto', |
||
| 103 | 'my-0', |
||
| 104 | 'my-4', |
||
| 105 | 'my-8', |
||
| 106 | 'py-0', |
||
| 107 | 'py-4', |
||
| 108 | 'py-8', |
||
| 109 | 'mx-0', |
||
| 110 | 'mx-4', |
||
| 111 | 'mx-8', |
||
| 112 | 'px-0', |
||
| 113 | 'px-4', |
||
| 114 | 'px-8', |
||
| 115 | ], |
||
| 116 | |||
| 117 | plugins: [ |
||
| 118 | require('@tailwindcss/typography') |
||
| 119 | ], |
||
| 120 | }; |
||
| 121 |