@fullcalendar/theme-forma 7.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +22 -0
- package/README.md +45 -0
- package/cjs/index.cjs +330 -0
- package/esm/index.d.ts +6 -0
- package/esm/index.js +326 -0
- package/global.js +339 -0
- package/global.min.js +6 -0
- package/package.json +55 -0
- package/palettes/blue.css +59 -0
- package/palettes/green.css +59 -0
- package/palettes/purple.css +59 -0
- package/palettes/red.css +59 -0
- package/theme.css +954 -0
- package/theme.min.css +1 -0
- package/theme.styles.js +30 -0
package/global.js
ADDED
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
v7.0.0-beta.5
|
|
3
|
+
Docs & License: https://fullcalendar.io
|
|
4
|
+
(c) 2025 Adam Shaw
|
|
5
|
+
*/
|
|
6
|
+
FullCalendar.ThemeForma = (function (exports, core, preact) {
|
|
7
|
+
'use strict';
|
|
8
|
+
|
|
9
|
+
// usually 11px font / 12px line-height
|
|
10
|
+
const xxsTextClass = "fc-forma-vQz";
|
|
11
|
+
// outline
|
|
12
|
+
const outlineWidthClass = "fc-forma-0Bj";
|
|
13
|
+
const outlineWidthFocusClass = "fc-forma-uqo";
|
|
14
|
+
const outlineOffsetClass = "fc-forma-3Xj";
|
|
15
|
+
const outlineInsetClass = "fc-forma-fFh";
|
|
16
|
+
const primaryOutlineColorClass = "fc-forma-Fmy";
|
|
17
|
+
const primaryOutlineFocusClass = `${outlineWidthFocusClass} ${primaryOutlineColorClass}`;
|
|
18
|
+
// neutral buttons
|
|
19
|
+
const strongSolidPressableClass = core.joinClassNames("fc-forma-mr2", "fc-forma-n9b", "fc-forma-lrK");
|
|
20
|
+
const mutedPressableClass = `fc-forma-Wv4 fc-forma-mcn fc-forma-0sn ${primaryOutlineFocusClass}`;
|
|
21
|
+
const mutedHoverClass = "fc-forma-ShG";
|
|
22
|
+
const mutedHoverPressableClass = `${mutedHoverClass} fc-forma-nge fc-forma-rKU`;
|
|
23
|
+
const mutedHoverButtonClass = `${mutedHoverPressableClass} fc-forma-wsy fc-forma-d0j ${primaryOutlineFocusClass}`;
|
|
24
|
+
// controls
|
|
25
|
+
const unselectedPressableClass = mutedHoverPressableClass;
|
|
26
|
+
const unselectedButtonClass = `${unselectedPressableClass} fc-forma-wsy fc-forma-d0j ${primaryOutlineFocusClass}`;
|
|
27
|
+
const selectedButtonClass = `fc-forma-Wv4 fc-forma-wsy fc-forma-BST ${primaryOutlineFocusClass} fc-forma-07j`;
|
|
28
|
+
// primary
|
|
29
|
+
const primaryClass = "fc-forma-7I6 fc-forma-TSf";
|
|
30
|
+
const primaryPressableClass = `${primaryClass} fc-forma-2Qu fc-forma-lgp fc-forma-PQx`;
|
|
31
|
+
const primaryButtonClass = `${primaryPressableClass} fc-forma-wsy fc-forma-d0j ${primaryOutlineFocusClass} ${outlineOffsetClass}`;
|
|
32
|
+
// secondary
|
|
33
|
+
const secondaryButtonClass = `${mutedHoverPressableClass} fc-forma-wsy fc-forma-tfB fc-forma-cBw ${primaryOutlineFocusClass}`;
|
|
34
|
+
const secondaryButtonIconClass = "fc-forma-XUJ";
|
|
35
|
+
// event content
|
|
36
|
+
const eventMutedBgClass = "fc-forma-i6P";
|
|
37
|
+
const eventMutedPressableClass = core.joinClassNames(eventMutedBgClass, "fc-forma-SWh", "fc-forma-RHy");
|
|
38
|
+
const eventFaintBgClass = "fc-forma-lrD";
|
|
39
|
+
const eventFaintPressableClass = core.joinClassNames(eventFaintBgClass, "fc-forma-rom", "fc-forma-DUE");
|
|
40
|
+
// interactive neutral foregrounds
|
|
41
|
+
const mutedFgPressableGroupClass = "fc-forma-V1v fc-forma-sS4 fc-forma-Di9";
|
|
42
|
+
// transparent resizer for mouse
|
|
43
|
+
const blockPointerResizerClass = "fc-forma-1EY fc-forma-pps fc-forma-vs6";
|
|
44
|
+
const rowPointerResizerClass = `${blockPointerResizerClass} fc-forma-AWB fc-forma-hza`;
|
|
45
|
+
const columnPointerResizerClass = `${blockPointerResizerClass} fc-forma-MaV fc-forma-uuA`;
|
|
46
|
+
// circle resizer for touch
|
|
47
|
+
const blockTouchResizerClass = "fc-forma-1EY fc-forma-3wQ fc-forma-wsy fc-forma-lNM fc-forma-AAA fc-forma-RJG";
|
|
48
|
+
const rowTouchResizerClass = `${blockTouchResizerClass} fc-forma-ERR fc-forma-Dq8`;
|
|
49
|
+
const columnTouchResizerClass = `${blockTouchResizerClass} fc-forma-1V6 fc-forma-F99`;
|
|
50
|
+
const tallDayCellBottomClass = "fc-forma-jgW";
|
|
51
|
+
const getShortDayCellBottomClass = (data) => core.joinClassNames(!data.isNarrow && "fc-forma-toR");
|
|
52
|
+
const getSlotClass = (data) => core.joinClassNames("fc-forma-wsy fc-forma-tfB", data.isMinor && "fc-forma-TN2");
|
|
53
|
+
const dayRowCommonClasses = {
|
|
54
|
+
/* Day Row > List-Item Event
|
|
55
|
+
----------------------------------------------------------------------------------------------- */
|
|
56
|
+
listItemEventClass: (data) => core.joinClassNames("fc-forma-Ika fc-forma-7A6 fc-forma-Fvv", data.isNarrow ? "fc-forma-148" : "fc-forma-cKZ", data.isSelected
|
|
57
|
+
? "fc-forma-Wv4"
|
|
58
|
+
: data.isInteractive
|
|
59
|
+
? mutedHoverPressableClass
|
|
60
|
+
: mutedHoverClass),
|
|
61
|
+
listItemEventBeforeClass: (data) => core.joinClassNames("fc-forma-5JF fc-forma-lNM fc-forma-AAA", data.isNarrow ? "fc-forma-Jzj" : "fc-forma-Wga"),
|
|
62
|
+
listItemEventInnerClass: (data) => (data.isNarrow
|
|
63
|
+
? `fc-forma-z5u ${xxsTextClass}`
|
|
64
|
+
: "fc-forma-2rx fc-forma-a3B"),
|
|
65
|
+
listItemEventTimeClass: (data) => core.joinClassNames(data.isNarrow ? "fc-forma-a7i" : "fc-forma-C2j", "fc-forma-TZ4 fc-forma-pKG fc-forma-1Zl"),
|
|
66
|
+
listItemEventTitleClass: (data) => core.joinClassNames(data.isNarrow ? "fc-forma-oQ2" : "fc-forma-aCI", "fc-forma-DIS fc-forma-TZ4 fc-forma-pKG fc-forma-OLq"),
|
|
67
|
+
/* Day Row > Row Event
|
|
68
|
+
----------------------------------------------------------------------------------------------- */
|
|
69
|
+
rowEventClass: (data) => core.joinClassNames(data.isEnd && (data.isNarrow ? "fc-forma-9hC" : "fc-forma-3e1")),
|
|
70
|
+
rowEventInnerClass: (data) => data.isNarrow ? "fc-forma-z5u" : "fc-forma-2rx",
|
|
71
|
+
/* Day Row > More-Link
|
|
72
|
+
----------------------------------------------------------------------------------------------- */
|
|
73
|
+
rowMoreLinkClass: (data) => core.joinClassNames("fc-forma-Ika fc-forma-wsy fc-forma-Fvv", data.isNarrow
|
|
74
|
+
? "fc-forma-148 fc-forma-Baf"
|
|
75
|
+
: "fc-forma-cKZ fc-forma-d0j fc-forma-sI7", mutedHoverPressableClass),
|
|
76
|
+
rowMoreLinkInnerClass: (data) => (data.isNarrow
|
|
77
|
+
? `fc-forma-oQ2 fc-forma-z5u ${xxsTextClass}`
|
|
78
|
+
: "fc-forma-aCI fc-forma-2rx fc-forma-a3B"),
|
|
79
|
+
};
|
|
80
|
+
var plugin = core.createPlugin({
|
|
81
|
+
name: "@fullcalendar/theme-forma",
|
|
82
|
+
optionDefaults: {
|
|
83
|
+
className: "fc-forma-RJG fc-forma-wsy fc-forma-tfB fc-forma-Fvv fc-forma-eSM fc-forma-pKG fc-forma-R1q",
|
|
84
|
+
/* Toolbar
|
|
85
|
+
--------------------------------------------------------------------------------------------- */
|
|
86
|
+
headerToolbarClass: "fc-forma-zi1 fc-forma-tfB",
|
|
87
|
+
footerToolbarClass: "fc-forma-ku3 fc-forma-tfB",
|
|
88
|
+
toolbarClass: "fc-forma-IJJ fc-forma-dl1 fc-forma-1sP fc-forma-dNl fc-forma-XpK fc-forma-N2M fc-forma-wwb",
|
|
89
|
+
toolbarSectionClass: "fc-forma-yi0 fc-forma-dl1 fc-forma-1sP fc-forma-XpK fc-forma-wwb",
|
|
90
|
+
toolbarTitleClass: "fc-forma-2rA",
|
|
91
|
+
buttonGroupClass: "fc-forma-dl1 fc-forma-1sP fc-forma-XpK",
|
|
92
|
+
buttonClass: (data) => core.joinClassNames("fc-forma-bCs fc-forma-End fc-forma-Fvv fc-forma-dl1 fc-forma-1sP fc-forma-XpK fc-forma-9yp fc-forma-Z9U", data.isIconOnly ? "fc-forma-Nca" : "fc-forma-Apf", data.isIconOnly
|
|
93
|
+
? mutedHoverButtonClass
|
|
94
|
+
: data.inSelectGroup
|
|
95
|
+
? data.isSelected
|
|
96
|
+
? selectedButtonClass
|
|
97
|
+
: unselectedButtonClass
|
|
98
|
+
: data.isPrimary
|
|
99
|
+
? primaryButtonClass
|
|
100
|
+
: secondaryButtonClass),
|
|
101
|
+
buttons: {
|
|
102
|
+
prev: {
|
|
103
|
+
iconContent: () => chevronDown(core.joinClassNames(secondaryButtonIconClass, "fc-forma-z44 fc-forma-keW"))
|
|
104
|
+
},
|
|
105
|
+
next: {
|
|
106
|
+
iconContent: () => chevronDown(core.joinClassNames(secondaryButtonIconClass, "fc-forma-KxI fc-forma-ZW3"))
|
|
107
|
+
},
|
|
108
|
+
prevYear: {
|
|
109
|
+
iconContent: () => chevronDoubleLeft(core.joinClassNames(secondaryButtonIconClass, "fc-forma-asP"))
|
|
110
|
+
},
|
|
111
|
+
nextYear: {
|
|
112
|
+
iconContent: () => chevronDoubleLeft(core.joinClassNames(secondaryButtonIconClass, "fc-forma-jmT fc-forma-jY6"))
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
/* Abstract Event
|
|
116
|
+
--------------------------------------------------------------------------------------------- */
|
|
117
|
+
eventShortHeight: 50,
|
|
118
|
+
eventColor: "var(--fc-forma-event)",
|
|
119
|
+
eventContrastColor: "var(--fc-forma-event-contrast)",
|
|
120
|
+
eventClass: (data) => core.joinClassNames(data.isSelected
|
|
121
|
+
? core.joinClassNames(outlineWidthClass, data.isDragging && "fc-forma-1kP")
|
|
122
|
+
: outlineWidthFocusClass, primaryOutlineColorClass),
|
|
123
|
+
/* Background Event
|
|
124
|
+
--------------------------------------------------------------------------------------------- */
|
|
125
|
+
backgroundEventColor: "var(--fc-forma-background-event)",
|
|
126
|
+
backgroundEventClass: "fc-forma-AhZ",
|
|
127
|
+
backgroundEventTitleClass: (data) => core.joinClassNames("fc-forma-lMo fc-forma-L1Y", data.isNarrow
|
|
128
|
+
? `fc-forma-iS4 ${xxsTextClass}`
|
|
129
|
+
: "fc-forma-3N5 fc-forma-a3B"),
|
|
130
|
+
/* List-Item Event
|
|
131
|
+
--------------------------------------------------------------------------------------------- */
|
|
132
|
+
listItemEventClass: "fc-forma-XpK",
|
|
133
|
+
listItemEventInnerClass: "fc-forma-dl1 fc-forma-1sP fc-forma-XpK",
|
|
134
|
+
/* Block Event
|
|
135
|
+
--------------------------------------------------------------------------------------------- */
|
|
136
|
+
blockEventClass: (data) => core.joinClassNames("fc-forma-bCs fc-forma-eYX fc-forma-lNM fc-forma-vwH", data.isInteractive
|
|
137
|
+
? eventMutedPressableClass
|
|
138
|
+
: eventMutedBgClass, (data.isDragging && !data.isSelected) && "fc-forma-iTG", outlineOffsetClass),
|
|
139
|
+
blockEventTimeClass: "fc-forma-TZ4 fc-forma-pKG fc-forma-1Zl",
|
|
140
|
+
blockEventTitleClass: "fc-forma-TZ4 fc-forma-pKG fc-forma-OLq",
|
|
141
|
+
/* Row Event
|
|
142
|
+
--------------------------------------------------------------------------------------------- */
|
|
143
|
+
rowEventClass: (data) => core.joinClassNames("fc-forma-Ika fc-forma-530 fc-forma-2dx fc-forma-XpK", data.isStart && "fc-forma-riO fc-forma-kmj", data.isEnd && "fc-forma-ZNR fc-forma-9wT fc-forma-Skl"),
|
|
144
|
+
rowEventBeforeClass: (data) => core.joinClassNames(data.isStartResizable ? core.joinClassNames(data.isSelected ? rowTouchResizerClass : rowPointerResizerClass, "fc-forma-0fm") : (!data.isStart && !data.isNarrow) && core.joinClassNames(`fc-forma-Wga fc-forma-3wQ fc-forma-u78 fc-forma-8UH fc-forma-MlZ`, "fc-forma-QX7 fc-forma-vk6")),
|
|
145
|
+
rowEventAfterClass: (data) => core.joinClassNames(data.isEndResizable ? core.joinClassNames(data.isSelected ? rowTouchResizerClass : rowPointerResizerClass, "fc-forma-Tuc") : (!data.isEnd && !data.isNarrow) && core.joinClassNames(`fc-forma-KYn fc-forma-3wQ fc-forma-u78 fc-forma-lzW fc-forma-MlZ`, "fc-forma-ABq fc-forma-qIw")),
|
|
146
|
+
rowEventInnerClass: (data) => core.joinClassNames("fc-forma-dl1 fc-forma-1sP fc-forma-XpK", data.isNarrow ? xxsTextClass : "fc-forma-a3B"),
|
|
147
|
+
rowEventTimeClass: (data) => core.joinClassNames("fc-forma-1OT", data.isNarrow ? "fc-forma-a7i" : "fc-forma-C2j"),
|
|
148
|
+
rowEventTitleClass: (data) => (data.isNarrow ? "fc-forma-oQ2" : "fc-forma-aCI"),
|
|
149
|
+
/* Column Event
|
|
150
|
+
--------------------------------------------------------------------------------------------- */
|
|
151
|
+
columnEventClass: (data) => core.joinClassNames("fc-forma-riO fc-forma-ZNR fc-forma-9wT fc-forma-A3h fc-forma-c3P", data.isStart && "fc-forma-jVY fc-forma-Qex fc-forma-Z7Q", data.isEnd && "fc-forma-Ika fc-forma-K3J fc-forma-wZV fc-forma-2qh"),
|
|
152
|
+
columnEventBeforeClass: (data) => core.joinClassNames(data.isStartResizable && core.joinClassNames(data.isSelected ? columnTouchResizerClass : columnPointerResizerClass, "fc-forma-YDC")),
|
|
153
|
+
columnEventAfterClass: (data) => core.joinClassNames(data.isEndResizable && core.joinClassNames(data.isSelected ? columnTouchResizerClass : columnPointerResizerClass, "fc-forma-fJL")),
|
|
154
|
+
columnEventInnerClass: (data) => core.joinClassNames("fc-forma-dl1", data.isShort
|
|
155
|
+
? "fc-forma-1sP fc-forma-XpK fc-forma-iS4 fc-forma-NWN"
|
|
156
|
+
: core.joinClassNames("fc-forma-sgX", data.isNarrow ? "fc-forma-oQ2" : "fc-forma-aCI")),
|
|
157
|
+
columnEventTimeClass: (data) => core.joinClassNames(!data.isShort && (data.isNarrow ? "fc-forma-166" : "fc-forma-4dx"), xxsTextClass),
|
|
158
|
+
columnEventTitleClass: (data) => core.joinClassNames(!data.isShort && (data.isNarrow ? "fc-forma-2rx" : "fc-forma-Jhn"), (data.isShort || data.isNarrow) ? xxsTextClass : "fc-forma-a3B"),
|
|
159
|
+
/* More-Link
|
|
160
|
+
--------------------------------------------------------------------------------------------- */
|
|
161
|
+
moreLinkClass: `${outlineWidthFocusClass} ${primaryOutlineColorClass}`,
|
|
162
|
+
moreLinkInnerClass: "fc-forma-TZ4 fc-forma-pKG",
|
|
163
|
+
columnMoreLinkClass: `fc-forma-Ika fc-forma-wsy fc-forma-d0j fc-forma-4MR fc-forma-Fvv ${strongSolidPressableClass} fc-forma-vwH fc-forma-A3h fc-forma-c3P ${outlineOffsetClass}`,
|
|
164
|
+
columnMoreLinkInnerClass: (data) => (data.isNarrow
|
|
165
|
+
? `fc-forma-KUX ${xxsTextClass}`
|
|
166
|
+
: "fc-forma-iS4 fc-forma-a3B"),
|
|
167
|
+
/* Day Header
|
|
168
|
+
--------------------------------------------------------------------------------------------- */
|
|
169
|
+
dayHeaderAlign: (data) => data.isNarrow ? "center" : "start",
|
|
170
|
+
dayHeaderClass: (data) => core.joinClassNames("fc-forma-E9P", data.isToday && !data.level && "fc-forma-eYX", data.isDisabled && "fc-forma-zNL", data.inPopover
|
|
171
|
+
? "fc-forma-zi1 fc-forma-tfB fc-forma-zNL"
|
|
172
|
+
: core.joinClassNames(data.isMajor ? "fc-forma-wsy fc-forma-BST" :
|
|
173
|
+
!data.isNarrow && "fc-forma-wsy fc-forma-tfB")),
|
|
174
|
+
dayHeaderInnerClass: (data) => core.joinClassNames("fc-forma-3N5 fc-forma-dl1 fc-forma-sgX", data.isToday && data.level && "fc-forma-eYX", data.hasNavLink && `${mutedHoverPressableClass} ${outlineInsetClass}`),
|
|
175
|
+
dayHeaderContent: (data) => (preact.createElement(preact.Fragment, null,
|
|
176
|
+
data.isToday && (preact.createElement("div", { className: "fc-forma-1EY fc-forma-n9G fc-forma-MaV fc-forma-tb8 fc-forma-Baf fc-forma-3Lc" })),
|
|
177
|
+
data.dayNumberText && (preact.createElement("div", { className: core.joinClassNames(data.isToday && "fc-forma-DIS", data.isNarrow ? "fc-forma-3zw" : "fc-forma-9ZS") }, data.dayNumberText)),
|
|
178
|
+
data.weekdayText && (preact.createElement("div", { className: "fc-forma-a3B" }, data.weekdayText)))),
|
|
179
|
+
/* Day Cell
|
|
180
|
+
--------------------------------------------------------------------------------------------- */
|
|
181
|
+
dayCellClass: (data) => core.joinClassNames("fc-forma-wsy", data.isMajor ? "fc-forma-BST" : "fc-forma-tfB", ((data.isOther || data.isDisabled) && !data.options.businessHours) && "fc-forma-zNL"),
|
|
182
|
+
dayCellTopClass: (data) => core.joinClassNames(data.isNarrow ? "fc-forma-toR" : "fc-forma-84e", "fc-forma-dl1 fc-forma-1sP", ((data.isOther || data.isDisabled) && data.options.businessHours) && "fc-forma-cOV"),
|
|
183
|
+
dayCellTopInnerClass: (data) => core.joinClassNames("fc-forma-dl1 fc-forma-1sP fc-forma-XpK fc-forma-E9P fc-forma-TZ4", data.isNarrow
|
|
184
|
+
? `fc-forma-SEP fc-forma-oM6 ${xxsTextClass}`
|
|
185
|
+
: "fc-forma-V9v fc-forma-TFV fc-forma-9yp", data.isToday
|
|
186
|
+
? core.joinClassNames("fc-forma-AAA", data.isNarrow ? "fc-forma-qvL" : "fc-forma-Wga", data.text === data.dayNumberText
|
|
187
|
+
? (data.isNarrow ? "fc-forma-79F" : "fc-forma-ilz")
|
|
188
|
+
: (data.isNarrow ? "fc-forma-aCI" : "fc-forma-Nca"), data.hasNavLink
|
|
189
|
+
? core.joinClassNames(primaryPressableClass, outlineOffsetClass)
|
|
190
|
+
: primaryClass)
|
|
191
|
+
: core.joinClassNames("fc-forma-Skl", data.isNarrow ? "fc-forma-aCI" : "fc-forma-Nca", data.hasNavLink && mutedHoverPressableClass), data.monthText && "fc-forma-DIS"),
|
|
192
|
+
dayCellInnerClass: (data) => core.joinClassNames(data.inPopover && "fc-forma-3N5"),
|
|
193
|
+
/* Popover
|
|
194
|
+
--------------------------------------------------------------------------------------------- */
|
|
195
|
+
dayPopoverFormat: { day: "numeric", weekday: "long" },
|
|
196
|
+
popoverClass: "fc-forma-wsy fc-forma-tfB fc-forma-RJG fc-forma-tkw fc-forma-aNc fc-forma-R1q",
|
|
197
|
+
popoverCloseClass: `fc-forma-bCs fc-forma-1EY fc-forma-ZnE fc-forma-SyR fc-forma-iS4 fc-forma-Fvv ${mutedHoverPressableClass} ${outlineWidthFocusClass} ${primaryOutlineColorClass} fc-forma-Z9U`,
|
|
198
|
+
popoverCloseContent: () => dismiss(`fc-forma-XUJ ${mutedFgPressableGroupClass}`),
|
|
199
|
+
/* Lane
|
|
200
|
+
--------------------------------------------------------------------------------------------- */
|
|
201
|
+
dayLaneClass: (data) => core.joinClassNames("fc-forma-wsy", data.isMajor ? "fc-forma-BST" : "fc-forma-tfB", data.isDisabled && "fc-forma-zNL"),
|
|
202
|
+
dayLaneInnerClass: (data) => (data.isStack
|
|
203
|
+
? "fc-forma-gMS"
|
|
204
|
+
: data.isNarrow ? "fc-forma-148" : "fc-forma-Jzj fc-forma-B3G"),
|
|
205
|
+
slotLaneClass: getSlotClass,
|
|
206
|
+
/* List Day
|
|
207
|
+
--------------------------------------------------------------------------------------------- */
|
|
208
|
+
listDayClass: "fc-forma-iCr fc-forma-tfB fc-forma-dl1 fc-forma-1sP fc-forma-EF4",
|
|
209
|
+
listDayHeaderClass: (data) => core.joinClassNames("fc-forma-yi0 fc-forma-vVE fc-forma-aHX fc-forma-IJJ fc-forma-dl1 fc-forma-sgX fc-forma-EF4", data.isToday && "fc-forma-iSi fc-forma-Baf"),
|
|
210
|
+
listDayHeaderInnerClass: (data) => core.joinClassNames("fc-forma-cJ3", !data.level
|
|
211
|
+
? core.joinClassNames("fc-forma-9ZS", data.isToday && "fc-forma-DIS")
|
|
212
|
+
: "fc-forma-a3B", data.hasNavLink && "fc-forma-Eu0"),
|
|
213
|
+
listDayEventsClass: "fc-forma-1El fc-forma-2KU fc-forma-lqx fc-forma-Pms",
|
|
214
|
+
/* Single Month (in Multi-Month)
|
|
215
|
+
--------------------------------------------------------------------------------------------- */
|
|
216
|
+
singleMonthClass: "fc-forma-jD5",
|
|
217
|
+
singleMonthHeaderClass: (data) => core.joinClassNames(data.colCount > 1 ? "fc-forma-cM0" : "fc-forma-dl6", data.isSticky && "fc-forma-zi1 fc-forma-tfB fc-forma-RJG", "fc-forma-XpK"),
|
|
218
|
+
singleMonthHeaderInnerClass: (data) => core.joinClassNames("fc-forma-aCI fc-forma-Fvv fc-forma-DIS", data.hasNavLink && mutedHoverPressableClass, data.isNarrow ? "fc-forma-1Po" : "fc-forma-9ZS"),
|
|
219
|
+
/* Misc Table
|
|
220
|
+
--------------------------------------------------------------------------------------------- */
|
|
221
|
+
tableHeaderClass: (data) => data.isSticky && "fc-forma-RJG",
|
|
222
|
+
fillerClass: "fc-forma-wsy fc-forma-tfB fc-forma-lMo",
|
|
223
|
+
dayNarrowWidth: 100,
|
|
224
|
+
dayHeaderRowClass: "fc-forma-wsy fc-forma-tfB",
|
|
225
|
+
dayRowClass: "fc-forma-wsy fc-forma-tfB",
|
|
226
|
+
slotHeaderRowClass: "fc-forma-wsy fc-forma-tfB",
|
|
227
|
+
slotHeaderClass: getSlotClass,
|
|
228
|
+
/* Misc Content
|
|
229
|
+
--------------------------------------------------------------------------------------------- */
|
|
230
|
+
navLinkClass: `${outlineWidthFocusClass} ${primaryOutlineColorClass}`,
|
|
231
|
+
inlineWeekNumberClass: (data) => core.joinClassNames("fc-forma-1EY fc-forma-iD1 fc-forma-TZ4 fc-forma-kmj", data.isNarrow
|
|
232
|
+
? `fc-forma-2ik fc-forma-SEP fc-forma-KUX ${xxsTextClass}`
|
|
233
|
+
: "fc-forma-ZnE fc-forma-iS4 fc-forma-a3B", data.hasNavLink
|
|
234
|
+
? mutedPressableClass
|
|
235
|
+
: "fc-forma-Wv4"),
|
|
236
|
+
nonBusinessClass: "fc-forma-zNL",
|
|
237
|
+
highlightClass: "fc-forma-rRL",
|
|
238
|
+
nowIndicatorLineClass: "fc-forma-CH7 fc-forma-qQW fc-forma-Baf",
|
|
239
|
+
nowIndicatorDotClass: "fc-forma-aAW fc-forma-Vpk fc-forma-Baf fc-forma-63n fc-forma-AAA fc-forma-GBJ fc-forma-c3P",
|
|
240
|
+
/* Resource Day Header
|
|
241
|
+
--------------------------------------------------------------------------------------------- */
|
|
242
|
+
resourceDayHeaderClass: (data) => core.joinClassNames("fc-forma-wsy", data.isMajor ? "fc-forma-BST" : "fc-forma-tfB"),
|
|
243
|
+
resourceDayHeaderInnerClass: (data) => core.joinClassNames("fc-forma-3N5 fc-forma-dl1 fc-forma-sgX", data.isNarrow ? "fc-forma-a3B" : "fc-forma-9yp"),
|
|
244
|
+
/* Resource Data Grid
|
|
245
|
+
--------------------------------------------------------------------------------------------- */
|
|
246
|
+
resourceColumnHeaderClass: "fc-forma-wsy fc-forma-tfB fc-forma-E9P",
|
|
247
|
+
resourceColumnHeaderInnerClass: "fc-forma-3N5 fc-forma-9yp",
|
|
248
|
+
resourceColumnResizerClass: "fc-forma-1EY fc-forma-AWB fc-forma-4Tv fc-forma-dnf",
|
|
249
|
+
resourceGroupHeaderClass: "fc-forma-wsy fc-forma-tfB fc-forma-Wv4",
|
|
250
|
+
resourceGroupHeaderInnerClass: "fc-forma-3N5 fc-forma-9yp",
|
|
251
|
+
resourceCellClass: "fc-forma-wsy fc-forma-tfB",
|
|
252
|
+
resourceCellInnerClass: "fc-forma-3N5 fc-forma-9yp",
|
|
253
|
+
resourceIndentClass: "fc-forma-Wga fc-forma-p9t fc-forma-E9P",
|
|
254
|
+
resourceExpanderClass: `fc-forma-bCs fc-forma-KUX fc-forma-Fvv ${mutedHoverPressableClass} ${outlineWidthFocusClass} ${primaryOutlineColorClass}`,
|
|
255
|
+
resourceExpanderContent: (data) => chevronDown(core.joinClassNames(`fc-forma-vnf ${mutedFgPressableGroupClass}`, !data.isExpanded && "fc-forma-KxI fc-forma-ZW3")),
|
|
256
|
+
resourceHeaderRowClass: "fc-forma-wsy fc-forma-tfB",
|
|
257
|
+
resourceRowClass: "fc-forma-wsy fc-forma-tfB",
|
|
258
|
+
resourceColumnDividerClass: "fc-forma-1Wx fc-forma-tfB fc-forma-a7i fc-forma-Wv4",
|
|
259
|
+
/* Timeline Lane
|
|
260
|
+
--------------------------------------------------------------------------------------------- */
|
|
261
|
+
resourceGroupLaneClass: "fc-forma-wsy fc-forma-tfB fc-forma-Wv4",
|
|
262
|
+
resourceLaneClass: "fc-forma-wsy fc-forma-tfB",
|
|
263
|
+
resourceLaneBottomClass: (data) => data.options.eventOverlap && "fc-forma-vYi",
|
|
264
|
+
timelineBottomClass: "fc-forma-vYi",
|
|
265
|
+
},
|
|
266
|
+
views: {
|
|
267
|
+
dayGrid: Object.assign(Object.assign({}, dayRowCommonClasses), { dayHeaderDividerClass: "fc-forma-zi1 fc-forma-tfB", dayCellBottomClass: getShortDayCellBottomClass, backgroundEventInnerClass: "fc-forma-dl1 fc-forma-1sP fc-forma-LMv" }),
|
|
268
|
+
dayGridMonth: {
|
|
269
|
+
dayHeaderFormat: { weekday: "long" },
|
|
270
|
+
},
|
|
271
|
+
multiMonth: Object.assign(Object.assign({}, dayRowCommonClasses), { dayHeaderDividerClass: (data) => data.isSticky && "fc-forma-zi1 fc-forma-tfB", dayCellBottomClass: getShortDayCellBottomClass, dayHeaderInnerClass: (data) => data.isNarrow && "fc-forma-V1v", tableBodyClass: "fc-forma-wsy fc-forma-tfB fc-forma-Fvv fc-forma-pKG" }),
|
|
272
|
+
timeGrid: Object.assign(Object.assign({}, dayRowCommonClasses), { dayHeaderDividerClass: "fc-forma-zi1 fc-forma-tfB", dayCellBottomClass: tallDayCellBottomClass, dayHeaderAlign: "start",
|
|
273
|
+
/* TimeGrid > Week Number Header
|
|
274
|
+
------------------------------------------------------------------------------------------- */
|
|
275
|
+
weekNumberHeaderClass: "fc-forma-RNn fc-forma-LMv", weekNumberHeaderInnerClass: (data) => core.joinClassNames("fc-forma-gMS fc-forma-iS4 fc-forma-Fvv fc-forma-a3B", data.hasNavLink && mutedHoverPressableClass),
|
|
276
|
+
/* TimeGrid > All-Day Header
|
|
277
|
+
------------------------------------------------------------------------------------------- */
|
|
278
|
+
allDayHeaderClass: "fc-forma-XpK fc-forma-LMv", allDayHeaderInnerClass: (data) => core.joinClassNames("fc-forma-3N5 fc-forma-jm6 fc-forma-2HE", data.isNarrow ? xxsTextClass : "fc-forma-a3B"), allDayDividerClass: "fc-forma-zi1 fc-forma-tfB",
|
|
279
|
+
/* TimeGrid > Slot Header
|
|
280
|
+
------------------------------------------------------------------------------------------- */
|
|
281
|
+
slotHeaderClass: "fc-forma-LMv", slotHeaderInnerClass: (data) => core.joinClassNames("fc-forma-3N5", data.isNarrow ? xxsTextClass : "fc-forma-a3B"), slotHeaderDividerClass: "fc-forma-USt fc-forma-tfB" }),
|
|
282
|
+
list: {
|
|
283
|
+
/* List-View > List-Item Event
|
|
284
|
+
------------------------------------------------------------------------------------------- */
|
|
285
|
+
listItemEventClass: (data) => core.joinClassNames("fc-forma-bCs fc-forma-riO fc-forma-lNM fc-forma-IJJ fc-forma-Fvv", data.isInteractive
|
|
286
|
+
? eventFaintPressableClass
|
|
287
|
+
: eventFaintBgClass),
|
|
288
|
+
listItemEventInnerClass: "fc-forma-tgZ fc-forma-9yp",
|
|
289
|
+
listItemEventTimeClass: "fc-forma-yi0 fc-forma-roZ fc-forma-aHX fc-forma-TZ4 fc-forma-pKG fc-forma-IPx",
|
|
290
|
+
listItemEventTitleClass: (data) => core.joinClassNames("fc-forma-1El fc-forma-2KU fc-forma-TZ4 fc-forma-pKG fc-forma-C8a", data.event.url && "fc-forma-Ogp"),
|
|
291
|
+
/* No-Events Screen
|
|
292
|
+
------------------------------------------------------------------------------------------- */
|
|
293
|
+
noEventsClass: "fc-forma-1El fc-forma-dl1 fc-forma-sgX fc-forma-XpK fc-forma-E9P",
|
|
294
|
+
noEventsInnerClass: "fc-forma-P9h",
|
|
295
|
+
},
|
|
296
|
+
timeline: {
|
|
297
|
+
/* Timeline > Row Event
|
|
298
|
+
------------------------------------------------------------------------------------------- */
|
|
299
|
+
rowEventClass: (data) => data.isEnd && "fc-forma-9hC",
|
|
300
|
+
rowEventInnerClass: (data) => (data.options.eventOverlap
|
|
301
|
+
? "fc-forma-s0x"
|
|
302
|
+
: "fc-forma-dl6"),
|
|
303
|
+
/* Timeline > More-Link
|
|
304
|
+
------------------------------------------------------------------------------------------- */
|
|
305
|
+
rowMoreLinkClass: `fc-forma-9hC fc-forma-Ika fc-forma-Fvv fc-forma-wsy fc-forma-d0j fc-forma-4MR ${strongSolidPressableClass} fc-forma-vwH`,
|
|
306
|
+
rowMoreLinkInnerClass: "fc-forma-aCI fc-forma-s0x fc-forma-a3B",
|
|
307
|
+
/* Timeline > Slot Header
|
|
308
|
+
------------------------------------------------------------------------------------------- */
|
|
309
|
+
slotHeaderAlign: (data) => data.isTime ? "start" : "center",
|
|
310
|
+
slotHeaderClass: "fc-forma-E9P",
|
|
311
|
+
slotHeaderInnerClass: (data) => core.joinClassNames("fc-forma-3N5 fc-forma-9yp", data.hasNavLink && "fc-forma-Eu0"),
|
|
312
|
+
slotHeaderDividerClass: "fc-forma-zi1 fc-forma-tfB",
|
|
313
|
+
},
|
|
314
|
+
},
|
|
315
|
+
});
|
|
316
|
+
/* SVGs
|
|
317
|
+
------------------------------------------------------------------------------------------------- */
|
|
318
|
+
function chevronDown(className) {
|
|
319
|
+
return preact.createElement("svg", { className: className, xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "currentColor" },
|
|
320
|
+
preact.createElement("path", { d: "M15.8527 7.64582C16.0484 7.84073 16.0489 8.15731 15.854 8.35292L10.389 13.8374C10.1741 14.0531 9.82477 14.0531 9.60982 13.8374L4.14484 8.35292C3.94993 8.15731 3.95049 7.84073 4.1461 7.64582C4.34171 7.4509 4.65829 7.45147 4.85321 7.64708L9.99942 12.8117L15.1456 7.64708C15.3406 7.45147 15.6571 7.4509 15.8527 7.64582Z" }));
|
|
321
|
+
}
|
|
322
|
+
function chevronDoubleLeft(className) {
|
|
323
|
+
return preact.createElement("svg", { className: className, xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "currentColor" },
|
|
324
|
+
preact.createElement("path", { d: "M11.3544 15.8527C11.1594 16.0484 10.8429 16.0489 10.6472 15.854L5.16276 10.389C4.94705 10.1741 4.94705 9.82477 5.16276 9.60982L10.6472 4.14484C10.8429 3.94993 11.1594 3.95049 11.3544 4.1461C11.5493 4.34171 11.5487 4.65829 11.3531 4.85321L6.18851 9.99942L11.3531 15.1456C11.5487 15.3406 11.5493 15.6571 11.3544 15.8527ZM15.3534 15.8527C15.1585 16.0484 14.8419 16.0489 14.6463 15.854L9.16178 10.389C8.94607 10.1741 8.94607 9.82477 9.16178 9.60982L14.6463 4.14484C14.8419 3.94993 15.1585 3.95049 15.3534 4.1461C15.5483 4.34171 15.5477 4.65829 15.3521 4.85321L10.1875 9.99942L15.3521 15.1456C15.5477 15.3406 15.5483 15.6571 15.3534 15.8527Z" }));
|
|
325
|
+
}
|
|
326
|
+
function dismiss(className) {
|
|
327
|
+
return preact.createElement("svg", { className: className, xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "currentColor" },
|
|
328
|
+
preact.createElement("path", { d: "M4.08859 4.21569L4.14645 4.14645C4.32001 3.97288 4.58944 3.9536 4.78431 4.08859L4.85355 4.14645L10 9.293L15.1464 4.14645C15.32 3.97288 15.5894 3.9536 15.7843 4.08859L15.8536 4.14645C16.0271 4.32001 16.0464 4.58944 15.9114 4.78431L15.8536 4.85355L10.707 10L15.8536 15.1464C16.0271 15.32 16.0464 15.5894 15.9114 15.7843L15.8536 15.8536C15.68 16.0271 15.4106 16.0464 15.2157 15.9114L15.1464 15.8536L10 10.707L4.85355 15.8536C4.67999 16.0271 4.41056 16.0464 4.21569 15.9114L4.14645 15.8536C3.97288 15.68 3.9536 15.4106 4.08859 15.2157L4.14645 15.1464L9.293 10L4.14645 4.85355C3.97288 4.67999 3.9536 4.41056 4.08859 4.21569L4.14645 4.14645L4.08859 4.21569Z" }));
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
core.globalPlugins.push(plugin);
|
|
332
|
+
|
|
333
|
+
exports["default"] = plugin;
|
|
334
|
+
|
|
335
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
336
|
+
|
|
337
|
+
return exports;
|
|
338
|
+
|
|
339
|
+
})({}, FullCalendar, FullCalendar.Preact);
|
package/global.min.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
v7.0.0-beta.5
|
|
3
|
+
Docs & License: https://fullcalendar.io
|
|
4
|
+
(c) 2025 Adam Shaw
|
|
5
|
+
*/
|
|
6
|
+
FullCalendar.ThemeForma=function(f,a,r){"use strict";const o=a.joinClassNames("fc-forma-mr2","fc-forma-n9b","fc-forma-lrK"),m="fc-forma-ShG fc-forma-nge fc-forma-rKU",s="fc-forma-7I6 fc-forma-TSf fc-forma-2Qu fc-forma-lgp fc-forma-PQx",c=a.joinClassNames("fc-forma-i6P","fc-forma-SWh","fc-forma-RHy"),e=a.joinClassNames("fc-forma-lrD","fc-forma-rom","fc-forma-DUE"),l="fc-forma-1EY fc-forma-3wQ fc-forma-wsy fc-forma-lNM fc-forma-AAA fc-forma-RJG",n=l+" fc-forma-ERR fc-forma-Dq8",i=l+" fc-forma-1V6 fc-forma-F99",t=f=>a.joinClassNames(!f.isNarrow&&"fc-forma-toR"),C=f=>a.joinClassNames("fc-forma-wsy fc-forma-tfB",f.isMinor&&"fc-forma-TN2"),d={listItemEventClass:f=>a.joinClassNames("fc-forma-Ika fc-forma-7A6 fc-forma-Fvv",f.isNarrow?"fc-forma-148":"fc-forma-cKZ",f.isSelected?"fc-forma-Wv4":f.isInteractive?m:"fc-forma-ShG"),listItemEventBeforeClass:f=>a.joinClassNames("fc-forma-5JF fc-forma-lNM fc-forma-AAA",f.isNarrow?"fc-forma-Jzj":"fc-forma-Wga"),listItemEventInnerClass:f=>f.isNarrow?"fc-forma-z5u fc-forma-vQz":"fc-forma-2rx fc-forma-a3B",listItemEventTimeClass:f=>a.joinClassNames(f.isNarrow?"fc-forma-a7i":"fc-forma-C2j","fc-forma-TZ4 fc-forma-pKG fc-forma-1Zl"),listItemEventTitleClass:f=>a.joinClassNames(f.isNarrow?"fc-forma-oQ2":"fc-forma-aCI","fc-forma-DIS fc-forma-TZ4 fc-forma-pKG fc-forma-OLq"),rowEventClass:f=>a.joinClassNames(f.isEnd&&(f.isNarrow?"fc-forma-9hC":"fc-forma-3e1")),rowEventInnerClass:f=>f.isNarrow?"fc-forma-z5u":"fc-forma-2rx",rowMoreLinkClass:f=>a.joinClassNames("fc-forma-Ika fc-forma-wsy fc-forma-Fvv",f.isNarrow?"fc-forma-148 fc-forma-Baf":"fc-forma-cKZ fc-forma-d0j fc-forma-sI7",m),rowMoreLinkInnerClass:f=>f.isNarrow?"fc-forma-oQ2 fc-forma-z5u fc-forma-vQz":"fc-forma-aCI fc-forma-2rx fc-forma-a3B"};var v=a.createPlugin({name:"@fullcalendar/theme-forma",optionDefaults:{className:"fc-forma-RJG fc-forma-wsy fc-forma-tfB fc-forma-Fvv fc-forma-eSM fc-forma-pKG fc-forma-R1q",headerToolbarClass:"fc-forma-zi1 fc-forma-tfB",footerToolbarClass:"fc-forma-ku3 fc-forma-tfB",toolbarClass:"fc-forma-IJJ fc-forma-dl1 fc-forma-1sP fc-forma-dNl fc-forma-XpK fc-forma-N2M fc-forma-wwb",toolbarSectionClass:"fc-forma-yi0 fc-forma-dl1 fc-forma-1sP fc-forma-XpK fc-forma-wwb",toolbarTitleClass:"fc-forma-2rA",buttonGroupClass:"fc-forma-dl1 fc-forma-1sP fc-forma-XpK",buttonClass:f=>a.joinClassNames("fc-forma-bCs fc-forma-End fc-forma-Fvv fc-forma-dl1 fc-forma-1sP fc-forma-XpK fc-forma-9yp fc-forma-Z9U",f.isIconOnly?"fc-forma-Nca":"fc-forma-Apf",f.isIconOnly?"fc-forma-ShG fc-forma-nge fc-forma-rKU fc-forma-wsy fc-forma-d0j fc-forma-uqo fc-forma-Fmy":f.inSelectGroup?f.isSelected?"fc-forma-Wv4 fc-forma-wsy fc-forma-BST fc-forma-uqo fc-forma-Fmy fc-forma-07j":"fc-forma-ShG fc-forma-nge fc-forma-rKU fc-forma-wsy fc-forma-d0j fc-forma-uqo fc-forma-Fmy":f.isPrimary?"fc-forma-7I6 fc-forma-TSf fc-forma-2Qu fc-forma-lgp fc-forma-PQx fc-forma-wsy fc-forma-d0j fc-forma-uqo fc-forma-Fmy fc-forma-3Xj":"fc-forma-ShG fc-forma-nge fc-forma-rKU fc-forma-wsy fc-forma-tfB fc-forma-cBw fc-forma-uqo fc-forma-Fmy"),buttons:{prev:{iconContent:()=>N(a.joinClassNames("fc-forma-XUJ","fc-forma-z44 fc-forma-keW"))},next:{iconContent:()=>N(a.joinClassNames("fc-forma-XUJ","fc-forma-KxI fc-forma-ZW3"))},prevYear:{iconContent:()=>w(a.joinClassNames("fc-forma-XUJ","fc-forma-asP"))},nextYear:{iconContent:()=>w(a.joinClassNames("fc-forma-XUJ","fc-forma-jmT fc-forma-jY6"))}},eventShortHeight:50,eventColor:"var(--fc-forma-event)",eventContrastColor:"var(--fc-forma-event-contrast)",eventClass:f=>a.joinClassNames(f.isSelected?a.joinClassNames("fc-forma-0Bj",f.isDragging&&"fc-forma-1kP"):"fc-forma-uqo","fc-forma-Fmy"),backgroundEventColor:"var(--fc-forma-background-event)",backgroundEventClass:"fc-forma-AhZ",backgroundEventTitleClass:f=>a.joinClassNames("fc-forma-lMo fc-forma-L1Y",f.isNarrow?"fc-forma-iS4 fc-forma-vQz":"fc-forma-3N5 fc-forma-a3B"),listItemEventClass:"fc-forma-XpK",listItemEventInnerClass:"fc-forma-dl1 fc-forma-1sP fc-forma-XpK",blockEventClass:f=>a.joinClassNames("fc-forma-bCs fc-forma-eYX fc-forma-lNM fc-forma-vwH",f.isInteractive?c:"fc-forma-i6P",f.isDragging&&!f.isSelected&&"fc-forma-iTG","fc-forma-3Xj"),blockEventTimeClass:"fc-forma-TZ4 fc-forma-pKG fc-forma-1Zl",blockEventTitleClass:"fc-forma-TZ4 fc-forma-pKG fc-forma-OLq",rowEventClass:f=>a.joinClassNames("fc-forma-Ika fc-forma-530 fc-forma-2dx fc-forma-XpK",f.isStart&&"fc-forma-riO fc-forma-kmj",f.isEnd&&"fc-forma-ZNR fc-forma-9wT fc-forma-Skl"),rowEventBeforeClass:f=>a.joinClassNames(f.isStartResizable?a.joinClassNames(f.isSelected?n:"fc-forma-1EY fc-forma-pps fc-forma-vs6 fc-forma-AWB fc-forma-hza","fc-forma-0fm"):!f.isStart&&!f.isNarrow&&a.joinClassNames("fc-forma-Wga fc-forma-3wQ fc-forma-u78 fc-forma-8UH fc-forma-MlZ","fc-forma-QX7 fc-forma-vk6")),rowEventAfterClass:f=>a.joinClassNames(f.isEndResizable?a.joinClassNames(f.isSelected?n:"fc-forma-1EY fc-forma-pps fc-forma-vs6 fc-forma-AWB fc-forma-hza","fc-forma-Tuc"):!f.isEnd&&!f.isNarrow&&a.joinClassNames("fc-forma-KYn fc-forma-3wQ fc-forma-u78 fc-forma-lzW fc-forma-MlZ","fc-forma-ABq fc-forma-qIw")),rowEventInnerClass:f=>a.joinClassNames("fc-forma-dl1 fc-forma-1sP fc-forma-XpK",f.isNarrow?"fc-forma-vQz":"fc-forma-a3B"),rowEventTimeClass:f=>a.joinClassNames("fc-forma-1OT",f.isNarrow?"fc-forma-a7i":"fc-forma-C2j"),rowEventTitleClass:f=>f.isNarrow?"fc-forma-oQ2":"fc-forma-aCI",columnEventClass:f=>a.joinClassNames("fc-forma-riO fc-forma-ZNR fc-forma-9wT fc-forma-A3h fc-forma-c3P",f.isStart&&"fc-forma-jVY fc-forma-Qex fc-forma-Z7Q",f.isEnd&&"fc-forma-Ika fc-forma-K3J fc-forma-wZV fc-forma-2qh"),columnEventBeforeClass:f=>a.joinClassNames(f.isStartResizable&&a.joinClassNames(f.isSelected?i:"fc-forma-1EY fc-forma-pps fc-forma-vs6 fc-forma-MaV fc-forma-uuA","fc-forma-YDC")),columnEventAfterClass:f=>a.joinClassNames(f.isEndResizable&&a.joinClassNames(f.isSelected?i:"fc-forma-1EY fc-forma-pps fc-forma-vs6 fc-forma-MaV fc-forma-uuA","fc-forma-fJL")),columnEventInnerClass:f=>a.joinClassNames("fc-forma-dl1",f.isShort?"fc-forma-1sP fc-forma-XpK fc-forma-iS4 fc-forma-NWN":a.joinClassNames("fc-forma-sgX",f.isNarrow?"fc-forma-oQ2":"fc-forma-aCI")),columnEventTimeClass:f=>a.joinClassNames(!f.isShort&&(f.isNarrow?"fc-forma-166":"fc-forma-4dx"),"fc-forma-vQz"),columnEventTitleClass:f=>a.joinClassNames(!f.isShort&&(f.isNarrow?"fc-forma-2rx":"fc-forma-Jhn"),f.isShort||f.isNarrow?"fc-forma-vQz":"fc-forma-a3B"),moreLinkClass:"fc-forma-uqo fc-forma-Fmy",moreLinkInnerClass:"fc-forma-TZ4 fc-forma-pKG",columnMoreLinkClass:`fc-forma-Ika fc-forma-wsy fc-forma-d0j fc-forma-4MR fc-forma-Fvv ${o} fc-forma-vwH fc-forma-A3h fc-forma-c3P fc-forma-3Xj`,columnMoreLinkInnerClass:f=>f.isNarrow?"fc-forma-KUX fc-forma-vQz":"fc-forma-iS4 fc-forma-a3B",dayHeaderAlign:f=>f.isNarrow?"center":"start",dayHeaderClass:f=>a.joinClassNames("fc-forma-E9P",f.isToday&&!f.level&&"fc-forma-eYX",f.isDisabled&&"fc-forma-zNL",f.inPopover?"fc-forma-zi1 fc-forma-tfB fc-forma-zNL":a.joinClassNames(f.isMajor?"fc-forma-wsy fc-forma-BST":!f.isNarrow&&"fc-forma-wsy fc-forma-tfB")),dayHeaderInnerClass:f=>a.joinClassNames("fc-forma-3N5 fc-forma-dl1 fc-forma-sgX",f.isToday&&f.level&&"fc-forma-eYX",f.hasNavLink&&m+" fc-forma-fFh"),dayHeaderContent:f=>r.createElement(r.Fragment,null,f.isToday&&r.createElement("div",{className:"fc-forma-1EY fc-forma-n9G fc-forma-MaV fc-forma-tb8 fc-forma-Baf fc-forma-3Lc"}),f.dayNumberText&&r.createElement("div",{className:a.joinClassNames(f.isToday&&"fc-forma-DIS",f.isNarrow?"fc-forma-3zw":"fc-forma-9ZS")},f.dayNumberText),f.weekdayText&&r.createElement("div",{className:"fc-forma-a3B"},f.weekdayText)),dayCellClass:f=>a.joinClassNames("fc-forma-wsy",f.isMajor?"fc-forma-BST":"fc-forma-tfB",(f.isOther||f.isDisabled)&&!f.options.businessHours&&"fc-forma-zNL"),dayCellTopClass:f=>a.joinClassNames(f.isNarrow?"fc-forma-toR":"fc-forma-84e","fc-forma-dl1 fc-forma-1sP",(f.isOther||f.isDisabled)&&f.options.businessHours&&"fc-forma-cOV"),dayCellTopInnerClass:f=>a.joinClassNames("fc-forma-dl1 fc-forma-1sP fc-forma-XpK fc-forma-E9P fc-forma-TZ4",f.isNarrow?"fc-forma-SEP fc-forma-oM6 fc-forma-vQz":"fc-forma-V9v fc-forma-TFV fc-forma-9yp",f.isToday?a.joinClassNames("fc-forma-AAA",f.isNarrow?"fc-forma-qvL":"fc-forma-Wga",f.text===f.dayNumberText?f.isNarrow?"fc-forma-79F":"fc-forma-ilz":f.isNarrow?"fc-forma-aCI":"fc-forma-Nca",f.hasNavLink?a.joinClassNames(s,"fc-forma-3Xj"):"fc-forma-7I6 fc-forma-TSf"):a.joinClassNames("fc-forma-Skl",f.isNarrow?"fc-forma-aCI":"fc-forma-Nca",f.hasNavLink&&m),f.monthText&&"fc-forma-DIS"),dayCellInnerClass:f=>a.joinClassNames(f.inPopover&&"fc-forma-3N5"),dayPopoverFormat:{day:"numeric",weekday:"long"},popoverClass:"fc-forma-wsy fc-forma-tfB fc-forma-RJG fc-forma-tkw fc-forma-aNc fc-forma-R1q",popoverCloseClass:`fc-forma-bCs fc-forma-1EY fc-forma-ZnE fc-forma-SyR fc-forma-iS4 fc-forma-Fvv ${m} fc-forma-uqo fc-forma-Fmy fc-forma-Z9U`,popoverCloseContent:()=>{return f="fc-forma-XUJ fc-forma-V1v fc-forma-sS4 fc-forma-Di9",r.createElement("svg",{className:f,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor"},r.createElement("path",{d:"M4.08859 4.21569L4.14645 4.14645C4.32001 3.97288 4.58944 3.9536 4.78431 4.08859L4.85355 4.14645L10 9.293L15.1464 4.14645C15.32 3.97288 15.5894 3.9536 15.7843 4.08859L15.8536 4.14645C16.0271 4.32001 16.0464 4.58944 15.9114 4.78431L15.8536 4.85355L10.707 10L15.8536 15.1464C16.0271 15.32 16.0464 15.5894 15.9114 15.7843L15.8536 15.8536C15.68 16.0271 15.4106 16.0464 15.2157 15.9114L15.1464 15.8536L10 10.707L4.85355 15.8536C4.67999 16.0271 4.41056 16.0464 4.21569 15.9114L4.14645 15.8536C3.97288 15.68 3.9536 15.4106 4.08859 15.2157L4.14645 15.1464L9.293 10L4.14645 4.85355C3.97288 4.67999 3.9536 4.41056 4.08859 4.21569L4.14645 4.14645L4.08859 4.21569Z"}));var f},dayLaneClass:f=>a.joinClassNames("fc-forma-wsy",f.isMajor?"fc-forma-BST":"fc-forma-tfB",f.isDisabled&&"fc-forma-zNL"),dayLaneInnerClass:f=>f.isStack?"fc-forma-gMS":f.isNarrow?"fc-forma-148":"fc-forma-Jzj fc-forma-B3G",slotLaneClass:C,listDayClass:"fc-forma-iCr fc-forma-tfB fc-forma-dl1 fc-forma-1sP fc-forma-EF4",listDayHeaderClass:f=>a.joinClassNames("fc-forma-yi0 fc-forma-vVE fc-forma-aHX fc-forma-IJJ fc-forma-dl1 fc-forma-sgX fc-forma-EF4",f.isToday&&"fc-forma-iSi fc-forma-Baf"),listDayHeaderInnerClass:f=>a.joinClassNames("fc-forma-cJ3",f.level?"fc-forma-a3B":a.joinClassNames("fc-forma-9ZS",f.isToday&&"fc-forma-DIS"),f.hasNavLink&&"fc-forma-Eu0"),listDayEventsClass:"fc-forma-1El fc-forma-2KU fc-forma-lqx fc-forma-Pms",singleMonthClass:"fc-forma-jD5",singleMonthHeaderClass:f=>a.joinClassNames(f.colCount>1?"fc-forma-cM0":"fc-forma-dl6",f.isSticky&&"fc-forma-zi1 fc-forma-tfB fc-forma-RJG","fc-forma-XpK"),singleMonthHeaderInnerClass:f=>a.joinClassNames("fc-forma-aCI fc-forma-Fvv fc-forma-DIS",f.hasNavLink&&m,f.isNarrow?"fc-forma-1Po":"fc-forma-9ZS"),tableHeaderClass:f=>f.isSticky&&"fc-forma-RJG",fillerClass:"fc-forma-wsy fc-forma-tfB fc-forma-lMo",dayNarrowWidth:100,dayHeaderRowClass:"fc-forma-wsy fc-forma-tfB",dayRowClass:"fc-forma-wsy fc-forma-tfB",slotHeaderRowClass:"fc-forma-wsy fc-forma-tfB",slotHeaderClass:C,navLinkClass:"fc-forma-uqo fc-forma-Fmy",inlineWeekNumberClass:f=>a.joinClassNames("fc-forma-1EY fc-forma-iD1 fc-forma-TZ4 fc-forma-kmj",f.isNarrow?"fc-forma-2ik fc-forma-SEP fc-forma-KUX fc-forma-vQz":"fc-forma-ZnE fc-forma-iS4 fc-forma-a3B",f.hasNavLink?"fc-forma-Wv4 fc-forma-mcn fc-forma-0sn fc-forma-uqo fc-forma-Fmy":"fc-forma-Wv4"),nonBusinessClass:"fc-forma-zNL",highlightClass:"fc-forma-rRL",nowIndicatorLineClass:"fc-forma-CH7 fc-forma-qQW fc-forma-Baf",nowIndicatorDotClass:"fc-forma-aAW fc-forma-Vpk fc-forma-Baf fc-forma-63n fc-forma-AAA fc-forma-GBJ fc-forma-c3P",resourceDayHeaderClass:f=>a.joinClassNames("fc-forma-wsy",f.isMajor?"fc-forma-BST":"fc-forma-tfB"),resourceDayHeaderInnerClass:f=>a.joinClassNames("fc-forma-3N5 fc-forma-dl1 fc-forma-sgX",f.isNarrow?"fc-forma-a3B":"fc-forma-9yp"),resourceColumnHeaderClass:"fc-forma-wsy fc-forma-tfB fc-forma-E9P",resourceColumnHeaderInnerClass:"fc-forma-3N5 fc-forma-9yp",resourceColumnResizerClass:"fc-forma-1EY fc-forma-AWB fc-forma-4Tv fc-forma-dnf",resourceGroupHeaderClass:"fc-forma-wsy fc-forma-tfB fc-forma-Wv4",resourceGroupHeaderInnerClass:"fc-forma-3N5 fc-forma-9yp",resourceCellClass:"fc-forma-wsy fc-forma-tfB",resourceCellInnerClass:"fc-forma-3N5 fc-forma-9yp",resourceIndentClass:"fc-forma-Wga fc-forma-p9t fc-forma-E9P",resourceExpanderClass:`fc-forma-bCs fc-forma-KUX fc-forma-Fvv ${m} fc-forma-uqo fc-forma-Fmy`,resourceExpanderContent:f=>N(a.joinClassNames("fc-forma-vnf fc-forma-V1v fc-forma-sS4 fc-forma-Di9",!f.isExpanded&&"fc-forma-KxI fc-forma-ZW3")),resourceHeaderRowClass:"fc-forma-wsy fc-forma-tfB",resourceRowClass:"fc-forma-wsy fc-forma-tfB",resourceColumnDividerClass:"fc-forma-1Wx fc-forma-tfB fc-forma-a7i fc-forma-Wv4",resourceGroupLaneClass:"fc-forma-wsy fc-forma-tfB fc-forma-Wv4",resourceLaneClass:"fc-forma-wsy fc-forma-tfB",resourceLaneBottomClass:f=>f.options.eventOverlap&&"fc-forma-vYi",timelineBottomClass:"fc-forma-vYi"},views:{dayGrid:Object.assign(Object.assign({},d),{dayHeaderDividerClass:"fc-forma-zi1 fc-forma-tfB",dayCellBottomClass:t,backgroundEventInnerClass:"fc-forma-dl1 fc-forma-1sP fc-forma-LMv"}),dayGridMonth:{dayHeaderFormat:{weekday:"long"}},multiMonth:Object.assign(Object.assign({},d),{dayHeaderDividerClass:f=>f.isSticky&&"fc-forma-zi1 fc-forma-tfB",dayCellBottomClass:t,dayHeaderInnerClass:f=>f.isNarrow&&"fc-forma-V1v",tableBodyClass:"fc-forma-wsy fc-forma-tfB fc-forma-Fvv fc-forma-pKG"}),timeGrid:Object.assign(Object.assign({},d),{dayHeaderDividerClass:"fc-forma-zi1 fc-forma-tfB",dayCellBottomClass:"fc-forma-jgW",dayHeaderAlign:"start",weekNumberHeaderClass:"fc-forma-RNn fc-forma-LMv",weekNumberHeaderInnerClass:f=>a.joinClassNames("fc-forma-gMS fc-forma-iS4 fc-forma-Fvv fc-forma-a3B",f.hasNavLink&&m),allDayHeaderClass:"fc-forma-XpK fc-forma-LMv",allDayHeaderInnerClass:f=>a.joinClassNames("fc-forma-3N5 fc-forma-jm6 fc-forma-2HE",f.isNarrow?"fc-forma-vQz":"fc-forma-a3B"),allDayDividerClass:"fc-forma-zi1 fc-forma-tfB",slotHeaderClass:"fc-forma-LMv",slotHeaderInnerClass:f=>a.joinClassNames("fc-forma-3N5",f.isNarrow?"fc-forma-vQz":"fc-forma-a3B"),slotHeaderDividerClass:"fc-forma-USt fc-forma-tfB"}),list:{listItemEventClass:f=>a.joinClassNames("fc-forma-bCs fc-forma-riO fc-forma-lNM fc-forma-IJJ fc-forma-Fvv",f.isInteractive?e:"fc-forma-lrD"),listItemEventInnerClass:"fc-forma-tgZ fc-forma-9yp",listItemEventTimeClass:"fc-forma-yi0 fc-forma-roZ fc-forma-aHX fc-forma-TZ4 fc-forma-pKG fc-forma-IPx",listItemEventTitleClass:f=>a.joinClassNames("fc-forma-1El fc-forma-2KU fc-forma-TZ4 fc-forma-pKG fc-forma-C8a",f.event.url&&"fc-forma-Ogp"),noEventsClass:"fc-forma-1El fc-forma-dl1 fc-forma-sgX fc-forma-XpK fc-forma-E9P",noEventsInnerClass:"fc-forma-P9h"},timeline:{rowEventClass:f=>f.isEnd&&"fc-forma-9hC",rowEventInnerClass:f=>f.options.eventOverlap?"fc-forma-s0x":"fc-forma-dl6",rowMoreLinkClass:`fc-forma-9hC fc-forma-Ika fc-forma-Fvv fc-forma-wsy fc-forma-d0j fc-forma-4MR ${o} fc-forma-vwH`,rowMoreLinkInnerClass:"fc-forma-aCI fc-forma-s0x fc-forma-a3B",slotHeaderAlign:f=>f.isTime?"start":"center",slotHeaderClass:"fc-forma-E9P",slotHeaderInnerClass:f=>a.joinClassNames("fc-forma-3N5 fc-forma-9yp",f.hasNavLink&&"fc-forma-Eu0"),slotHeaderDividerClass:"fc-forma-zi1 fc-forma-tfB"}}});function N(f){return r.createElement("svg",{className:f,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor"},r.createElement("path",{d:"M15.8527 7.64582C16.0484 7.84073 16.0489 8.15731 15.854 8.35292L10.389 13.8374C10.1741 14.0531 9.82477 14.0531 9.60982 13.8374L4.14484 8.35292C3.94993 8.15731 3.95049 7.84073 4.1461 7.64582C4.34171 7.4509 4.65829 7.45147 4.85321 7.64708L9.99942 12.8117L15.1456 7.64708C15.3406 7.45147 15.6571 7.4509 15.8527 7.64582Z"}))}function w(f){return r.createElement("svg",{className:f,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor"},r.createElement("path",{d:"M11.3544 15.8527C11.1594 16.0484 10.8429 16.0489 10.6472 15.854L5.16276 10.389C4.94705 10.1741 4.94705 9.82477 5.16276 9.60982L10.6472 4.14484C10.8429 3.94993 11.1594 3.95049 11.3544 4.1461C11.5493 4.34171 11.5487 4.65829 11.3531 4.85321L6.18851 9.99942L11.3531 15.1456C11.5487 15.3406 11.5493 15.6571 11.3544 15.8527ZM15.3534 15.8527C15.1585 16.0484 14.8419 16.0489 14.6463 15.854L9.16178 10.389C8.94607 10.1741 8.94607 9.82477 9.16178 9.60982L14.6463 4.14484C14.8419 3.94993 15.1585 3.95049 15.3534 4.1461C15.5483 4.34171 15.5477 4.65829 15.3521 4.85321L10.1875 9.99942L15.3521 15.1456C15.5477 15.3406 15.5483 15.6571 15.3534 15.8527Z"}))}return a.globalPlugins.push(v),f.default=v,Object.defineProperty(f,"__esModule",{value:!0}),f}({},FullCalendar,FullCalendar.Preact);
|
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@fullcalendar/theme-forma",
|
|
3
|
+
"version": "7.0.0-beta.5",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@fullcalendar/core": "7.0.0-beta.5"
|
|
6
|
+
},
|
|
7
|
+
"type": "module",
|
|
8
|
+
"description": "Full-sized drag & drop event calendar in JavaScript",
|
|
9
|
+
"keywords": [
|
|
10
|
+
"calendar",
|
|
11
|
+
"event",
|
|
12
|
+
"full-sized",
|
|
13
|
+
"fullcalendar"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://fullcalendar.io",
|
|
16
|
+
"bugs": "https://fullcalendar.io/reporting-bugs",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "https://github.com/fullcalendar/fullcalendar.git",
|
|
20
|
+
"directory": "theming/theme-forma"
|
|
21
|
+
},
|
|
22
|
+
"license": "MIT",
|
|
23
|
+
"author": {
|
|
24
|
+
"name": "Adam Shaw",
|
|
25
|
+
"email": "arshaw@arshaw.com",
|
|
26
|
+
"url": "http://arshaw.com/"
|
|
27
|
+
},
|
|
28
|
+
"copyright": "2025 Adam Shaw",
|
|
29
|
+
"types": "./esm/index.d.ts",
|
|
30
|
+
"module": "./esm/index.js",
|
|
31
|
+
"main": "./cjs/index.cjs",
|
|
32
|
+
"unpkg": "./global.min.js",
|
|
33
|
+
"jsdelivr": "./global.min.js",
|
|
34
|
+
"exports": {
|
|
35
|
+
"./package.json": "./package.json",
|
|
36
|
+
".": {
|
|
37
|
+
"import": {
|
|
38
|
+
"types": "./esm/index.d.ts",
|
|
39
|
+
"default": "./esm/index.js"
|
|
40
|
+
},
|
|
41
|
+
"require": "./cjs/index.cjs"
|
|
42
|
+
},
|
|
43
|
+
"./theme.css": "./theme.css",
|
|
44
|
+
"./theme.styles": "./theme.styles.js",
|
|
45
|
+
"./palettes/blue.css": "./palettes/blue.css",
|
|
46
|
+
"./palettes/green.css": "./palettes/green.css",
|
|
47
|
+
"./palettes/purple.css": "./palettes/purple.css",
|
|
48
|
+
"./palettes/red.css": "./palettes/red.css"
|
|
49
|
+
},
|
|
50
|
+
"sideEffects": [
|
|
51
|
+
"./global.js",
|
|
52
|
+
"./global.min.js",
|
|
53
|
+
"./theme.styles.js"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
|
|
2
|
+
:root {
|
|
3
|
+
/* primary */
|
|
4
|
+
--fc-forma-primary: #0F6CBD;
|
|
5
|
+
--fc-forma-primary-over: #0A5AA3;
|
|
6
|
+
--fc-forma-primary-down: #064889;
|
|
7
|
+
--fc-forma-primary-foreground: #FFFFFF;
|
|
8
|
+
|
|
9
|
+
/* calendar content */
|
|
10
|
+
--fc-forma-background-event: #22c55e;
|
|
11
|
+
--fc-forma-highlight: #cffafe66;
|
|
12
|
+
--fc-forma-event: #3788d8;
|
|
13
|
+
--fc-forma-event-contrast: #FFFFFF;
|
|
14
|
+
|
|
15
|
+
/* neutral backgrounds */
|
|
16
|
+
--fc-forma-background: #FFFFFF;
|
|
17
|
+
--fc-forma-faint: #00000008;
|
|
18
|
+
--fc-forma-muted: #00000012;
|
|
19
|
+
--fc-forma-strong: #0000001F;
|
|
20
|
+
--fc-forma-stronger: #00000029;
|
|
21
|
+
--fc-forma-strongest: #00000033;
|
|
22
|
+
|
|
23
|
+
/* neutral foregrounds */
|
|
24
|
+
--fc-forma-faint-foreground: #9ca3af;
|
|
25
|
+
--fc-forma-muted-foreground: #6b7280;
|
|
26
|
+
|
|
27
|
+
/* neutral borders */
|
|
28
|
+
--fc-forma-border: #E0E0E0;
|
|
29
|
+
--fc-forma-muted-border: #E5E5E5;
|
|
30
|
+
--fc-forma-strong-border: #A6A6A6;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
[data-color-scheme=dark] {
|
|
34
|
+
/* primary */
|
|
35
|
+
--fc-forma-primary: #3788d8;
|
|
36
|
+
--fc-forma-primary-over: #4A9BE8;
|
|
37
|
+
--fc-forma-primary-down: #5DAEF8;
|
|
38
|
+
|
|
39
|
+
/* calendar content */
|
|
40
|
+
--fc-forma-highlight: #3b82f633;
|
|
41
|
+
|
|
42
|
+
/* neutral backgrounds */
|
|
43
|
+
--fc-forma-background: #030712;
|
|
44
|
+
--fc-forma-faint: #ffffff0A;
|
|
45
|
+
--fc-forma-muted: #ffffff14;
|
|
46
|
+
--fc-forma-strong: #ffffff1F;
|
|
47
|
+
--fc-forma-stronger: #ffffff29;
|
|
48
|
+
--fc-forma-strongest: #ffffff33;
|
|
49
|
+
|
|
50
|
+
/* neutral foregrounds */
|
|
51
|
+
--fc-forma-faint-foreground: #4b5563;
|
|
52
|
+
--fc-forma-muted-foreground: #6b7280;
|
|
53
|
+
|
|
54
|
+
/* neutral borders */
|
|
55
|
+
--fc-forma-border: #404040;
|
|
56
|
+
--fc-forma-muted-border: #3A3A3A;
|
|
57
|
+
--fc-forma-strong-border: #707070;
|
|
58
|
+
}
|
|
59
|
+
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
|
|
2
|
+
:root {
|
|
3
|
+
/* primary */
|
|
4
|
+
--fc-forma-primary: #107c41;
|
|
5
|
+
--fc-forma-primary-over: #0D6334;
|
|
6
|
+
--fc-forma-primary-down: #0A4A27;
|
|
7
|
+
--fc-forma-primary-foreground: #FFFFFF;
|
|
8
|
+
|
|
9
|
+
/* calendar content */
|
|
10
|
+
--fc-forma-background-event: #22c55e;
|
|
11
|
+
--fc-forma-highlight: #cffafe66;
|
|
12
|
+
--fc-forma-event: var(--fc-forma-primary);
|
|
13
|
+
--fc-forma-event-contrast: var(--fc-forma-primary-foreground);
|
|
14
|
+
|
|
15
|
+
/* neutral backgrounds */
|
|
16
|
+
--fc-forma-background: #FFFFFF;
|
|
17
|
+
--fc-forma-faint: #00000008;
|
|
18
|
+
--fc-forma-muted: #00000012;
|
|
19
|
+
--fc-forma-strong: #0000001F;
|
|
20
|
+
--fc-forma-stronger: #00000029;
|
|
21
|
+
--fc-forma-strongest: #00000033;
|
|
22
|
+
|
|
23
|
+
/* neutral foregrounds */
|
|
24
|
+
--fc-forma-faint-foreground: #9ca3af;
|
|
25
|
+
--fc-forma-muted-foreground: #6b7280;
|
|
26
|
+
|
|
27
|
+
/* neutral borders */
|
|
28
|
+
--fc-forma-border: #E0E0E0;
|
|
29
|
+
--fc-forma-muted-border: #E5E5E5;
|
|
30
|
+
--fc-forma-strong-border: #A6A6A6;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
[data-color-scheme=dark] {
|
|
34
|
+
/* primary */
|
|
35
|
+
--fc-forma-primary: #218D52;
|
|
36
|
+
--fc-forma-primary-over: #329E63;
|
|
37
|
+
--fc-forma-primary-down: #43AF74;
|
|
38
|
+
|
|
39
|
+
/* calendar content */
|
|
40
|
+
--fc-forma-highlight: #3b82f633;
|
|
41
|
+
|
|
42
|
+
/* neutral backgrounds */
|
|
43
|
+
--fc-forma-background: #030712;
|
|
44
|
+
--fc-forma-faint: #ffffff0A;
|
|
45
|
+
--fc-forma-muted: #ffffff14;
|
|
46
|
+
--fc-forma-strong: #ffffff1F;
|
|
47
|
+
--fc-forma-stronger: #ffffff29;
|
|
48
|
+
--fc-forma-strongest: #ffffff33;
|
|
49
|
+
|
|
50
|
+
/* neutral foregrounds */
|
|
51
|
+
--fc-forma-faint-foreground: #4b5563;
|
|
52
|
+
--fc-forma-muted-foreground: #6b7280;
|
|
53
|
+
|
|
54
|
+
/* neutral borders */
|
|
55
|
+
--fc-forma-border: #404040;
|
|
56
|
+
--fc-forma-muted-border: #3A3A3A;
|
|
57
|
+
--fc-forma-strong-border: #707070;
|
|
58
|
+
}
|
|
59
|
+
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
|
|
2
|
+
:root {
|
|
3
|
+
/* primary */
|
|
4
|
+
--fc-forma-primary: #742774;
|
|
5
|
+
--fc-forma-primary-over: #5D1F5D;
|
|
6
|
+
--fc-forma-primary-down: #461746;
|
|
7
|
+
--fc-forma-primary-foreground: #FFFFFF;
|
|
8
|
+
|
|
9
|
+
/* calendar content */
|
|
10
|
+
--fc-forma-background-event: #22c55e;
|
|
11
|
+
--fc-forma-highlight: #cffafe66;
|
|
12
|
+
--fc-forma-event: var(--fc-forma-primary);
|
|
13
|
+
--fc-forma-event-contrast: var(--fc-forma-primary-foreground);
|
|
14
|
+
|
|
15
|
+
/* neutral backgrounds */
|
|
16
|
+
--fc-forma-background: #FFFFFF;
|
|
17
|
+
--fc-forma-faint: #00000008;
|
|
18
|
+
--fc-forma-muted: #00000012;
|
|
19
|
+
--fc-forma-strong: #0000001F;
|
|
20
|
+
--fc-forma-stronger: #00000029;
|
|
21
|
+
--fc-forma-strongest: #00000033;
|
|
22
|
+
|
|
23
|
+
/* neutral foregrounds */
|
|
24
|
+
--fc-forma-faint-foreground: #9ca3af;
|
|
25
|
+
--fc-forma-muted-foreground: #6b7280;
|
|
26
|
+
|
|
27
|
+
/* neutral borders */
|
|
28
|
+
--fc-forma-border: #E0E0E0;
|
|
29
|
+
--fc-forma-muted-border: #E5E5E5;
|
|
30
|
+
--fc-forma-strong-border: #A6A6A6;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
[data-color-scheme=dark] {
|
|
34
|
+
/* primary */
|
|
35
|
+
--fc-forma-primary: #853885;
|
|
36
|
+
--fc-forma-primary-over: #964996;
|
|
37
|
+
--fc-forma-primary-down: #A75AA7;
|
|
38
|
+
|
|
39
|
+
/* calendar content */
|
|
40
|
+
--fc-forma-highlight: #3b82f633;
|
|
41
|
+
|
|
42
|
+
/* neutral backgrounds */
|
|
43
|
+
--fc-forma-background: #030712;
|
|
44
|
+
--fc-forma-faint: #ffffff0A;
|
|
45
|
+
--fc-forma-muted: #ffffff14;
|
|
46
|
+
--fc-forma-strong: #ffffff1F;
|
|
47
|
+
--fc-forma-stronger: #ffffff29;
|
|
48
|
+
--fc-forma-strongest: #ffffff33;
|
|
49
|
+
|
|
50
|
+
/* neutral foregrounds */
|
|
51
|
+
--fc-forma-faint-foreground: #4b5563;
|
|
52
|
+
--fc-forma-muted-foreground: #6b7280;
|
|
53
|
+
|
|
54
|
+
/* neutral borders */
|
|
55
|
+
--fc-forma-border: #404040;
|
|
56
|
+
--fc-forma-muted-border: #3A3A3A;
|
|
57
|
+
--fc-forma-strong-border: #707070;
|
|
58
|
+
}
|
|
59
|
+
|