@operato/gantt 2.0.0-alpha.154 → 2.0.0-beta.1

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.
Files changed (55) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/src/locale.d.ts +1 -0
  3. package/dist/src/locale.js +49 -0
  4. package/dist/src/locale.js.map +1 -0
  5. package/dist/src/ox-gantt-chart.d.ts +39 -0
  6. package/dist/src/ox-gantt-chart.js +707 -0
  7. package/dist/src/ox-gantt-chart.js.map +1 -0
  8. package/dist/src/ox-gantt-resize-splitter.d.ts +13 -0
  9. package/dist/src/ox-gantt-resize-splitter.js +117 -0
  10. package/dist/src/ox-gantt-resize-splitter.js.map +1 -0
  11. package/dist/src/ox-gantt.d.ts +24 -0
  12. package/dist/src/ox-gantt.js +186 -0
  13. package/dist/src/ox-gantt.js.map +1 -0
  14. package/dist/src/types.d.ts +10 -5
  15. package/dist/src/types.js.map +1 -1
  16. package/dist/src/utils.d.ts +3 -0
  17. package/dist/src/utils.js +10 -0
  18. package/dist/src/utils.js.map +1 -0
  19. package/dist/stories/ox-gantt-chart.stories.d.ts +41 -0
  20. package/dist/stories/{ox-lite-gantt.stories.js → ox-gantt-chart.stories.js} +53 -21
  21. package/dist/stories/ox-gantt-chart.stories.js.map +1 -0
  22. package/dist/stories/ox-gantt.stories.d.ts +6 -1
  23. package/dist/stories/ox-gantt.stories.js +286 -15
  24. package/dist/stories/ox-gantt.stories.js.map +1 -1
  25. package/dist/tsconfig.tsbuildinfo +1 -1
  26. package/package.json +12 -4
  27. package/src/locale.ts +51 -0
  28. package/src/ox-gantt-chart.ts +773 -0
  29. package/src/ox-gantt-resize-splitter.ts +137 -0
  30. package/src/ox-gantt.ts +177 -0
  31. package/src/types.ts +12 -6
  32. package/src/utils.ts +13 -0
  33. package/stories/{ox-lite-gantt.stories.ts → ox-gantt-chart.stories.ts} +65 -22
  34. package/stories/ox-gantt.stories.ts +289 -16
  35. package/themes/dark-hc.css +151 -0
  36. package/themes/dark-mc.css +151 -0
  37. package/themes/dark.css +151 -0
  38. package/themes/grist-theme.css +169 -0
  39. package/themes/light-hc.css +151 -0
  40. package/themes/light-mc.css +151 -0
  41. package/themes/light.css +151 -0
  42. package/themes/md-typescale-styles.css +100 -0
  43. package/themes/spacing.css +43 -0
  44. package/themes/state-color.css +6 -0
  45. package/dist/src/gantt.d.ts +0 -28
  46. package/dist/src/gantt.js +0 -178
  47. package/dist/src/gantt.js.map +0 -1
  48. package/dist/src/lite-gantt.d.ts +0 -27
  49. package/dist/src/lite-gantt.js +0 -146
  50. package/dist/src/lite-gantt.js.map +0 -1
  51. package/dist/stories/ox-lite-gantt.stories.d.ts +0 -22
  52. package/dist/stories/ox-lite-gantt.stories.js.map +0 -1
  53. package/src/gantt.ts +0 -191
  54. package/src/lite-gantt.ts +0 -152
  55. package/src/renderer.txt +0 -775
@@ -1,5 +1,5 @@
1
1
  import { CommonHeaderStyles } from '@operato/styles'
2
- import '../src/gantt.js'
2
+ import '../src/ox-gantt.js'
3
3
 
4
4
  import { html, TemplateResult } from 'lit'
5
5
  import { styles as MDTypeScaleStyles } from '@material/web/typography/md-typescale-styles'
@@ -10,6 +10,7 @@ export default {
10
10
  title: 'ox-gantt',
11
11
  component: 'ox-gantt',
12
12
  argTypes: {
13
+ tasks: { control: 'object' },
13
14
  theme: { control: 'select', options: ['light', 'dark'] }
14
15
  }
15
16
  }
@@ -21,15 +22,17 @@ interface Story<T> {
21
22
  }
