Skip to content

Commit

Permalink
Merge pull request #226 from hydephp/develop
Browse files Browse the repository at this point in the history
HydePHP v1.2.0 - 2023-06-22
  • Loading branch information
caendesilva authored Jun 22, 2023
2 parents 6e0c3fe + 28bd759 commit 1bff3ce
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 26 deletions.
2 changes: 1 addition & 1 deletion _media/app.css

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions config/markdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,19 @@
*/

'enable_blade' => false,

/*
|--------------------------------------------------------------------------
| Tailwind Typography Prose Classes
|--------------------------------------------------------------------------
|
| HydePHP uses Tailwind Typography to style rendered Markdown.
|
| This setting controls the base classes to apply to all the HTML elements
| containing rendered markdown. Please note that if you add any new
| classes, you may need to recompile your CSS file.
|
*/

'prose_classes' => 'prose dark:prose-invert',
];
23 changes: 0 additions & 23 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,29 +91,6 @@ module.exports = {
},
},

safelist: [
'prose',
'dark:prose-invert',
'text-left',
'text-center',
'text-right',
'ml-auto',
'mx-auto',
'mr-auto',
'my-0',
'my-4',
'my-8',
'py-0',
'py-4',
'py-8',
'mx-0',
'mx-4',
'mx-8',
'px-0',
'px-4',
'px-8',
],

plugins: [
require('@tailwindcss/typography')
],
Expand Down
4 changes: 2 additions & 2 deletions webpack.mix.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ mix.js('resources/assets/app.js', 'app.js')
.postCss('resources/assets/app.css', 'app.css', [
require('tailwindcss'),
require('autoprefixer'),
]).setPublicPath('_media')
.copyDirectory('_media', '_site/media');
]).setPublicPath('_site/media')
.copyDirectory('_site/media', '_media')

0 comments on commit 1bff3ce

Please sign in to comment.