@youversion/platform-core 1.21.0 → 1.22.0
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.
- package/.turbo/turbo-build.log +6 -6
- package/AGENTS.md +18 -7
- package/CHANGELOG.md +6 -0
- package/package.json +2 -1
- package/src/styles/bible-reader.css +1515 -0
- package/src/styles/fonts.css +5 -0
- package/src/styles/index.css +3 -0
- package/src/styles/theme.css +300 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Note: If you import this CSS file into another CSS file, you cannot
|
|
3
|
+
* import this into a layer since @import is not supported inside layers
|
|
4
|
+
*/
|
|
5
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Source+Serif+4:wght@400;700&display=swap');
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
/* Colors sourced from YV Brand Library in Figma */
|
|
2
|
+
|
|
3
|
+
[data-yv-sdk] {
|
|
4
|
+
/* Brand colors */
|
|
5
|
+
--yv-red: oklch(from #ff3d4d l c h);
|
|
6
|
+
--yv-red-dark-mode: oklch(from #f04c59 l c h);
|
|
7
|
+
--yv-warm-neutral: oklch(from #f6efee l c h);
|
|
8
|
+
--yv-warm-neutral-dm: oklch(from #373231 l c h);
|
|
9
|
+
|
|
10
|
+
/* Expressive palette */
|
|
11
|
+
--yv-orange-10: oklch(from #faeceb l c h);
|
|
12
|
+
--yv-orange-20: oklch(from #e59f9a l c h);
|
|
13
|
+
--yv-orange-30-dm: oklch(from #f23b22 l c h);
|
|
14
|
+
--yv-orange-30: oklch(from #ca3e35 l c h);
|
|
15
|
+
--yv-orange-40: oklch(from #7a2629 l c h);
|
|
16
|
+
--yv-orange-50: oklch(from #3d1310 l c h);
|
|
17
|
+
|
|
18
|
+
--yv-teal-10: oklch(from #e6f2f3 l c h);
|
|
19
|
+
--yv-teal-20: oklch(from #80bdc4 l c h);
|
|
20
|
+
--yv-teal-30-dm: oklch(from #00909f l c h);
|
|
21
|
+
--yv-teal-30: oklch(from #007b89 l c h);
|
|
22
|
+
--yv-teal-40: oklch(from #004a52 l c h);
|
|
23
|
+
--yv-teal-50: oklch(from #002529 l c h);
|
|
24
|
+
|
|
25
|
+
--yv-green-10: oklch(from #eef6f0 l c h);
|
|
26
|
+
--yv-green-20: oklch(from #abd0b6 l c h);
|
|
27
|
+
--yv-green-30-dm: oklch(from #4aae67 l c h);
|
|
28
|
+
--yv-green-30: oklch(from #57a16c l c h);
|
|
29
|
+
--yv-green-40: oklch(from #346148 l c h);
|
|
30
|
+
--yv-green-50: oklch(from #1a3026 l c h);
|
|
31
|
+
|
|
32
|
+
--yv-purple-10: oklch(from #f2eef3 l c h);
|
|
33
|
+
--yv-purple-20: oklch(from #bca8c5 l c h);
|
|
34
|
+
--yv-purple-30-dm: oklch(from #8c51a6 l c h);
|
|
35
|
+
--yv-purple-30: oklch(from #79518a l c h);
|
|
36
|
+
--yv-purple-40: oklch(from #483550 l c h);
|
|
37
|
+
--yv-purple-50: oklch(from #241829 l c h);
|
|
38
|
+
|
|
39
|
+
--yv-magenta-10: oklch(from #f5eaee l c h);
|
|
40
|
+
--yv-magenta-20: oklch(from #cc96aa l c h);
|
|
41
|
+
--yv-magenta-30-dm: oklch(from #c3235f l c h);
|
|
42
|
+
--yv-magenta-30: oklch(from #992c55 l c h);
|
|
43
|
+
--yv-magenta-40: oklch(from #5c1a33 l c h);
|
|
44
|
+
--yv-magenta-50: oklch(from #2e0d19 l c h);
|
|
45
|
+
|
|
46
|
+
--yv-yellow-10: oklch(from #fef5eb l c h);
|
|
47
|
+
--yv-yellow-20: oklch(from #f8cb94 l c h);
|
|
48
|
+
--yv-yellow-30-dm: oklch(from #ffc24a l c h);
|
|
49
|
+
--yv-yellow-30: oklch(from #f19c33 l c h);
|
|
50
|
+
--yv-yellow-35: oklch(from #ce801f l c h);
|
|
51
|
+
--yv-yellow-40: oklch(from #975c11 l c h);
|
|
52
|
+
--yv-yellow-50: oklch(from #4c2d08 l c h);
|
|
53
|
+
|
|
54
|
+
--yv-blue-10: oklch(from #e7f2fd l c h);
|
|
55
|
+
--yv-blue-20: oklch(from #9ebce1 l c h);
|
|
56
|
+
--yv-blue-30-dm: oklch(from #2a85f4 l c h);
|
|
57
|
+
--yv-blue-30: oklch(from #3d79c2 l c h);
|
|
58
|
+
--yv-blue-40: oklch(from #29537a l c h);
|
|
59
|
+
--yv-blue-50: oklch(from #1c2a3b l c h);
|
|
60
|
+
--yv-blue-60: oklch(from #080e17 l c h);
|
|
61
|
+
|
|
62
|
+
/* Grayscale palette */
|
|
63
|
+
--yv-white: #ffffff;
|
|
64
|
+
--yv-gray-2: #fcfafa;
|
|
65
|
+
--yv-gray-5: #f6f4f4;
|
|
66
|
+
--yv-gray-10: #edebeb;
|
|
67
|
+
--yv-gray-15: #dddbdb;
|
|
68
|
+
--yv-gray-20: #bfbdbd;
|
|
69
|
+
--yv-gray-25: #828080;
|
|
70
|
+
--yv-gray-30: #636161;
|
|
71
|
+
--yv-gray-35: #474545;
|
|
72
|
+
--yv-gray-40: #353333;
|
|
73
|
+
--yv-gray-45: #232121;
|
|
74
|
+
--yv-gray-48: #1c1a1a;
|
|
75
|
+
--yv-gray-50: #121212;
|
|
76
|
+
|
|
77
|
+
--yv-background: var(--yv-white);
|
|
78
|
+
--yv-foreground: var(--yv-gray-50);
|
|
79
|
+
--yv-card: var(--yv-gray-2);
|
|
80
|
+
--yv-card-foreground: var(--yv-gray-50);
|
|
81
|
+
--yv-popover: var(--yv-white);
|
|
82
|
+
--yv-popover-foreground: var(--yv-gray-50);
|
|
83
|
+
--yv-primary: var(--yv-gray-50);
|
|
84
|
+
--yv-primary-foreground: var(--yv-white);
|
|
85
|
+
--yv-secondary: var(--yv-warm-neutral);
|
|
86
|
+
--yv-secondary-foreground: var(--yv-gray-50);
|
|
87
|
+
--yv-muted: var(--yv-gray-5);
|
|
88
|
+
--yv-muted-foreground: var(--yv-gray-30);
|
|
89
|
+
--yv-accent: var(--yv-gray-5);
|
|
90
|
+
--yv-accent-foreground: var(--yv-gray-50);
|
|
91
|
+
--yv-destructive: var(--yv-red);
|
|
92
|
+
--yv-destructive-foreground: var(--yv-white);
|
|
93
|
+
--yv-border: var(--yv-gray-15);
|
|
94
|
+
--yv-input: var(--yv-gray-5);
|
|
95
|
+
--yv-ring: var(--yv-blue-30);
|
|
96
|
+
--yv-chart-1: var(--yv-blue-30);
|
|
97
|
+
--yv-chart-2: var(--yv-green-30);
|
|
98
|
+
--yv-chart-3: var(--yv-purple-30);
|
|
99
|
+
--yv-chart-4: var(--yv-orange-30);
|
|
100
|
+
--yv-chart-5: var(--yv-magenta-30);
|
|
101
|
+
--yv-radius: 2rem;
|
|
102
|
+
--yv-sidebar: var(--yv-gray-2);
|
|
103
|
+
--yv-sidebar-foreground: var(--yv-gray-50);
|
|
104
|
+
--yv-sidebar-primary: var(--yv-teal-30);
|
|
105
|
+
--yv-sidebar-primary-foreground: var(--yv-white);
|
|
106
|
+
--yv-sidebar-accent: var(--yv-gray-5);
|
|
107
|
+
--yv-sidebar-accent-foreground: var(--yv-gray-50);
|
|
108
|
+
--yv-sidebar-border: var(--yv-gray-15);
|
|
109
|
+
--yv-sidebar-ring: var(--yv-blue-30);
|
|
110
|
+
|
|
111
|
+
--yv-font-sans: 'Inter', sans-serif;
|
|
112
|
+
--yv-font-serif: 'Source Serif 4', serif;
|
|
113
|
+
--yv-reader-font-family: var(--yv-font-serif), var(--yv-font-sans);
|
|
114
|
+
|
|
115
|
+
&[data-yv-theme='dark'] {
|
|
116
|
+
/* Brand colors - Dark theme */
|
|
117
|
+
--yv-background: var(--yv-gray-50);
|
|
118
|
+
--yv-foreground: var(--yv-white);
|
|
119
|
+
--yv-card: var(--yv-gray-45);
|
|
120
|
+
--yv-card-foreground: var(--yv-white);
|
|
121
|
+
--yv-popover: var(--yv-gray-48);
|
|
122
|
+
--yv-popover-foreground: var(--yv-white);
|
|
123
|
+
--yv-primary: var(--yv-red-dark-mode);
|
|
124
|
+
--yv-primary-foreground: var(--yv-white);
|
|
125
|
+
--yv-secondary: var(--yv-warm-neutral-dm);
|
|
126
|
+
--yv-secondary-foreground: var(--yv-white);
|
|
127
|
+
--yv-muted: var(--yv-gray-40);
|
|
128
|
+
--yv-muted-foreground: var(--yv-gray-10);
|
|
129
|
+
--yv-accent: var(--yv-gray-30);
|
|
130
|
+
--yv-accent-foreground: var(--yv-gray-2);
|
|
131
|
+
--yv-destructive: var(--yv-red);
|
|
132
|
+
--yv-destructive-foreground: var(--yv-white);
|
|
133
|
+
--yv-border: var(--yv-gray-35);
|
|
134
|
+
--yv-input: var(--yv-gray-40);
|
|
135
|
+
--yv-ring: var(--yv-blue-30-dm);
|
|
136
|
+
--yv-chart-1: var(--yv-blue-30-dm);
|
|
137
|
+
--yv-chart-2: var(--yv-green-30-dm);
|
|
138
|
+
--yv-chart-3: var(--yv-purple-30-dm);
|
|
139
|
+
--yv-chart-4: var(--yv-orange-30-dm);
|
|
140
|
+
--yv-chart-5: var(--yv-magenta-30-dm);
|
|
141
|
+
--yv-sidebar: var(--yv-gray-48);
|
|
142
|
+
--yv-sidebar-foreground: var(--yv-white);
|
|
143
|
+
--yv-sidebar-primary: var(--yv-teal-30-dm);
|
|
144
|
+
--yv-sidebar-primary-foreground: var(--yv-white);
|
|
145
|
+
--yv-sidebar-accent: var(--yv-gray-40);
|
|
146
|
+
--yv-sidebar-accent-foreground: var(--yv-white);
|
|
147
|
+
--yv-sidebar-border: var(--yv-gray-35);
|
|
148
|
+
--yv-sidebar-ring: var(--yv-blue-30-dm);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/*
|
|
153
|
+
* :where() is a CSS pseudo-class that drops the specificity of
|
|
154
|
+
* everything inside it to zero (0,0,0,0). The selectors still
|
|
155
|
+
* match, but they never win a specificity fight. This is desired.
|
|
156
|
+
*/
|
|
157
|
+
:where([data-yv-sdk]) {
|
|
158
|
+
*,
|
|
159
|
+
::after,
|
|
160
|
+
::before,
|
|
161
|
+
::backdrop,
|
|
162
|
+
::file-selector-button {
|
|
163
|
+
font: inherit;
|
|
164
|
+
font-family: var(--yv-font-sans);
|
|
165
|
+
box-sizing: border-box;
|
|
166
|
+
margin: 0;
|
|
167
|
+
padding: 0;
|
|
168
|
+
border: 0 solid;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
line-height: 1.5;
|
|
172
|
+
-webkit-text-size-adjust: 100%;
|
|
173
|
+
tab-size: 4;
|
|
174
|
+
-webkit-tap-highlight-color: transparent;
|
|
175
|
+
|
|
176
|
+
hr {
|
|
177
|
+
height: 0;
|
|
178
|
+
color: inherit;
|
|
179
|
+
border-top-width: 1px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
abbr:where([title]) {
|
|
183
|
+
-webkit-text-decoration: underline dotted;
|
|
184
|
+
text-decoration: underline dotted;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
h1,
|
|
188
|
+
h2,
|
|
189
|
+
h3,
|
|
190
|
+
h4,
|
|
191
|
+
h5,
|
|
192
|
+
h6 {
|
|
193
|
+
font-size: inherit;
|
|
194
|
+
font-weight: inherit;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
a {
|
|
198
|
+
color: inherit;
|
|
199
|
+
-webkit-text-decoration: inherit;
|
|
200
|
+
text-decoration: inherit;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
b,
|
|
204
|
+
strong {
|
|
205
|
+
font-weight: bolder;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
code,
|
|
209
|
+
kbd,
|
|
210
|
+
samp,
|
|
211
|
+
pre {
|
|
212
|
+
font-family: var(--yv-font-sans);
|
|
213
|
+
font-size: 1em;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
small {
|
|
217
|
+
font-size: 80%;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
sub,
|
|
221
|
+
sup {
|
|
222
|
+
font-size: 75%;
|
|
223
|
+
line-height: 0;
|
|
224
|
+
position: relative;
|
|
225
|
+
vertical-align: baseline;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
sub {
|
|
229
|
+
bottom: -0.25em;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
sup {
|
|
233
|
+
top: -0.5em;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
table {
|
|
237
|
+
text-indent: 0;
|
|
238
|
+
border-color: inherit;
|
|
239
|
+
border-collapse: collapse;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
ol,
|
|
243
|
+
ul,
|
|
244
|
+
menu {
|
|
245
|
+
list-style: none;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
img,
|
|
249
|
+
svg,
|
|
250
|
+
video,
|
|
251
|
+
canvas,
|
|
252
|
+
audio,
|
|
253
|
+
iframe,
|
|
254
|
+
embed,
|
|
255
|
+
object {
|
|
256
|
+
display: block;
|
|
257
|
+
vertical-align: middle;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
img,
|
|
261
|
+
video {
|
|
262
|
+
max-width: 100%;
|
|
263
|
+
height: auto;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
button,
|
|
267
|
+
input,
|
|
268
|
+
select,
|
|
269
|
+
optgroup,
|
|
270
|
+
textarea,
|
|
271
|
+
::file-selector-button {
|
|
272
|
+
font: inherit;
|
|
273
|
+
font-family: var(--yv-font-sans);
|
|
274
|
+
font-feature-settings: inherit;
|
|
275
|
+
font-variation-settings: inherit;
|
|
276
|
+
letter-spacing: inherit;
|
|
277
|
+
color: inherit;
|
|
278
|
+
border-radius: 0;
|
|
279
|
+
background-color: transparent;
|
|
280
|
+
opacity: 1;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
::placeholder {
|
|
284
|
+
opacity: 1;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
textarea {
|
|
288
|
+
resize: vertical;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
button,
|
|
292
|
+
input:where([type='button'], [type='reset'], [type='submit']),
|
|
293
|
+
::file-selector-button {
|
|
294
|
+
appearance: button;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
[hidden]:where(:not([hidden='until-found'])) {
|
|
298
|
+
display: none !important;
|
|
299
|
+
}
|
|
300
|
+
}
|