22
23
 
23
24
  interface ArgTypes {
25
+ tasks: Task[]
24
26
  theme: 'light' | 'dark'
25
27
  }
26
28
 
27
- const Template: Story<ArgTypes> = ({ theme = 'light' }: ArgTypes) => html`
29
+ const Template: Story<ArgTypes> = ({ theme = 'light', tasks }: ArgTypes) => html`
28
30
  <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet" />
29
31
 
30
32
  <link href="/themes/light.css" rel="stylesheet" />
31
33
  <link href="/themes/dark.css" rel="stylesheet" />
32
34
  <link href="/themes/spacing.css" rel="stylesheet" />
35
+ <link href="/themes/md-typescale-styles.css" rel="stylesheet" />
33
36
 
34
37
  <link
35
38
  href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
@@ -55,15 +58,18 @@ const Template: Story<ArgTypes> = ({ theme = 'light' }: ArgTypes) => html`
55
58
  <style>
56
59
  body {
57
60
  width: 100%;
58
- height: 500px;
61
+ height: 800px;
59
62
  text-align: center;
60
63
 
61
64
  background-color: var(--md-sys-color-background);
62
65
  color: var(--md-sys-color-on-background);
63
66
  }
64
67
 
65
- .header {
66
- padding: var(--spacing-medium);
68
+ ox-gantt {
69
+ width: 90%;
70
+ height: 500px;
71
+ box-sizing: border-box;
72
+
67
73
  background-color: var(--md-sys-color-primary-container);
68
74
  color: var(--md-sys-color-on-primary-container);
69
75
  }
@@ -73,17 +79,284 @@ const Template: Story<ArgTypes> = ({ theme = 'light' }: ArgTypes) => html`
73
79
  document.body.classList.add('${theme}')
74
80
  </script>
75
81
 
