Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / colors / themes.config.ts
blob6cfd10c4a88f57d0456afd3834fb2cbc7cebb46b
1 export type ThemeFileType = 'light' | 'dark';
3 export interface FileConfig {
4     path: string;
5     type: ThemeFileType;
8 export interface ThemeConfig {
9     output: string;
10     files: FileConfig[];
13 const config: ThemeConfig[] = [
14     {
15         output: './themes/dist/snow.theme.css',
16         files: [
17             {
18                 path: './themes/src/snow/standard-base.css',
19                 type: 'light',
20             },
21         ],
22     },
23     {
24         output: './themes/dist/classic.theme.css',
25         files: [
26             {
27                 path: './themes/src/classic/standard-base.css',
28                 type: 'light',
29             },
30             {
31                 path: './themes/src/classic/prominent-base.css',
32                 type: 'dark',
33             },
34         ],
35     },
36     {
37         output: './themes/dist/carbon.theme.css',
38         files: [
39             {
40                 path: './themes/src/carbon/standard-base.css',
41                 type: 'dark',
42             },
43         ],
44     },
45     {
46         output: './themes/dist/contrast-light.theme.css',
47         files: [
48             {
49                 path: './themes/src/contrast-light/standard-base.css',
50                 type: 'light',
51             },
52         ],
53     },
54     {
55         output: './themes/dist/contrast-dark.theme.css',
56         files: [
57             {
58                 path: './themes/src/contrast-dark/standard-base.css',
59                 type: 'dark',
60             },
61             {
62                 path: './themes/src/contrast-dark/prominent-base.css',
63                 type: 'dark',
64             },
65         ],
66     },
67     {
68         output: './themes/dist/duotone.theme.css',
69         files: [
70             {
71                 path: './themes/src/duotone/standard-base.css',
72                 type: 'light',
73             },
74             {
75                 path: './themes/src/duotone/prominent-base.css',
76                 type: 'dark',
77             },
78         ],
79     },
80     {
81         output: './themes/dist/legacy.theme.css',
82         files: [
83             {
84                 path: './themes/src/legacy/standard-base.css',
85                 type: 'light',
86             },
87             {
88                 path: './themes/src/legacy/prominent-base.css',
89                 type: 'dark',
90             },
91         ],
92     },
93     {
94         output: './themes/dist/monokai.theme.css',
95         files: [
96             {
97                 path: './themes/src/monokai/standard-base.css',
98                 type: 'dark',
99             },
100         ],
101     },
102     {
103         output: './themes/dist/pass-dark.theme.css',
104         files: [
105             {
106                 path: './themes/src/pass-dark/standard-base.css',
107                 type: 'dark',
108             },
109             {
110                 path: './themes/src/pass-dark/violet-base.css',
111                 type: 'dark',
112             },
113             {
114                 path: './themes/src/pass-dark/teal-base.css',
115                 type: 'dark',
116             },
117             {
118                 path: './themes/src/pass-dark/orange-base.css',
119                 type: 'dark',
120             },
121             {
122                 path: './themes/src/pass-dark/red-base.css',
123                 type: 'dark',
124             },
125             {
126                 path: './themes/src/pass-dark/lime-base.css',
127                 type: 'dark',
128             },
129         ],
130     },
131     {
132         output: './themes/dist/pass-light.theme.css',
133         files: [
134             {
135                 path: './themes/src/pass-light/standard-base.css',
136                 type: 'light',
137             },
138             {
139                 path: './themes/src/pass-light/violet-base.css',
140                 type: 'light',
141             },
142             {
143                 path: './themes/src/pass-light/teal-base.css',
144                 type: 'light',
145             },
146             {
147                 path: './themes/src/pass-light/orange-base.css',
148                 type: 'light',
149             },
150             {
151                 path: './themes/src/pass-light/red-base.css',
152                 type: 'light',
153             },
154             {
155                 path: './themes/src/pass-light/lime-base.css',
156                 type: 'light',
157             },
158         ],
159     },
160     {
161         output: './themes/dist/storefront.theme.css',
162         files: [
163             {
164                 path: './themes/src/storefront/standard-base.css',
165                 type: 'light',
166             },
167             {
168                 path: './themes/src/storefront/prominent-base.css',
169                 type: 'dark',
170             },
171         ],
172     },
173     {
174         output: './themes/dist/wallet.theme.css',
175         files: [
176             {
177                 path: './themes/src/wallet/light-base.css',
178                 type: 'light',
179             },
180             {
181                 path: './themes/src/wallet/ui-blue.css',
182                 type: 'light',
183             },
184             {
185                 path: './themes/src/wallet/ui-green.css',
186                 type: 'light',
187             },
188             {
189                 path: './themes/src/wallet/ui-orange.css',
190                 type: 'light',
191             },
192             {
193                 path: './themes/src/wallet/ui-pink.css',
194                 type: 'light',
195             },
196             {
197                 path: './themes/src/wallet/ui-purple.css',
198                 type: 'light',
199             },
200         ],
201     },
202     {
203         output: './themes/dist/storefront-wallet.theme.css',
204         files: [
205             {
206                 path: './themes/src/storefront-wallet/standard-base.css',
207                 type: 'light',
208             },
209         ],
210     },
213 export default config;