@demind-inc/core 1.4.1 → 1.4.2
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/dist/models/Calendar.d.ts +1 -0
- package/dist/models/Calendar.js +17 -1
- package/lib/models/Calendar.ts +17 -0
- package/package.json +1 -1
|
@@ -99,3 +99,4 @@ export interface EventCategorySet {
|
|
|
99
99
|
export declare const defaultEventCategorySet: EventCategorySet[];
|
|
100
100
|
export type DefaultEventCategoryId = "default_mtg" | "default_lightTask" | "default_deepWork" | "default_exercise" | "default_meal" | "default_break" | "default_other" | "default_social";
|
|
101
101
|
export declare const eventCategoryColorMap: Record<DefaultEventCategoryId, string>;
|
|
102
|
+
export declare const labelColors: Record<string, string>;
|
package/dist/models/Calendar.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.eventCategoryColorMap = exports.defaultEventCategorySet = void 0;
|
|
3
|
+
exports.labelColors = exports.eventCategoryColorMap = exports.defaultEventCategorySet = void 0;
|
|
4
4
|
exports.defaultEventCategorySet = [
|
|
5
5
|
{ id: "default_mtg", name: "Meeting" },
|
|
6
6
|
{ id: "default_lightTask", name: "Light Task" },
|
|
@@ -21,3 +21,19 @@ exports.eventCategoryColorMap = {
|
|
|
21
21
|
default_meal: "#9370DB",
|
|
22
22
|
default_other: "#20B2AA", // light sea green
|
|
23
23
|
};
|
|
24
|
+
exports.labelColors = {
|
|
25
|
+
Red: "#8B0000",
|
|
26
|
+
Blue: "#4169E1",
|
|
27
|
+
Green: "#228B22",
|
|
28
|
+
Yellow: "#FFD700",
|
|
29
|
+
Orange: "#FF8C00",
|
|
30
|
+
Pink: "#FF69B4",
|
|
31
|
+
Purple: "#9370DB",
|
|
32
|
+
Teal: "#20B2AA",
|
|
33
|
+
Brown: "#8B4513",
|
|
34
|
+
Navy: "#000080",
|
|
35
|
+
Olive: "#808000",
|
|
36
|
+
Indigo: "#4B0082",
|
|
37
|
+
Coral: "#FF7F50",
|
|
38
|
+
Slate: "#708090",
|
|
39
|
+
};
|
package/lib/models/Calendar.ts
CHANGED
|
@@ -164,3 +164,20 @@ export const eventCategoryColorMap: Record<DefaultEventCategoryId, string> = {
|
|
|
164
164
|
default_meal: "#9370DB", // medium purple
|
|
165
165
|
default_other: "#20B2AA", // light sea green
|
|
166
166
|
};
|
|
167
|
+
|
|
168
|
+
export const labelColors: Record<string, string> = {
|
|
169
|
+
Red: "#8B0000",
|
|
170
|
+
Blue: "#4169E1",
|
|
171
|
+
Green: "#228B22",
|
|
172
|
+
Yellow: "#FFD700",
|
|
173
|
+
Orange: "#FF8C00",
|
|
174
|
+
Pink: "#FF69B4",
|
|
175
|
+
Purple: "#9370DB",
|
|
176
|
+
Teal: "#20B2AA",
|
|
177
|
+
Brown: "#8B4513",
|
|
178
|
+
Navy: "#000080",
|
|
179
|
+
Olive: "#808000",
|
|
180
|
+
Indigo: "#4B0082",
|
|
181
|
+
Coral: "#FF7F50",
|
|
182
|
+
Slate: "#708090",
|
|
183
|
+
};
|