76
- <div class="header">
77
- <div class="filters">
78
- <ox-gantt
79
- @change=${(e: CustomEvent) => {
80
- console.log('search form changed', e.detail)
81
- }}
82
- >
83
- </ox-gantt>
84
- </div>
85
- </div>
82
+ <ox-gantt
83
+ from-date="2022-12-27"
84
+ to-date="2024-12-31"
85
+ .tasks=${tasks}
86
+ @date-range-selected=${(e: CustomEvent) => {
87
+ console.log('date-range-selected', e.detail)
88
+ }}
89
+ @task-clicked=${(e: CustomEvent) => {
90
+ console.log('task-clicked', e.detail)
91
+ }}
92
+ >
93
+ </ox-gantt>
86
94
  `
87
95
 
96
+ const exampleSection: Section = {
97
+ name: 'Development'
98
+ }
99
+
88
100
  export const Regular = Template.bind({})
89
- Regular.args = {}
101
+ Regular.args = {
102
+ tasks: [
103
+ {
104
+ id: '1',
105
+ title: 'Design',
106
+ type: 'task',
107
+ section: exampleSection,
108
+ startTime: new Date('2023-01-01'),
109
+ endTime: new Date('2023-01-05'),
110
+ progress: 60,
111
+ after: '',
112
+ length: '5d',
113
+ tags: ['active'],
114
+ children: []
115
+ },
116
+ {
117
+ id: '2',
118
+ title: 'Development',
119
+ type: 'milestone',
120
+ section: exampleSection,
121
+ startTime: new Date('2023-01-06'),
122
+ endTime: new Date('2023-01-06'),
123
+ progress: 30,
124
+ after: '1',
125
+ length: '1d',
126
+ tags: ['milestone'],
127
+ children: []
128
+ },
129
+ {
130
+ id: '3',
131
+ title: 'Coding',
132
+ type: 'phase',
133
+ section: exampleSection,
134
+ startTime: new Date('2023-01-07'),
135
+ endTime: new Date('2023-01-15'),
136
+ progress: 10,
137
+ after: '2',
138
+ length: '9d',
139
+ tags: ['critical'],
140
+ children: [
141
+ {
142
+ id: '3-1',
143
+ title: 'Coding-A',
144
+ type: 'task',
145
+ section: exampleSection,
146
+ startTime: new Date('2023-01-07'),
147
+ endTime: new Date('2023-01-10'),
148
+ progress: 60,
149
+ after: '',
150
+ length: '4d',
151
+ tags: ['done'],
152
+ children: []
153
+ },
154
+ {
155
+ id: '3-2',
156
+ title: 'Coding-B',
157
+ type: 'task',
158
+ section: exampleSection,
159
+ startTime: new Date('2023-01-11'),
160
+ endTime: new Date('2023-01-15'),
161
+ after: '3-1',
162
+ length: '5d',
163
+ tags: ['active'],
164
+ children: []
165
+ }
166
+ ]
167
+ },
168
+ {
169
+ id: '4',
170
+ title: 'Test',
171
+ type: 'milestone',
172
+ section: exampleSection,
173
+ startTime: new Date('2023-01-07'),
174
+ endTime: new Date('2023-01-10'),
175
+ progress: 100,
176
+ after: '1',
177
+ length: '1d',
178
+ tags: ['done'],
179
+ children: []
180
+ },
181
+ {
182
+ id: '5',
183
+ title: 'Deploy',
184
+ type: 'milestone',
185
+ section: exampleSection,
186
+ startTime: new Date('2023-01-15'),
187
+ endTime: new Date('2023-01-21'),
188
+ after: '4',
189
+ length: '1d',
190
+ tags: ['milestone'],
191
+ children: []
192
+ },
193
+ {
194
+ id: '6',
195
+ title: 'Publishing',
196
+ type: 'milestone',
197
+ section: exampleSection,
198
+ startTime: new Date('2023-01-11'),
199
+ endTime: new Date('2023-01-15'),
200
+ after: '5',
201
+ length: '1d',
202
+ tags: ['milestone'],
203
+ children: []
204
+ },
205
+ {
206
+ id: '7',
207
+ title: 'Provisioning',
208
+ type: 'milestone',
209
+ section: exampleSection,
210
+ startTime: new Date('2023-01-12'),
211
+ endTime: new Date('2023-01-15'),
212
+ after: '6',
213
+ length: '1d',
214
+ tags: ['milestone'],
215
+ children: []
216
+ },
217
+ {
218
+ id: '8',
219
+ title: 'Alpha Test',
220
+ type: 'milestone',
221
+ section: exampleSection,
222
+ startTime: new Date('2023-01-15'),
223
+ endTime: new Date('2023-01-17'),
224
+ after: '7',
225
+ length: '1d',
226
+ tags: ['critical'],
227
+ children: []
228
+ },
229
+ {
230
+ id: '9',
231
+ title: 'Beta Task',
232
+ type: 'milestone',
233
+ section: exampleSection,
234
+ startTime: new Date('2023-01-15'),
235
+ endTime: new Date('2023-01-18'),
236
+ after: '8',
237
+ length: '1d',
238
+ tags: ['active'],
239
+ children: []
240
+ },
241
+ {
242
+ id: '10',
243
+ title: 'Gamma Test',
244
+ type: 'milestone',
245
+ section: exampleSection,
246
+ startTime: new Date('2023-01-18'),
247
+ endTime: new Date('2023-01-19'),
248
+ after: '9',
249
+ length: '1d',
250
+ tags: ['critical'],
251
+ children: []
252
+ },
253
+ {
254
+ id: '11',
255
+ title: 'Zeta Test',
256
+ type: 'milestone',
257
+ section: exampleSection,
258
+ startTime: new Date('2023-01-18'),
259
+ endTime: new Date('2023-01-22'),
260
+ after: '9',
261
+ length: '1d',
262
+ tags: ['milestone'],
263
+ children: []
264
+ },
265
+ {
266
+ id: '12',
267
+ title: 'Release',
268
+ type: 'milestone',
269
+ section: exampleSection,
270
+ startTime: new Date('2023-01-18'),
271
+ endTime: new Date('2023-01-23'),
272
+ after: '9',
273
+ length: '1d',
274
+ tags: ['milestone'],
275
+ children: []
276
+ },
277
+ {
278
+ id: '13',
279
+ title: 'Release',
280
+ type: 'milestone',
281
+ section: exampleSection,
282
+ startTime: new Date('2023-01-22'),
283
+ endTime: new Date('2023-01-27'),
284
+ after: '12',
285
+ length: '1d',
286
+ tags: ['done'],
287
+ children: []
288
+ },
289
+ {
290
+ id: '14',
291
+ title: 'Release',
292
+ type: 'milestone',
293
+ section: exampleSection,
294
+ startTime: new Date('2023-01-27'),
295
+ endTime: new Date('2023-01-30'),
296
+ after: '13',
297
+ length: '1d',
298
+ tags: ['milestone'],
299
+ children: []
300
+ },
301
+ {
302
+ id: '15',
303
+ title: 'Release',
304
+ type: 'milestone',
305
+ section: exampleSection,
306
+ startTime: new Date('2023-01-30'),
307
+ endTime: new Date('2023-01-31'),
308
+ after: '14',
309
+ length: '1d',
310
+ tags: ['milestone'],
311
+ children: []
312
+ },
313
+ {
314
+ id: '16',
315
+ title: 'Release',
316
+ type: 'milestone',
317
+ section: exampleSection,
318
+ startTime: new Date('2023-01-31'),
319
+ endTime: new Date('2023-02-05'),
320
+ after: '15',
321
+ length: '1d',
322
+ tags: ['active'],
323
+ children: []
324
+ },
325
+ {
326
+ id: '17',
327
+ title: 'Release',
328
+ type: 'milestone',
329
+ section: exampleSection,
330
+ startTime: new Date('2023-02-06'),
331
+ endTime: new Date('2023-02-07'),
332
+ after: '16',
333
+ length: '1d',
334
+ tags: ['milestone'],
335
+ children: []
336
+ },
337
+ {
338
+ id: '18',
339
+ title: 'Release',
340
+ type: 'milestone',
341
+ section: exampleSection,
342
+ startTime: new Date('2023-02-08'),
343
+ endTime: new Date('2023-02-09'),
344
+ after: '17',
345
+ length: '1d',
346
+ tags: ['critical'],
347
+ children: []
348
+ },
349
+ {
350
+ id: '19',
351
+ title: 'Release',
352
+ type: 'milestone',
353
+ section: exampleSection,
354
+ startTime: new Date('2023-02-10'),
355
+ endTime: new Date('2023-02-25'),
356
+ after: '18',
357
+ length: '1d',
358
+ tags: ['milestone'],
359
+ children: []
360
+ }
361
+ ]
362
+ }
@@ -0,0 +1,151 @@
1
+ .dark-high-contrast {
2
+ --md-sys-color-primary: rgb(252 250 255);
3
+ --md-sys-color-surface-tint: rgb(178 197 255);
4
+ --md-sys-color-on-primary: rgb(0 0 0);
5
+ --md-sys-color-primary-container: rgb(184 201 255);
6
+ --md-sys-color-on-primary-container: rgb(0 0 0);
7
+ --md-sys-color-secondary: rgb(248 251 255);
8
+ --md-sys-color-on-secondary: rgb(0 0 0);
9
+ --md-sys-color-secondary-container: rgb(147 211 247);
10
+ --md-sys-color-on-secondary-container: rgb(0 0 0);
11
+ --md-sys-color-tertiary: rgb(238 255 242);
12
+ --md-sys-color-on-tertiary: rgb(0 0 0);
13
+ --md-sys-color-tertiary-container: rgb(148 218 179);
14
+ --md-sys-color-on-tertiary-container: rgb(0 0 0);
15
+ --md-sys-color-error: rgb(255 249 249);
16
+ --md-sys-color-on-error: rgb(0 0 0);
17
+ --md-sys-color-error-container: rgb(255 185 180);
18
+ --md-sys-color-on-error-container: rgb(0 0 0);
19
+ --md-sys-color-background: rgb(18 19 24);
20
+ --md-sys-color-on-background: rgb(227 226 233);
21
+ --md-sys-color-surface: rgb(18 19 24);
22
+ --md-sys-color-on-surface: rgb(255 255 255);
23
+ --md-sys-color-surface-variant: rgb(69 70 79);
24
+ --md-sys-color-on-surface-variant: rgb(252 250 255);
25
+ --md-sys-color-outline: rgb(201 202 212);
26
+ --md-sys-color-outline-variant: rgb(201 202 212);
27
+ --md-sys-color-shadow: rgb(0 0 0);
28
+ --md-sys-color-scrim: rgb(0 0 0);
29
+ --md-sys-color-inverse-surface: rgb(227 226 233);
30
+ --md-sys-color-inverse-on-surface: rgb(0 0 0);
31
+ --md-sys-color-inverse-primary: rgb(16 39 90);
32
+ --md-sys-color-primary-fixed: rgb(224 230 255);
33
+ --md-sys-color-on-primary-fixed: rgb(0 0 0);
34
+ --md-sys-color-primary-fixed-dim: rgb(184 201 255);
35
+ --md-sys-color-on-primary-fixed-variant: rgb(0 19 61);
36
+ --md-sys-color-secondary-fixed: rgb(205 235 255);
37
+ --md-sys-color-on-secondary-fixed: rgb(0 0 0);
38
+ --md-sys-color-secondary-fixed-dim: rgb(147 211 247);
39
+ --md-sys-color-on-secondary-fixed-variant: rgb(0 25 36);
40
+ --md-sys-color-tertiary-fixed: rgb(175 246 206);
41
+ --md-sys-color-on-tertiary-fixed: rgb(0 0 0);
42
+ --md-sys-color-tertiary-fixed-dim: rgb(148 218 179);
43
+ --md-sys-color-on-tertiary-fixed-variant: rgb(0 27 14);
44
+ --md-sys-color-surface-dim: rgb(18 19 24);
45
+ --md-sys-color-surface-bright: rgb(56 57 63);
46
+ --md-sys-color-surface-container-lowest: rgb(13 14 19);
47
+ --md-sys-color-surface-container-low: rgb(26 27 33);
48
+ --md-sys-color-surface-container: rgb(30 31 37);
49
+ --md-sys-color-surface-container-high: rgb(41 42 47);
50
+ --md-sys-color-surface-container-highest: rgb(51 52 58);
51
+
52
+ /* primary palette */
53
+ --md-ref-palette-primary0:#000000;
54
+ --md-ref-palette-primary5:#000E32;
55
+ --md-ref-palette-primary10:#001848;
56
+ --md-ref-palette-primary15:#00215E;
57
+ --md-ref-palette-primary20:#002B74;
58
+ --md-ref-palette-primary25:#002B74;
59
+ --md-ref-palette-primary30:#0040A2;
60
+ --md-ref-palette-primary35:#002B74;
61
+ --md-ref-palette-primary40:#1957CA;
62
+ --md-ref-palette-primary50:#3E71E5;
63
+ --md-ref-palette-primary60:#5C8BFF;
64
+ --md-ref-palette-primary70:#89A9FF;
65
+ --md-ref-palette-primary80:#B2C5FF;
66
+ --md-ref-palette-primary90:#DAE2FF;
67
+ --md-ref-palette-primary95:#EEF0FF;
68
+ --md-ref-palette-primary98:#FAF8FF;
69
+ --md-ref-palette-primary99:#FEFBFF;
70
+ --md-ref-palette-primary100:#FFFFFF;
71
+
72
+ /* secondary palette */
73
+ --md-ref-palette-secondary0:#000000;
74
+ --md-ref-palette-secondary5:#00131D;
75
+ --md-ref-palette-secondary10:#001E2C;
76
+ --md-ref-palette-secondary15:#00293A;
77
+ --md-ref-palette-secondary20:#003549;
78
+ --md-ref-palette-secondary25:#004058;
79
+ --md-ref-palette-secondary30:#004C68;
80
+ --md-ref-palette-secondary35:#005978;
81
+ --md-ref-palette-secondary40:#006689;
82
+ --md-ref-palette-secondary50:#0080AC;
83
+ --md-ref-palette-secondary60:#009BCF;
84
+ --md-ref-palette-secondary70:#00B8F4;
85
+ --md-ref-palette-secondary80:#79D1FF;
86
+ --md-ref-palette-secondary90:#C3E8FF;
87
+ --md-ref-palette-secondary95:#E3F3FF;
88
+ --md-ref-palette-secondary98:#F5FAFF;
89
+ --md-ref-palette-secondary99:#FBFCFF;
90
+ --md-ref-palette-secondary100:#FFFFFF;
91
+
92
+ /* tertiary palette */
93
+ --md-ref-palette-tertiary0:#000000;
94
+ --md-ref-palette-tertiary5:#00150A;
95
+ --md-ref-palette-tertiary10:#002113;
96
+ --md-ref-palette-tertiary15:#002C1B;
97
+ --md-ref-palette-tertiary20:#003823;
98
+ --md-ref-palette-tertiary25:#00452B;
99
+ --md-ref-palette-tertiary30:#005234;
100
+ --md-ref-palette-tertiary35:#005F3E;
101
+ --md-ref-palette-tertiary40:#006C47;
102
+ --md-ref-palette-tertiary50:#00885A;
103
+ --md-ref-palette-tertiary60:#31A372;
104
+ --md-ref-palette-tertiary70:#51BF8B;
105
+ --md-ref-palette-tertiary80:#6EDBA5;
106
+ --md-ref-palette-tertiary90:#A2F4C7;
107
+ --md-ref-palette-tertiary95:#BFFFD9;
108
+ --md-ref-palette-tertiary98:#E8FFEF;
109
+ --md-ref-palette-tertiary99:#F4FFF5;
110
+ --md-ref-palette-tertiary100:#FFFFFF;
111
+
112
+ /* error palette */
113
+ --md-ref-palette-error0:#000000;
114
+ --md-ref-palette-error5:#2d0102;
115
+ --md-ref-palette-error10:#410304;
116
+ --md-ref-palette-error15:#540507;
117
+ --md-ref-palette-error20:#68070a;
118
+ --md-ref-palette-error25:#7d0b0e;
119
+ --md-ref-palette-error30:#930f14;
120
+ --md-ref-palette-error35:#a91319;
121
+ --md-ref-palette-error40:#bc1620;
122
+ --md-ref-palette-error50:#e03236;
123
+ --md-ref-palette-error60:#ff5450;
124
+ --md-ref-palette-error70:#ff8982;
125
+ --md-ref-palette-error80:#ffb3ad;
126
+ --md-ref-palette-error90:#ffdad7;
127
+ --md-ref-palette-error95:#ffedeb;
128
+ --md-ref-palette-error98:#fff8f7;
129
+ --md-ref-palette-error99:#fffbff;
130
+ --md-ref-palette-error100:#FFFFFF;
131
+
132
+ /* neutral palette */
133
+ --md-ref-palette-neutral0:#000000;
134
+ --md-ref-palette-neutral5:#111111;
135
+ --md-ref-palette-neutral10:#1C1C1C;
136
+ --md-ref-palette-neutral15:#262626;
137
+ --md-ref-palette-neutral20:#313131;
138
+ --md-ref-palette-neutral25:#3C3C3C;
139
+ --md-ref-palette-neutral30:#474747;
140
+ --md-ref-palette-neutral35:#535353;
141
+ --md-ref-palette-neutral40:#5F5F5F;
142
+ --md-ref-palette-neutral50:#787878;
143
+ --md-ref-palette-neutral60:#929292;
144
+ --md-ref-palette-neutral70:#ACACAC;
145
+ --md-ref-palette-neutral80:#C8C8C8;
146
+ --md-ref-palette-neutral90:#E4E4E4;
147
+ --md-ref-palette-neutral95:#F0F0F0;
148
+ --md-ref-palette-neutral98:#F9F9F9;
149
+ --md-ref-palette-neutral99:#FEFEFE;
150
+ --md-ref-palette-neutral100:#FFFFFF;
151
+ }
@@ -0,0 +1,151 @@
1
+ .dark-medium-contrast {
2
+ --md-sys-color-primary: rgb(184 201 255);
3
+ --md-sys-color-surface-tint: rgb(178 197 255);
4
+ --md-sys-color-on-primary: rgb(0 19 61);
5
+ --md-sys-color-primary-container: rgb(124 143 200);
6
+ --md-sys-color-on-primary-container: rgb(0 0 0);
7
+ --md-sys-color-secondary: rgb(147 211 247);
8
+ --md-sys-color-on-secondary: rgb(0 25 36);
9
+ --md-sys-color-secondary-container: rgb(88 152 186);
10
+ --md-sys-color-on-secondary-container: rgb(0 0 0);
11
+ --md-sys-color-tertiary: #cffce3;
12
+ --md-sys-color-on-tertiary: rgb(0 27 14);
13
+ --md-sys-color-tertiary-container: #005234;
14
+ --md-sys-color-on-tertiary-container: #cffce3;
15
+ --md-sys-color-error: #fbafa9;
16
+ --md-sys-color-on-error: #fe594e;
17
+ --md-sys-color-error-container: #fe594e;
18
+ --md-sys-color-on-error-container: #fbafa9;
19
+ --md-sys-color-background: rgb(18 19 24);
20
+ --md-sys-color-on-background: rgb(227 226 233);
21
+ --md-sys-color-surface: rgb(18 19 24);
22
+ --md-sys-color-on-surface: rgb(252 250 255);
23
+ --md-sys-color-surface-variant: rgb(69 70 79);
24
+ --md-sys-color-on-surface-variant: rgb(201 202 212);
25
+ --md-sys-color-outline: rgb(161 162 172);
26
+ --md-sys-color-outline-variant: rgb(129 131 140);
27
+ --md-sys-color-shadow: rgb(0 0 0);
28
+ --md-sys-color-scrim: rgb(0 0 0);
29
+ --md-sys-color-inverse-surface: rgb(227 226 233);
30
+ --md-sys-color-inverse-on-surface: rgb(41 42 47);
31
+ --md-sys-color-inverse-primary: rgb(50 70 122);
32
+ --md-sys-color-primary-fixed: rgb(218 226 255);
33
+ --md-sys-color-on-primary-fixed: rgb(0 15 51);
34
+ --md-sys-color-primary-fixed-dim: rgb(178 197 255);
35
+ --md-sys-color-on-primary-fixed-variant: rgb(31 52 102);
36
+ --md-sys-color-secondary-fixed: rgb(195 232 255);
37
+ --md-sys-color-on-secondary-fixed: rgb(0 19 29);
38
+ --md-sys-color-secondary-fixed-dim: rgb(143 207 243);
39
+ --md-sys-color-on-secondary-fixed-variant: rgb(0 59 81);
40
+ --md-sys-color-tertiary-fixed: #c7e6d5;
41
+ --md-sys-color-on-tertiary-fixed: rgb(0 21 10);
42
+ --md-sys-color-tertiary-fixed-dim: #c7e6d5;
43
+ --md-sys-color-on-tertiary-fixed-variant: rgb(0 63 39);
44
+ --md-sys-color-surface-dim: rgb(18 19 24);
45
+ --md-sys-color-surface-bright: rgb(56 57 63);
46
+ --md-sys-color-surface-container-lowest: rgb(13 14 19);
47
+ --md-sys-color-surface-container-low: rgb(26 27 33);
48
+ --md-sys-color-surface-container: rgb(30 31 37);
49
+ --md-sys-color-surface-container-high: rgb(41 42 47);
50
+ --md-sys-color-surface-container-highest: rgb(51 52 58);
51
+
52
+ /* primary palette */
53
+ --md-ref-palette-primary0:#000000;
54
+ --md-ref-palette-primary5:#000E32;
55
+ --md-ref-palette-primary10:#001848;
56
+ --md-ref-palette-primary15:#00215E;
57
+ --md-ref-palette-primary20:#002B74;
58
+ --md-ref-palette-primary25:#002B74;
59
+ --md-ref-palette-primary30:#0040A2;
60
+ --md-ref-palette-primary35:#002B74;
61
+ --md-ref-palette-primary40:#1957CA;
62
+ --md-ref-palette-primary50:#3E71E5;
63
+ --md-ref-palette-primary60:#5C8BFF;
64
+ --md-ref-palette-primary70:#89A9FF;
65
+ --md-ref-palette-primary80:#B2C5FF;
66
+ --md-ref-palette-primary90:#DAE2FF;
67
+ --md-ref-palette-primary95:#EEF0FF;
68
+ --md-ref-palette-primary98:#FAF8FF;
69
+ --md-ref-palette-primary99:#FEFBFF;
70
+ --md-ref-palette-primary100:#FFFFFF;
71
+
72
+ /* secondary palette */
73
+ --md-ref-palette-secondary0:#000000;
74
+ --md-ref-palette-secondary5:#00131D;
75
+ --md-ref-palette-secondary10:#001E2C;
76
+ --md-ref-palette-secondary15:#00293A;
77
+ --md-ref-palette-secondary20:#003549;
78
+ --md-ref-palette-secondary25:#004058;
79
+ --md-ref-palette-secondary30:#004C68;
80
+ --md-ref-palette-secondary35:#005978;
81
+ --md-ref-palette-secondary40:#006689;
82
+ --md-ref-palette-secondary50:#0080AC;
83
+ --md-ref-palette-secondary60:#009BCF;
84
+ --md-ref-palette-secondary70:#00B8F4;
85
+ --md-ref-palette-secondary80:#79D1FF;
86
+ --md-ref-palette-secondary90:#C3E8FF;
87
+ --md-ref-palette-secondary95:#E3F3FF;
88
+ --md-ref-palette-secondary98:#F5FAFF;
89
+ --md-ref-palette-secondary99:#FBFCFF;
90
+ --md-ref-palette-secondary100:#FFFFFF;
91
+
92
+ /* tertiary palette */
93
+ --md-ref-palette-tertiary0:#000000;
94
+ --md-ref-palette-tertiary5:#00150A;
95
+ --md-ref-palette-tertiary10:#002113;
96
+ --md-ref-palette-tertiary15:#002C1B;
97
+ --md-ref-palette-tertiary20:#003823;
98
+ --md-ref-palette-tertiary25:#00452B;
99
+ --md-ref-palette-tertiary30:#005234;
100
+ --md-ref-palette-tertiary35:#005F3E;
101
+ --md-ref-palette-tertiary40:#006C47;
102
+ --md-ref-palette-tertiary50:#00885A;
103
+ --md-ref-palette-tertiary60:#31A372;
104
+ --md-ref-palette-tertiary70:#51BF8B;
105
+ --md-ref-palette-tertiary80:#6EDBA5;
106
+ --md-ref-palette-tertiary90:#A2F4C7;
107
+ --md-ref-palette-tertiary95:#BFFFD9;
108
+ --md-ref-palette-tertiary98:#E8FFEF;
109
+ --md-ref-palette-tertiary99:#F4FFF5;
110
+ --md-ref-palette-tertiary100:#FFFFFF;
111
+
112
+ /* error palette */
113
+ --md-ref-palette-error0:#000000;
114
+ --md-ref-palette-error5:#2d0102;
115
+ --md-ref-palette-error10:#410304;
116
+ --md-ref-palette-error15:#540507;
117
+ --md-ref-palette-error20:#68070a;
118
+ --md-ref-palette-error25:#7d0b0e;
119
+ --md-ref-palette-error30:#930f14;
120
+ --md-ref-palette-error35:#a91319;
121
+ --md-ref-palette-error40:#bc1620;
122
+ --md-ref-palette-error50:#e03236;
123
+ --md-ref-palette-error60:#ff5450;
124
+ --md-ref-palette-error70:#ff8982;
125
+ --md-ref-palette-error80:#ffb3ad;
126
+ --md-ref-palette-error90:#ffdad7;
127
+ --md-ref-palette-error95:#ffedeb;
128
+ --md-ref-palette-error98:#fff8f7;
129
+ --md-ref-palette-error99:#fffbff;
130
+ --md-ref-palette-error100:#FFFFFF;
131
+
132
+ /* neutral palette */
133
+ --md-ref-palette-neutral0:#000000;
134
+ --md-ref-palette-neutral5:#111111;
135
+ --md-ref-palette-neutral10:#1C1C1C;
136
+ --md-ref-palette-neutral15:#262626;
137
+ --md-ref-palette-neutral20:#313131;
138
+ --md-ref-palette-neutral25:#3C3C3C;
139
+ --md-ref-palette-neutral30:#474747;
140
+ --md-ref-palette-neutral35:#535353;
141
+ --md-ref-palette-neutral40:#5F5F5F;
142
+ --md-ref-palette-neutral50:#787878;
143
+ --md-ref-palette-neutral60:#929292;
144
+ --md-ref-palette-neutral70:#ACACAC;
145
+ --md-ref-palette-neutral80:#C8C8C8;
146
+ --md-ref-palette-neutral90:#E4E4E4;
147
+ --md-ref-palette-neutral95:#F0F0F0;
148
+ --md-ref-palette-neutral98:#F9F9F9;
149
+ --md-ref-palette-neutral99:#FEFEFE;
150
+ --md-ref-palette-neutral100:#FFFFFF;
151
+ }