diff --git a/web/themes/contrib/tailwindcss/dist/main.css b/web/themes/contrib/tailwindcss/dist/main.css deleted file mode 100644 index 889111a..0000000 --- a/web/themes/contrib/tailwindcss/dist/main.css +++ /dev/null @@ -1 +0,0 @@ -/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}a{background-color:transparent}strong{font-weight:bolder}img{border-style:none}button,input{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[hidden],template{display:none}html{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:sans-serif}*,:after,:before{-webkit-box-sizing:inherit;box-sizing:inherit}button{background:transparent;padding:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}html{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif;line-height:1.5}*,:after,:before{border:0 solid #e2e8f0}img{border-style:solid}input::-webkit-input-placeholder{color:inherit;opacity:.5}input::-moz-placeholder{color:inherit;opacity:.5}input::-ms-input-placeholder{color:inherit;opacity:.5}input::placeholder{color:inherit;opacity:.5}[role=button],button{cursor:pointer}a{color:inherit;text-decoration:inherit}button,input{padding:0;line-height:inherit;color:inherit}canvas,img{display:block;vertical-align:middle}img{max-width:100%;height:auto}a{font-weight:700;color:#2c5282}a:hover{text-decoration:underline}.tw-container{width:100%}@media (min-width:640px){.tw-container{max-width:640px}}@media (min-width:768px){.tw-container{max-width:768px}}@media (min-width:1024px){.tw-container{max-width:1024px}}@media (min-width:1280px){.tw-container{max-width:1280px}}input{border-width:1px;border-color:#a0aec0}.block,.node{margin-bottom:1rem}.tw-bg-red-200{background-color:#fed7d7!important}.tw-bg-blue-100{background-color:#ebf8ff!important}.hover\:tw-bg-red-200:hover{background-color:#fed7d7!important}.focus\:tw-bg-red-200:focus{background-color:#fed7d7!important}.tw-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.tw-items-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.tw-mx-auto{margin-left:auto!important;margin-right:auto!important}.tw--mx-4{margin-left:-1rem!important;margin-right:-1rem!important}.tw-mr-2{margin-right:.5rem!important}.tw-p-4{padding:1rem!important}.tw-text-2xl{font-size:1.5rem!important}@media (min-width:640px){.sm\:tw-bg-red-200{background-color:#fed7d7!important}.sm\:hover\:tw-bg-red-200:hover{background-color:#fed7d7!important}.sm\:focus\:tw-bg-red-200:focus{background-color:#fed7d7!important}}@media (min-width:768px){.md\:tw-bg-red-200{background-color:#fed7d7!important}.md\:hover\:tw-bg-red-200:hover{background-color:#fed7d7!important}.md\:focus\:tw-bg-red-200:focus{background-color:#fed7d7!important}.md\:tw-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.md\:tw-flex-1{-webkit-box-flex:1!important;-ms-flex:1 1 0%!important;flex:1 1 0%!important}.md\:tw-w-1\/4{width:25%!important}}@media (min-width:1024px){.lg\:tw-bg-red-200{background-color:#fed7d7!important}.lg\:hover\:tw-bg-red-200:hover{background-color:#fed7d7!important}.lg\:focus\:tw-bg-red-200:focus{background-color:#fed7d7!important}}@media (min-width:1280px){.xl\:tw-bg-red-200{background-color:#fed7d7!important}.xl\:hover\:tw-bg-red-200:hover{background-color:#fed7d7!important}.xl\:focus\:tw-bg-red-200:focus{background-color:#fed7d7!important}} \ No newline at end of file diff --git a/web/themes/contrib/tailwindcss/src/main.css b/web/themes/contrib/tailwindcss/src/main.css deleted file mode 100644 index 76807df..0000000 --- a/web/themes/contrib/tailwindcss/src/main.css +++ /dev/null @@ -1,85 +0,0 @@ -/** - * This injects Tailwind's base styles, which is a combination of - * Normalize.css and some additional base styles. - * - * You can see the styles here: - * https://github.com/tailwindcss/tailwindcss/blob/master/css/preflight.css - * - * If using `postcss-import`, use this import instead: - * - * @import "tailwindcss/base"; - */ -@tailwind base; - -a { - @apply font-bold text-blue-800 -} - -a:hover { - @apply underline -} - -/** - * This injects any component classes registered by plugins. - * - * If using `postcss-import`, use this import instead: - * - * @import "tailwindcss/components"; - */ -@tailwind components; - -/** - * Here you would add any of your custom component classes; stuff that you'd - * want loaded *before* the utilities so that the utilities could still - * override them. - * - * Example: - * - * .btn { ... } - * .form-input { ... } - * - * Or if using a preprocessor or `postcss-import`: - * - * @import "components/buttons"; - * @import "components/forms"; - */ - -input { - @apply border border-gray-500; -} - -.block, -.node { - @apply mb-4; -} - -.node__content p, -.node__content ul, -.node__content ol { - @apply mb-4 leading-normal; -} - -/** - * This injects all of Tailwind's utility classes, generated based on your - * config file. - * - * If using `postcss-import`, use this import instead: - * - * @import "tailwindcss/utilities"; - */ -@tailwind utilities; - -/** - * Here you would add any custom utilities you need that don't come out of the - * box with Tailwind. - * - * Example : - * - * .bg-pattern-graph-paper { ... } - * .skew-45 { ... } - * - * Or if using a preprocessor or `postcss-import`: - * - * @import "utilities/background-patterns"; - * @import "utilities/skew-transforms"; - */ diff --git a/web/themes/contrib/tailwindcss/tailwindcss.libraries.yml b/web/themes/contrib/tailwindcss/tailwindcss.libraries.yml index bf6933d..0b4a5c8 100644 --- a/web/themes/contrib/tailwindcss/tailwindcss.libraries.yml +++ b/web/themes/contrib/tailwindcss/tailwindcss.libraries.yml @@ -1,4 +1,4 @@ global-styling: css: base: - dist/main.css: {} + dist/tailwind.css: {} diff --git a/web/themes/contrib/tailwindcss/webpack.mix.js b/web/themes/contrib/tailwindcss/webpack.mix.js index 4870ad4..dae6ddf 100644 --- a/web/themes/contrib/tailwindcss/webpack.mix.js +++ b/web/themes/contrib/tailwindcss/webpack.mix.js @@ -2,8 +2,8 @@ let mix = require('laravel-mix'); require('laravel-mix-purgecss') -mix.postCss('src/main.css', 'dist', [ - require('tailwindcss')('./tailwind.config.js'), +mix.postCss('src/tailwind.css', 'dist', [ + require('tailwindcss'), ]) .purgeCss({ folders: ['templates'],