@things-factory/operato-dataset 9.0.0-beta.26 → 9.0.0-beta.27

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.
@@ -1,164 +0,0 @@
1
- import { asyncReplace } from 'lit/directives/async-replace.js';
2
- import i18next from 'i18next';
3
- import { generateActivitySummary, startSubscribeActivitySummary } from '@things-factory/worklist/dist-client';
4
- startSubscribeActivitySummary();
5
- export function getMenuTemplate(owner = false, dataSets) {
6
- return [
7
- {
8
- name: i18next.t('title.my workspace'),
9
- type: 'group'
10
- },
11
- {
12
- name: i18next.t('title.todo list'),
13
- icon: 'things_to_do',
14
- path: 'todo-list',
15
- badge: () => asyncReplace(generateActivitySummary('numberOfToDos')),
16
- active: ({ path }) => /^activity\//.test(path)
17
- },
18
- {
19
- name: i18next.t('title.approval pending list'),
20
- icon: 'approval',
21
- path: 'approval-pending-list',
22
- badge: () => asyncReplace(generateActivitySummary('numberOfApprovalPendings')),
23
- active: ({ path }) => /^approval\//.test(path)
24
- },
25
- {
26
- name: i18next.t('title.draft list'),
27
- icon: 'drive_file_rename_outline',
28
- path: 'draft-list',
29
- badge: () => asyncReplace(generateActivitySummary('numberOfDrafts'))
30
- },
31
- {
32
- name: i18next.t('title.activity starter list'),
33
- icon: 'rocket_launch',
34
- path: 'starter-list'
35
- },
36
- {
37
- name: i18next.t('title.done list calendar'),
38
- icon: 'calendar_month',
39
- path: 'done-list-calendar',
40
- description: '업무와 관련된 수행 또는 결재 이력을 캘린더에서 조회할 수 있습니다.',
41
- menus: [
42
- {
43
- name: i18next.t('title.done list'),
44
- icon: 'history',
45
- path: 'done-list'
46
- },
47
- {
48
- name: i18next.t('title.approval done list'),
49
- icon: 'history',
50
- path: 'approval-done-list'
51
- }
52
- ]
53
- },
54
- owner && {
55
- name: 'DATASET',
56
- type: 'group'
57
- },
58
- owner && {
59
- name: i18next.t('title.data-set list'),
60
- icon: 'dataset',
61
- path: 'data-set-list'
62
- },
63
- owner && {
64
- name: i18next.t('title.data-key-set list'),
65
- icon: 'dataset_linked',
66
- path: 'data-key-set-list'
67
- },
68
- owner && {
69
- name: i18next.t('title.data-sensor list'),
70
- icon: 'sensors',
71
- path: 'data-sensor-list'
72
- },
73
- {
74
- name: 'DATA ENTRY',
75
- type: 'group'
76
- },
77
- {
78
- icon: 'edit_square',
79
- name: i18next.t('title.data-entry list'),
80
- path: 'data-entry-list'
81
- },
82
- {
83
- name: 'DATA REPORT',
84
- type: 'group'
85
- },
86
- owner && {
87
- name: i18next.t('title.data-sample list'),
88
- icon: 'rule',
89
- path: 'data-sample-list',
90
- menus: dataSets.map(item => {
91
- return {
92
- name: item.name,
93
- icon: 'checklist_rtl',
94
- path: `data-sample-search/${item.id}`
95
- };
96
- }) || []
97
- },
98
- owner && {
99
- name: i18next.t('title.data-ooc list'),
100
- icon: 'error',
101
- path: 'data-ooc-list'
102
- },
103
- owner && {
104
- name: i18next.t('title.data-summary list'),
105
- icon: 'functions',
106
- path: 'data-summary-list',
107
- menus: dataSets
108
- .filter(item => item.active && item.summaryPeriod)
109
- .map(item => {
110
- return {
111
- name: item.name,
112
- icon: 'checklist',
113
- path: `data-summary-period/${item.id}`
114
- };
115
- }) || []
116
- },
117
- {
118
- icon: 'newspaper',
119
- name: i18next.t('title.data-report-view'),
120
- path: 'data-report-list'
121
- },
122
- owner && {
123
- icon: 'archive',
124
- name: i18next.t('title.data-archive list'),
125
- path: 'data-archive-list'
126
- },
127
- owner && {
128
- name: i18next.t('title.organization'),
129
- type: 'group'
130
- },
131
- owner && {
132
- name: i18next.t('title.organization'),
133
- icon: 'account_tree',
134
- description: '조직 구성과 결재선 관리를 위한 메뉴 구성입니다.',
135
- menus: [
136
- {
137
- name: i18next.t('title.contact list'),
138
- path: 'contact-list'
139
- },
140
- {
141
- name: i18next.t('title.employee list'),
142
- path: 'employee-list'
143
- },
144
- {
145
- name: i18next.t('title.department tree'),
146
- path: 'department-tree'
147
- },
148
- {
149
- name: i18next.t('title.department list'),
150
- path: 'department-list'
151
- },
152
- {
153
- name: i18next.t('title.my-approval-line template list'),
154
- path: 'my-approval-line-templates-page'
155
- },
156
- {
157
- name: i18next.t('title.common-approval-line template list'),
158
- path: 'common-approval-line-templates-page'
159
- }
160
- ]
161
- }
162
- ].filter(Boolean);
163
- }
164
- //# sourceMappingURL=menu.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"menu.js","sourceRoot":"","sources":["../client/menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAC9D,OAAO,OAAO,MAAM,SAAS,CAAA;AAC7B,OAAO,EAAE,uBAAuB,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAA;AAG7G,6BAA6B,EAAE,CAAA;AAE/B,MAAM,UAAU,eAAe,CAAC,QAAiB,KAAK,EAAE,QAAe;IACrE,OAAO;QACL;YACE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,oBAAoB,CAAC;YACrC,IAAI,EAAE,OAAO;SACd;QACD;YACE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,iBAAiB,CAAC;YAClC,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,WAAW;YACjB,KAAK,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,uBAAuB,CAAC,eAAe,CAAC,CAAC;YACnE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC;SAC/C;QACD;YACE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,6BAA6B,CAAC;YAC9C,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,uBAAuB;YAC7B,KAAK,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,uBAAuB,CAAC,0BAA0B,CAAC,CAAC;YAC9E,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC;SAC/C;Q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IAAI;YACP,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,yBAAyB,CAAC;YAC1C,IAAI,EAAE,mBAAmB;SAC1B;QACD,KAAK,IAAI;YACP,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,oBAAoB,CAAC;YACrC,IAAI,EAAE,OAAO;SACd;QACD,KAAK,IAAI;YACP,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,oBAAoB,CAAC;YACrC,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,6BAA6B;YAC1C,KAAK,EAAE;gBACL;oBACE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,oBAAoB,CAAC;oBACrC,IAAI,EAAE,cAAc;iBACrB;gBACD;oBACE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,qBAAqB,CAAC;oBACtC,IAAI,EAAE,eAAe;iBACtB;gBACD;oBACE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,uBAAuB,CAAC;oBACxC,IAAI,EAAE,iBAAiB;iBACxB;gBACD;oBACE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,uBAAuB,CAAC;oBACxC,IAAI,EAAE,iBAAiB;iBACxB;gBACD;oBACE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,sCAAsC,CAAC;oBACvD,IAAI,EAAE,iCAAiC;iBACxC;gBACD;oBACE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,0CAA0C,CAAC;oBAC3D,IAAI,EAAE,qCAAqC;iBAC5C;aACF;SACF;KACF,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;AACnB,CAAC","sourcesContent":["import { asyncReplace } from 'lit/directives/async-replace.js'\nimport i18next from 'i18next'\nimport { generateActivitySummary, startSubscribeActivitySummary } from '@things-factory/worklist/dist-client'\nimport { hasPrivilege } from '@things-factory/auth-base/dist-client'\n\nstartSubscribeActivitySummary()\n\nexport function getMenuTemplate(owner: boolean = false, dataSets: any[]) {\n return [\n {\n name: i18next.t('title.my workspace'),\n type: 'group'\n },\n {\n name: i18next.t('title.todo list'),\n icon: 'things_to_do',\n path: 'todo-list',\n badge: () => asyncReplace(generateActivitySummary('numberOfToDos')),\n active: ({ path }) => /^activity\\//.test(path)\n },\n {\n name: i18next.t('title.approval pending list'),\n icon: 'approval',\n path: 'approval-pending-list',\n badge: () => asyncReplace(generateActivitySummary('numberOfApprovalPendings')),\n active: ({ path }) => /^approval\\//.test(path)\n },\n {\n name: i18next.t('title.draft list'),\n icon: 'drive_file_rename_outline',\n path: 'draft-list',\n badge: () => asyncReplace(generateActivitySummary('numberOfDrafts'))\n },\n {\n name: i18next.t('title.activity starter list'),\n icon: 'rocket_launch',\n path: 'starter-list'\n },\n {\n name: i18next.t('title.done list calendar'),\n icon: 'calendar_month',\n path: 'done-list-calendar',\n description: '업무와 관련된 수행 또는 결재 이력을 캘린더에서 조회할 수 있습니다.',\n menus: [\n {\n name: i18next.t('title.done list'),\n icon: 'history',\n path: 'done-list'\n },\n {\n name: i18next.t('title.approval done list'),\n icon: 'history',\n path: 'approval-done-list'\n }\n ]\n },\n owner && {\n name: 'DATASET',\n type: 'group'\n },\n owner && {\n name: i18next.t('title.data-set list'),\n icon: 'dataset',\n path: 'data-set-list'\n },\n owner && {\n name: i18next.t('title.data-key-set list'),\n icon: 'dataset_linked',\n path: 'data-key-set-list'\n },\n owner && {\n name: i18next.t('title.data-sensor list'),\n icon: 'sensors',\n path: 'data-sensor-list'\n },\n {\n name: 'DATA ENTRY',\n type: 'group'\n },\n {\n icon: 'edit_square',\n name: i18next.t('title.data-entry list'),\n path: 'data-entry-list'\n },\n {\n name: 'DATA REPORT',\n type: 'group'\n },\n owner && {\n name: i18next.t('title.data-sample list'),\n icon: 'rule',\n path: 'data-sample-list',\n menus:\n dataSets.map(item => {\n return {\n name: item.name,\n icon: 'checklist_rtl',\n path: `data-sample-search/${item.id}`\n }\n }) || []\n },\n owner && {\n name: i18next.t('title.data-ooc list'),\n icon: 'error',\n path: 'data-ooc-list'\n },\n owner && {\n name: i18next.t('title.data-summary list'),\n icon: 'functions',\n path: 'data-summary-list',\n menus:\n dataSets\n .filter(item => item.active && item.summaryPeriod)\n .map(item => {\n return {\n name: item.name,\n icon: 'checklist',\n path: `data-summary-period/${item.id}`\n }\n }) || []\n },\n {\n icon: 'newspaper',\n name: i18next.t('title.data-report-view'),\n path: 'data-report-list'\n },\n owner && {\n icon: 'archive',\n name: i18next.t('title.data-archive list'),\n path: 'data-archive-list'\n },\n owner && {\n name: i18next.t('title.organization'),\n type: 'group'\n },\n owner && {\n name: i18next.t('title.organization'),\n icon: 'account_tree',\n description: '조직 구성과 결재선 관리를 위한 메뉴 구성입니다.',\n menus: [\n {\n name: i18next.t('title.contact list'),\n path: 'contact-list'\n },\n {\n name: i18next.t('title.employee list'),\n path: 'employee-list'\n },\n {\n name: i18next.t('title.department tree'),\n path: 'department-tree'\n },\n {\n name: i18next.t('title.department list'),\n path: 'department-list'\n },\n {\n name: i18next.t('title.my-approval-line template list'),\n path: 'my-approval-line-templates-page'\n },\n {\n name: i18next.t('title.common-approval-line template list'),\n path: 'common-approval-line-templates-page'\n }\n ]\n }\n ].filter(Boolean)\n}\n"]}
@@ -1,12 +0,0 @@
1
- export declare function queryDataSets(): Promise<{
2
- id: string;
3
- name: string;
4
- description: string;
5
- active: boolean;
6
- }[]>;
7
- export declare function queryDataKeySets(): Promise<{
8
- id: string;
9
- name: string;
10
- description: string;
11
- active: boolean;
12
- }[]>;
@@ -1,62 +0,0 @@
1
- import gql from 'graphql-tag';
2
- import { client } from '@operato/graphql';
3
- export async function queryDataSets() {
4
- const response = await client.query({
5
- query: gql `
6
- query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
7
- responses: dataSets(filters: $filters, pagination: $pagination, sortings: $sortings) {
8
- items {
9
- id
10
- name
11
- description
12
- active
13
- summaryPeriod
14
- }
15
- total
16
- }
17
- }
18
- `,
19
- variables: {
20
- filters: [
21
- {
22
- name: 'active',
23
- operator: 'eq',
24
- value: true
25
- }
26
- ],
27
- pagination: {},
28
- sortings: []
29
- }
30
- });
31
- return response.data.responses.items;
32
- }
33
- export async function queryDataKeySets() {
34
- const response = await client.query({
35
- query: gql `
36
- query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
37
- responses: dataKeySets(filters: $filters, pagination: $pagination, sortings: $sortings) {
38
- items {
39
- id
40
- name
41
- description
42
- active
43
- }
44
- total
45
- }
46
- }
47
- `,
48
- variables: {
49
- filters: [
50
- {
51
- name: 'active',
52
- operator: 'eq',
53
- value: true
54
- }
55
- ],
56
- pagination: {},
57
- sortings: []
58
- }
59
- });
60
- return response.data.responses.items;
61
- }
62
- //# sourceMappingURL=query-data-sets.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"query-data-sets.js","sourceRoot":"","sources":["../client/query-data-sets.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,aAAa,CAAA;AAC7B,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAEzC,MAAM,CAAC,KAAK,UAAU,aAAa;IACjC,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC;QAClC,KAAK,EAAE,GAAG,CAAA;;;;;;;;;;;;;KAaT;QACD,SAAS,EAAE;YACT,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,QAAQ;oBACd,QAAQ,EAAE,IAAI;oBACd,KAAK,EAAE,IAAI;iBACZ;aACF;YACD,UAAU,EAAE,EAAE;YACd,QAAQ,EAAE,EAAE;SACb;KACF,CAAC,CAAA;IAEF,OAAO,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAA;AACtC,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,gBAAgB;IAGpC,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC;QAClC,KAAK,EAAE,GAAG,CAAA;;;;;;;;;;;;KAYT;QACD,SAAS,EAAE;YACT,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,QAAQ;oBACd,QAAQ,EAAE,IAAI;oBACd,KAAK,EAAE,IAAI;iBACZ;aACF;YACD,UAAU,EAAE,EAAE;YACd,QAAQ,EAAE,EAAE;SACb;KACF,CAAC,CAAA;IAEF,OAAO,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAA;AACtC,CAAC","sourcesContent":["import gql from 'graphql-tag'\nimport { client } from '@operato/graphql'\n\nexport async function queryDataSets(): Promise<{ id: string; name: string; description: string; active: boolean }[]> {\n const response = await client.query({\n query: gql`\n query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {\n responses: dataSets(filters: $filters, pagination: $pagination, sortings: $sortings) {\n items {\n id\n name\n description\n active\n summaryPeriod\n }\n total\n }\n }\n `,\n variables: {\n filters: [\n {\n name: 'active',\n operator: 'eq',\n value: true\n }\n ],\n pagination: {},\n sortings: []\n }\n })\n\n return response.data.responses.items\n}\n\nexport async function queryDataKeySets(): Promise<\n { id: string; name: string; description: string; active: boolean }[]\n> {\n const response = await client.query({\n query: gql`\n query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {\n responses: dataKeySets(filters: $filters, pagination: $pagination, sortings: $sortings) {\n items {\n id\n name\n description\n active\n }\n total\n }\n }\n `,\n variables: {\n filters: [\n {\n name: 'active',\n operator: 'eq',\n value: true\n }\n ],\n pagination: {},\n sortings: []\n }\n })\n\n return response.data.responses.items\n}\n"]}
@@ -1 +0,0 @@
1
- export default function route(page: string): "/todo-list" | undefined;
@@ -1,7 +0,0 @@
1
- export default function route(page) {
2
- switch (page) {
3
- case '':
4
- return '/todo-list';
5
- }
6
- }
7
- //# sourceMappingURL=route.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"route.js","sourceRoot":"","sources":["../client/route.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,IAAY;IACxC,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,EAAE;YACL,OAAO,YAAY,CAAA;IACvB,CAAC;AACH,CAAC","sourcesContent":["export default function route(page: string) {\n switch (page) {\n case '':\n return '/todo-list'\n }\n}\n"]}
@@ -1,51 +0,0 @@
1
- .dark {
2
- --md-sys-color-primary: rgb(159 202 253);
3
- --md-sys-color-surface-tint: rgb(159 202 253);
4
- --md-sys-color-on-primary: rgb(0 50 87);
5
- --md-sys-color-primary-container: rgb(24 73 116);
6
- --md-sys-color-on-primary-container: rgb(209 228 255);
7
- --md-sys-color-secondary: rgb(128 212 213);
8
- --md-sys-color-on-secondary: rgb(0 55 55);
9
- --md-sys-color-secondary-container: rgb(0 79 80);
10
- --md-sys-color-on-secondary-container: rgb(156 241 241);
11
- --md-sys-color-tertiary: rgb(136 209 235);
12
- --md-sys-color-on-tertiary: rgb(0 53 67);
13
- --md-sys-color-tertiary-container: rgb(0 78 96);
14
- --md-sys-color-on-tertiary-container: rgb(182 234 255);
15
- --md-sys-color-error: rgb(255 179 174);
16
- --md-sys-color-on-error: rgb(87 30 28);
17
- --md-sys-color-error-container: rgb(115 51 48);
18
- --md-sys-color-on-error-container: rgb(255 218 215);
19
- --md-sys-color-background: rgb(16 20 24);
20
- --md-sys-color-on-background: rgb(225 226 232);
21
- --md-sys-color-surface: rgb(16 20 24);
22
- --md-sys-color-on-surface: rgb(225 226 232);
23
- --md-sys-color-surface-variant: rgb(66 71 78);
24
- --md-sys-color-on-surface-variant: rgb(195 199 207);
25
- --md-sys-color-outline: rgb(141 145 153);
26
- --md-sys-color-outline-variant: rgb(66 71 78);
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(225 226 232);
30
- --md-sys-color-inverse-on-surface: rgb(46 49 53);
31
- --md-sys-color-inverse-primary: rgb(53 97 142);
32
- --md-sys-color-primary-fixed: rgb(209 228 255);
33
- --md-sys-color-on-primary-fixed: rgb(0 29 53);
34
- --md-sys-color-primary-fixed-dim: rgb(159 202 253);
35
- --md-sys-color-on-primary-fixed-variant: rgb(24 73 116);
36
- --md-sys-color-secondary-fixed: rgb(156 241 241);
37
- --md-sys-color-on-secondary-fixed: rgb(0 32 32);
38
- --md-sys-color-secondary-fixed-dim: rgb(128 212 213);
39
- --md-sys-color-on-secondary-fixed-variant: rgb(0 79 80);
40
- --md-sys-color-tertiary-fixed: rgb(182 234 255);
41
- --md-sys-color-on-tertiary-fixed: rgb(0 31 40);
42
- --md-sys-color-tertiary-fixed-dim: rgb(136 209 235);
43
- --md-sys-color-on-tertiary-fixed-variant: rgb(0 78 96);
44
- --md-sys-color-surface-dim: rgb(16 20 24);
45
- --md-sys-color-surface-bright: rgb(54 57 62);
46
- --md-sys-color-surface-container-lowest: rgb(11 14 19);
47
- --md-sys-color-surface-container-low: rgb(25 28 32);
48
- --md-sys-color-surface-container: rgb(29 32 36);
49
- --md-sys-color-surface-container-high: rgb(39 42 47);
50
- --md-sys-color-surface-container-highest: rgb(50 53 58);
51
- }
@@ -1,51 +0,0 @@
1
- .light {
2
- --md-sys-color-primary: rgb(53 97 142);
3
- --md-sys-color-surface-tint: rgb(53 97 142);
4
- --md-sys-color-on-primary: rgb(255 255 255);
5
- --md-sys-color-primary-container: rgb(209 228 255);
6
- --md-sys-color-on-primary-container: rgb(0 29 53);
7
- --md-sys-color-secondary: rgb(0 105 106);
8
- --md-sys-color-on-secondary: rgb(255 255 255);
9
- --md-sys-color-secondary-container: rgb(156 241 241);
10
- --md-sys-color-on-secondary-container: rgb(0 32 32);
11
- --md-sys-color-tertiary: rgb(6 103 127);
12
- --md-sys-color-on-tertiary: rgb(255 255 255);
13
- --md-sys-color-tertiary-container: rgb(182 234 255);
14
- --md-sys-color-on-tertiary-container: rgb(0 31 40);
15
- --md-sys-color-error: rgb(144 74 70);
16
- --md-sys-color-on-error: rgb(255 255 255);
17
- --md-sys-color-error-container: rgb(255 218 215);
18
- --md-sys-color-on-error-container: rgb(59 9 9);
19
- --md-sys-color-background: rgb(248 249 255);
20
- --md-sys-color-on-background: rgb(25 28 32);
21
- --md-sys-color-surface: rgb(248 249 255);
22
- --md-sys-color-on-surface: rgb(25 28 32);
23
- --md-sys-color-surface-variant: rgb(223 226 235);
24
- --md-sys-color-on-surface-variant: rgb(66 71 78);
25
- --md-sys-color-outline: rgb(115 119 127);
26
- --md-sys-color-outline-variant: rgb(195 199 207);
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(46 49 53);
30
- --md-sys-color-inverse-on-surface: rgb(239 240 247);
31
- --md-sys-color-inverse-primary: rgb(159 202 253);
32
- --md-sys-color-primary-fixed: rgb(209 228 255);
33
- --md-sys-color-on-primary-fixed: rgb(0 29 53);
34
- --md-sys-color-primary-fixed-dim: rgb(159 202 253);
35
- --md-sys-color-on-primary-fixed-variant: rgb(24 73 116);
36
- --md-sys-color-secondary-fixed: rgb(156 241 241);
37
- --md-sys-color-on-secondary-fixed: rgb(0 32 32);
38
- --md-sys-color-secondary-fixed-dim: rgb(128 212 213);
39
- --md-sys-color-on-secondary-fixed-variant: rgb(0 79 80);
40
- --md-sys-color-tertiary-fixed: rgb(182 234 255);
41
- --md-sys-color-on-tertiary-fixed: rgb(0 31 40);
42
- --md-sys-color-tertiary-fixed-dim: rgb(136 209 235);
43
- --md-sys-color-on-tertiary-fixed-variant: rgb(0 78 96);
44
- --md-sys-color-surface-dim: rgb(216 218 224);
45
- --md-sys-color-surface-bright: rgb(248 249 255);
46
- --md-sys-color-surface-container-lowest: rgb(255 255 255);
47
- --md-sys-color-surface-container-low: rgb(242 243 249);
48
- --md-sys-color-surface-container: rgb(236 238 244);
49
- --md-sys-color-surface-container-high: rgb(230 232 238);
50
- --md-sys-color-surface-container-highest: rgb(225 226 232);
51
- }