Skip to content

Commit

Permalink
Merge pull request #55 from saade/release/v1.6.0
Browse files Browse the repository at this point in the history
v1.6.0
  • Loading branch information
saade authored Sep 25, 2022
2 parents cb7ffdb + 1a5a596 commit cd9d734
Show file tree
Hide file tree
Showing 102 changed files with 7,667 additions and 20,658 deletions.
41 changes: 13 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,40 +168,25 @@ return [

# Styling

Copy-paste this into your `app.css` file to match filament's look and feel.
If you're [building a custom Filament theme](https://filamentphp.com/docs/2.x/admin/appearance#building-themes), you need one more step to make the calendar theme match your custom theme.

```css
.fc .fc-button {
@apply transition-colors outline-none rounded-lg font-medium text-sm text-white min-h-[2.25rem] px-4 py-1 shadow;
}

.fc .fc-button-primary {
@apply bg-primary-600 border-primary-600
}
Add this line to your `resources/css/filament.css` file (or whatever file you're using).

.fc .fc-button-primary:hover {
@apply bg-primary-500 border-primary-600
}

.fc .fc-button-primary:disabled {
@apply bg-primary-600 opacity-70 border-primary-600;
}
```css
@import '../../vendor/saade/filament-fullcalendar/resources/css/filament-fullcalendar.css';
```

.fc .fc-button-primary:not(:disabled).fc-button-active, .fc .fc-button-primary:not(:disabled):active {
@apply bg-primary-500 border-primary-600 shadow-none;
}
the final contents of this file should look simmilar to this

.fc .fc-button-primary:focus, .fc .fc-button-primary:not(:disabled):focus, .fc .fc-button-primary:not(:disabled).fc-button-active:focus, .fc .fc-button-primary:not(:disabled):active:focus {
@apply bg-primary-700 outline-none ring-2 ring-inset ring-offset-2 ring-offset-primary-700 ring-white shadow-none;
}
```diff
@import '../../vendor/filament/forms/dist/module.esm.css';
+ @import '../../vendor/saade/filament-fullcalendar/resources/css/filament-fullcalendar.css';
@import 'tippy.js/dist/tippy.css';

.fc .fc-daygrid-day.fc-day-today {
@apply bg-primary-50;
}
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';

.dark .fc .fc-daygrid-day.fc-day-today {
@apply bg-primary-900;
}
```

<br>
Expand Down
Binary file modified art/fullcalendar-widget.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/filament-fullcalendar.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/filament-fullcalendar.js

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions dist/filament-fullcalendar.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*!
FullCalendar v5.11.3
Docs & License: https://fullcalendar.io/
(c) 2022 Adam Shaw
*/

//! Copyright (c) JS Foundation and other contributors

//! github.com/moment/moment-timezone

//! license : MIT

//! moment-timezone.js

//! moment.js

//! moment.js locale configuration

//! version : 0.5.37
22 changes: 0 additions & 22 deletions dist/fullcalendar/LICENSE.txt

This file was deleted.

10 changes: 0 additions & 10 deletions dist/fullcalendar/README.md

This file was deleted.

Loading

0 comments on commit cd9d734

Please sign in to comment.