-
-
Notifications
You must be signed in to change notification settings - Fork 383
/
Copy pathstyle.css
170 lines (130 loc) · 5.57 KB
/
style.css
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
159
160
161
162
163
164
165
166
167
168
169
170
:root,
:root[data-theme='light'] {
--wp-background-100: theme('colors.white');
--wp-background-200: theme('colors.gray.100');
--wp-background-300: theme('colors.gray.200');
--wp-background-400: theme('colors.gray.300');
--wp-text-100: theme('colors.gray.600');
--wp-text-200: theme('colors.gray.700');
--wp-text-alt-100: theme('colors.gray.500');
--wp-primary-100: theme('colors.int-wp-primary.300');
--wp-primary-200: theme('colors.int-wp-primary.400');
--wp-primary-300: theme('colors.int-wp-primary.500');
--wp-primary-text-100: theme('colors.white');
--wp-control-neutral-100: theme('colors.white');
--wp-control-neutral-200: theme('colors.gray.300');
--wp-control-neutral-300: theme('colors.gray.400');
--wp-control-info-100: theme('colors.int-wp-control-info.100');
--wp-control-info-200: theme('colors.int-wp-control-info.200');
--wp-control-info-300: theme('colors.int-wp-control-info.300');
--wp-control-ok-100: theme('colors.int-wp-control-ok.100');
--wp-control-ok-200: theme('colors.int-wp-control-ok.200');
--wp-control-ok-300: theme('colors.int-wp-control-ok.300');
--wp-error-100: theme('colors.int-wp-error.100');
--wp-error-200: theme('colors.int-wp-error.200');
--wp-error-300: theme('colors.int-wp-error.300');
--wp-state-neutral-100: theme('colors.int-wp-state-neutral.100');
--wp-state-ok-100: theme('colors.int-wp-state-ok.100');
--wp-state-info-100: theme('colors.int-wp-state-info.100');
--wp-state-warn-100: theme('colors.int-wp-state-warn.100');
--wp-hint-warn-100: theme('colors.int-wp-hint-warn.100');
--wp-hint-warn-200: theme('colors.int-wp-hint-warn.200');
--wp-code-inline-100: theme('colors.gray.200');
--wp-code-inline-200: theme('colors.gray.200');
--wp-code-inline-text-100: theme('colors.gray.600');
--wp-code-100: theme('colors.int-wp-secondary.300');
--wp-code-200: theme('colors.int-wp-secondary.600');
--wp-code-300: theme('colors.int-wp-secondary.600');
--wp-code-text-100: theme('colors.gray.200');
--wp-code-text-alt-100: theme('colors.gray.300');
--wp-link-100: theme('colors.blue.600');
--wp-link-200: theme('colors.blue.700');
}
:root[data-theme='dark'] {
--wp-background-100: theme('colors.int-wp-secondary.300');
--wp-background-200: theme('colors.int-wp-secondary.400');
--wp-background-300: theme('colors.int-wp-secondary.500');
--wp-background-400: theme('colors.int-wp-secondary.600');
--wp-text-100: theme('colors.gray.300');
--wp-text-200: theme('colors.gray.200');
--wp-text-alt-100: theme('colors.gray.400');
--wp-primary-100: theme('colors.int-wp-secondary.300');
--wp-primary-200: theme('colors.int-wp-secondary.400');
--wp-primary-300: theme('colors.int-wp-secondary.600');
--wp-primary-text-100: theme('colors.gray.300');
--wp-control-neutral-100: theme('colors.int-wp-secondary.300');
--wp-control-neutral-200: theme('colors.int-wp-secondary.600');
--wp-control-neutral-300: theme('colors.int-wp-secondary.700');
--wp-control-info-100: theme('colors.int-wp-control-info-dark.100');
--wp-control-info-200: theme('colors.int-wp-control-info-dark.200');
--wp-control-info-300: theme('colors.int-wp-control-info-dark.300');
--wp-control-ok-100: theme('colors.int-wp-control-ok-dark.100');
--wp-control-ok-200: theme('colors.int-wp-control-ok-dark.200');
--wp-control-ok-300: theme('colors.int-wp-control-ok-dark.300');
--wp-error-100: theme('colors.int-wp-error.200');
--wp-error-200: theme('colors.int-wp-error.300');
--wp-error-300: theme('colors.int-wp-error.300');
--wp-state-neutral-100: theme('colors.int-wp-state-neutral.100');
--wp-state-ok-100: theme('colors.int-wp-state-ok-dark.100');
--wp-state-info-100: theme('colors.int-wp-state-info-dark.100');
--wp-state-warn-100: theme('colors.int-wp-state-warn-dark.100');
--wp-hint-warn-100: theme('colors.int-wp-hint-warn-dark.100');
--wp-hint-warn-200: theme('colors.int-wp-hint-warn-dark.200');
--wp-code-inline-100: theme('colors.int-wp-secondary.700');
--wp-code-inline-200: theme('colors.int-wp-secondary.300');
--wp-code-inline-text-100: theme('colors.gray.300');
--wp-code-100: theme('colors.int-wp-secondary.700'); /* #222631 */
--wp-code-200: theme('colors.int-wp-secondary.600'); /* #2a2e3a */
--wp-code-300: theme('colors.int-wp-secondary.800'); /* #1B1F28 */
--wp-code-text-100: theme('colors.gray.200');
--wp-code-text-alt-100: theme('colors.gray.400');
--wp-link-100: theme('colors.blue.400');
--wp-link-200: theme('colors.blue.500');
}
html,
body,
#app {
width: 100%;
height: 100%;
}
.vue-notification {
@apply rounded-md border-l-4 text-base;
}
.vue-notification .notification-title {
@apply text-base font-normal;
}
.vue-notification.success {
@apply !border-l-wp-control-ok-300 !bg-wp-control-ok-100;
}
.vue-notification.error {
@apply !border-l-wp-error-200 !bg-wp-error-100;
}
*::-webkit-scrollbar {
@apply h-3 w-3 bg-transparent;
}
* {
scrollbar-width: thin;
}
*::-webkit-scrollbar-thumb {
transition: background 0.2s ease-in-out;
border: 3px solid transparent;
@apply rounded-full bg-gray-200 bg-clip-content dark:bg-wp-background-200;
}
*::-webkit-scrollbar-thumb:hover {
@apply bg-gray-300 dark:bg-wp-background-100;
}
*::-webkit-scrollbar-corner {
@apply bg-transparent;
}
.code-box {
@apply break-words rounded-md bg-wp-code-inline-100 p-4 text-sm text-wp-code-inline-text-100;
white-space: pre-wrap;
}
.code-box-inline,
code:not(pre > code) {
@apply rounded-md bg-wp-code-inline-100 px-1.5 py-0.5 text-wp-code-inline-text-100;
}
.code-box-log {
@apply break-words bg-wp-code-300 p-4 text-wp-code-text-100;
white-space: pre-wrap;
}