Skip to content

Commit

Permalink
Merge pull request #14878 from filamentphp/use-heroicons-for-rich-edi…
Browse files Browse the repository at this point in the history
…tor-and-markdown-editor

Use Heroicons for rich editor and Markdown editor
  • Loading branch information
danharrin authored Nov 27, 2024
2 parents d25613d + a78d91d commit 9482da8
Show file tree
Hide file tree
Showing 7 changed files with 664 additions and 710 deletions.
1,095 changes: 586 additions & 509 deletions composer.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/forms/dist/index.css

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions packages/forms/resources/css/components/markdown-editor.css

Large diffs are not rendered by default.

243 changes: 60 additions & 183 deletions packages/forms/resources/views/components/rich-editor.blade.php

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
->merge([
'type' => 'button',
], escape: false)
->class(['fi-fo-rich-editor-toolbar-btn flex h-8 min-w-[theme(spacing.8)] cursor-pointer items-center justify-center rounded-lg px-2 text-sm font-semibold text-gray-700 transition duration-75 hover:bg-gray-50 focus-visible:bg-gray-50 dark:text-gray-200 dark:hover:bg-white/5 dark:focus-visible:bg-white/5 [&.trix-active]:bg-gray-50 [&.trix-active]:text-primary-600 dark:[&.trix-active]:bg-white/5 dark:[&.trix-active]:text-primary-400'])
->class(['fi-fo-rich-editor-toolbar-btn flex h-8 min-w-[theme(spacing.8)] cursor-pointer items-center justify-center rounded-lg text-sm font-semibold text-gray-700 transition duration-75 hover:bg-gray-50 focus-visible:bg-gray-50 dark:text-gray-200 dark:hover:bg-white/5 dark:focus-visible:bg-white/5 [&.trix-active]:bg-gray-50 [&.trix-active]:text-primary-600 dark:[&.trix-active]:bg-white/5 dark:[&.trix-active]:text-primary-400'])
}}
>
{{ $slot }}
Expand Down
2 changes: 1 addition & 1 deletion packages/panels/dist/theme.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/support/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"require": {
"php": "^8.1",
"blade-ui-kit/blade-heroicons": "^2.2.1",
"blade-ui-kit/blade-heroicons": "^2.5",
"doctrine/dbal": "^3.2|^4.0",
"ext-intl": "*",
"illuminate/contracts": "^10.45|^11.0",
Expand Down

0 comments on commit 9482da8

Please sign in to comment.