@demind-inc/core 1.4.1 → 1.4.3
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 +14 -2
- package/lib/models/Calendar.ts +14 -1
- 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" },
|
|
@@ -19,5 +19,17 @@ exports.eventCategoryColorMap = {
|
|
|
19
19
|
default_exercise: "#FF8C00",
|
|
20
20
|
default_break: "#FF69B4",
|
|
21
21
|
default_meal: "#9370DB",
|
|
22
|
-
default_other: "#
|
|
22
|
+
default_other: "#32CD32", // light sea green
|
|
23
|
+
};
|
|
24
|
+
exports.labelColors = {
|
|
25
|
+
yellow: "#FFD700",
|
|
26
|
+
purple: "#9370DB",
|
|
27
|
+
blue: "#4169E1",
|
|
28
|
+
red: "#8B0000",
|
|
29
|
+
green: "#228B22",
|
|
30
|
+
orange: "#FF8C00",
|
|
31
|
+
black: "#000000",
|
|
32
|
+
sky: "#87CEEB",
|
|
33
|
+
pink: "#FF69B4",
|
|
34
|
+
lime: "#32CD32",
|
|
23
35
|
};
|
package/lib/models/Calendar.ts
CHANGED
|
@@ -162,5 +162,18 @@ export const eventCategoryColorMap: Record<DefaultEventCategoryId, string> = {
|
|
|
162
162
|
default_exercise: "#FF8C00", // dark orange
|
|
163
163
|
default_break: "#FF69B4", // hot pink
|
|
164
164
|
default_meal: "#9370DB", // medium purple
|
|
165
|
-
default_other: "#
|
|
165
|
+
default_other: "#32CD32", // light sea green
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
export const labelColors: Record<string, string> = {
|
|
169
|
+
yellow: "#FFD700",
|
|
170
|
+
purple: "#9370DB",
|
|
171
|
+
blue: "#4169E1",
|
|
172
|
+
red: "#8B0000",
|
|
173
|
+
green: "#228B22",
|
|
174
|
+
orange: "#FF8C00",
|
|
175
|
+
black: "#000000",
|
|
176
|
+
sky: "#87CEEB",
|
|
177
|
+
pink: "#FF69B4",
|
|
178
|
+
lime: "#32CD32",
|
|
166
179
|
};
|