Skip to content

Commit 8c7893e

Browse files
Ajoute la couleur "darkgreen"
1 parent 93d846f commit 8c7893e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

vistimeline.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
.vis-item.green {
2121
background-color: lightgreen;
2222
}
23+
.vis-item.darkgreen {
24+
background-color: darkgreen;
25+
color: white;
26+
}
2327
.vis-item.orange {
2428
background-color: #e67a5c;
2529
color: white;
@@ -52,7 +56,7 @@
5256
{ name: "start", title: "Start", optional: false, type: "Date", description: "Some text", allowMultiple: false },
5357
{ name: "end", title: "End", optional: true, type: "Date", description: "Some text", allowMultiple: false },
5458
{ name: "group", title: "Group", optional: true, description: "Some text", allowMultiple: false },
55-
{ name: "className", title: "Color", optional: true, description: "any color between red, bleu, yellow, green, purple", allowMultiple: false },
59+
{ name: "className", title: "Color", optional: true, description: "any color between red, bleu, yellow, green, darkgree, purple", allowMultiple: false },
5660
], requiredAccess: 'read table'});
5761

5862
grist.onRecords(function (records, mappings) {
@@ -77,3 +81,4 @@
7781

7882
</body>
7983
</html>
84+

0 commit comments

Comments
 (0)