-
Notifications
You must be signed in to change notification settings - Fork 44
/
themes.config.ts
158 lines (157 loc) · 5.18 KB
/
themes.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
import type {TokenBuildInput} from '../src/types/tokenBuildInput.js'
export const themes: TokenBuildInput[] = [
{
filename: 'light',
theme: 'light',
source: [
`src/tokens/functional/shadow/light.json5`,
`src/tokens/functional/border/*.json5`,
`src/tokens/component/*.json5`,
`src/tokens/functional/color/*.json5`,
`src/tokens/functional/color/light/*.json5`,
],
include: [
`src/tokens/functional/size/border.json5`,
`src/tokens/base/color/light/light.json5`,
`src/tokens/base/color/light/display-light.json5`,
],
},
{
filename: 'light-tritanopia',
theme: 'light-tritanopia',
source: [
`src/tokens/functional/shadow/light.json5`,
`src/tokens/functional/border/*.json5`,
`src/tokens/component/*.json5`,
`src/tokens/functional/color/*.json5`,
`src/tokens/functional/color/light/*.json5`,
`src/tokens/functional/color/light/overrides/light.tritanopia.json5`,
],
include: [
`src/tokens/functional/size/border.json5`,
`src/tokens/base/color/light/light.json5`,
`src/tokens/base/color/light/display-light.json5`,
],
},
{
filename: 'light-colorblind',
theme: 'light-protanopia-deuteranopia',
source: [
`src/tokens/functional/shadow/light.json5`,
`src/tokens/functional/border/*.json5`,
`src/tokens/component/*.json5`,
`src/tokens/functional/color/*.json5`,
`src/tokens/functional/color/light/*.json5`,
`src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5`,
],
include: [
`src/tokens/functional/size/border.json5`,
`src/tokens/base/color/light/light.json5`,
`src/tokens/base/color/light/display-light.json5`,
],
},
{
filename: 'light-high-contrast',
theme: 'light-high-contrast',
source: [
`src/tokens/functional/shadow/light.json5`,
`src/tokens/functional/border/*.json5`,
`src/tokens/component/*.json5`,
`src/tokens/functional/color/*.json5`,
`src/tokens/functional/color/light/*.json5`,
`src/tokens/functional/color/light/overrides/light.high-contrast.json5`,
],
include: [
`src/tokens/functional/size/border.json5`,
`src/tokens/base/color/light/light.json5`,
`src/tokens/base/color/light/light.high-contrast.json5`,
`src/tokens/base/color/light/display-light.json5`,
],
},
{
filename: 'dark',
theme: 'dark',
source: [
`src/tokens/functional/shadow/dark.json5`,
`src/tokens/functional/border/*.json5`,
`src/tokens/component/*.json5`,
`src/tokens/functional/color/*.json5`,
`src/tokens/functional/color/dark/*.json5`,
],
include: [
`src/tokens/functional/size/border.json5`,
`src/tokens/base/color/dark/dark.json5`,
`src/tokens/base/color/dark/display-dark.json5`,
],
},
{
filename: 'dark-dimmed',
theme: 'dark-dimmed',
source: [
`src/tokens/functional/shadow/dark.json5`,
`src/tokens/functional/border/*.json5`,
`src/tokens/component/*.json5`,
`src/tokens/functional/color/*.json5`,
`src/tokens/functional/color/dark/*.json5`,
`src/tokens/functional/color/dark/overrides/dark.dimmed.json5`,
],
include: [
`src/tokens/functional/size/border.json5`,
`src/tokens/base/color/dark/dark.json5`,
`src/tokens/base/color/dark/dark.dimmed.json5`,
`src/tokens/base/color/dark/display-dark.json5`,
],
},
{
filename: 'dark-tritanopia',
theme: 'dark-tritanopia',
source: [
`src/tokens/functional/shadow/dark.json5`,
`src/tokens/functional/border/*.json5`,
`src/tokens/component/*.json5`,
`src/tokens/functional/color/*.json5`,
`src/tokens/functional/color/dark/*.json5`,
`src/tokens/functional/color/dark/overrides/dark.tritanopia.json5`,
],
include: [
`src/tokens/functional/size/border.json5`,
`src/tokens/base/color/dark/dark.json5`,
`src/tokens/base/color/dark/display-dark.json5`,
],
},
{
filename: 'dark-colorblind',
theme: 'dark-protanopia-deuteranopia',
source: [
`src/tokens/functional/shadow/dark.json5`,
`src/tokens/functional/border/*.json5`,
`src/tokens/component/*.json5`,
`src/tokens/functional/color/*.json5`,
`src/tokens/functional/color/dark/*.json5`,
`src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5`,
],
include: [
`src/tokens/functional/size/border.json5`,
`src/tokens/base/color/dark/dark.json5`,
`src/tokens/base/color/dark/display-dark.json5`,
],
},
{
filename: 'dark-high-contrast',
theme: 'dark-high-contrast',
source: [
`src/tokens/functional/shadow/dark.json5`,
`src/tokens/functional/border/*.json5`,
`src/tokens/component/*.json5`,
`src/tokens/functional/color/*.json5`,
`src/tokens/functional/color/dark/*.json5`,
`src/tokens/functional/color/dark/overrides/dark.high-contrast.json5`,
],
include: [
`src/tokens/functional/size/border.json5`,
`src/tokens/base/color/dark/dark.json5`,
`src/tokens/base/color/dark/dark.high-contrast.json5`,
`src/tokens/base/color/dark/display-dark.json5`,
],
},
]