Repository navigation
Expand file tree
/
Copy pathtypes.d.ts
More file actions
95 lines (88 loc) · 1.45 KB
/
Copy pathtypes.d.ts
File metadata and controls
95 lines (88 loc) · 1.45 KB
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
export interface Config {
fileExtensions: any[string]
directories: any[string]
input: string[]
output: string
screens: {
[key: string]: {[key: string]: number}
},
variables: {
[key: string]: string
}
}
export interface MediaQueries {
[key: string]: {
parent: string
value: any[]
}
}
export interface DynamicClasses {
[key: string]: {
property: string
value: string
pseudoClass: string | null
}
}
export interface modeAttributes {
"style-dark": string[]
"style-light": string[]
}
export interface modeStyle { // One exists for style-dark and one for style-light
[key: string]: string[]
}
export interface pseudoThemeClasses {
[key: string]: [string] | string[]
}
export interface BaseStyle {
[key: string]: string[]
}
type approvedPseudoClasses =
'active'|
'any'|
'any-link'|
'checked'|
'default'|
'defined'|
'dir'|
'disabled'|
'empty'|
'enabled'|
'first'|
'first-child'|
'first-of-type'|
'fullscreen'|
'focus'|
'focus-visible'|
'focus-within'|
'has'|
'hover'|
'indeterminate'|
'in-range'|
'invalid'|
'lang'|
'last-child'|
'last-of-type'|
'link'|
'not'|
'nth-child'|
'nth-last-child'|
'nth-last-of-type'|
'nth-of-type'|
'only-child'|
'only-of-type'|
'optional'|
'out-of-range'|
'placeholder-shown'|
'read-only'|
'read-write'|
'required'|
'root'|
'scope'|
'target'|
'target-within'|
'user-invalid'|
'valid'|
'visited'|
// Logical Combinations
'is'|
'where'