@novely/solid-renderer 0.2.4 → 0.4.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.
@@ -1,26 +1,38 @@
1
+ /* src/styles/global/global.css */
2
+ canvas,
3
+ img {
4
+ -webkit-user-select: none;
5
+ user-select: none;
6
+ -webkit-tap-highlight-color: #0000;
7
+ -webkit-tap-highlight-color: transparent;
8
+ -webkit-touch-callout: none;
9
+ }
10
+
11
+ /* src/styles/global/index.css */
12
+
1
13
  /* src/styles/root/root.css */
2
14
  .root {
15
+ background-repeat: var(--novely-root-background-repeat, no-repeat);
16
+ background-position: var(--novely-root-background-position, center);
17
+ background-size: var(--novely-root-background-size, cover);
3
18
  width: 100vw;
4
19
  height: 100vh;
5
- font-size: 1rem;
6
20
  font-family:
7
21
  ui-sans-serif,
8
22
  system-ui,
9
23
  -apple-system,
10
24
  BlinkMacSystemFont,
11
- "Segoe UI",
25
+ Segoe UI,
12
26
  Roboto,
13
- "Helvetica Neue",
27
+ Helvetica Neue,
14
28
  Arial,
15
- "Noto Sans",
29
+ Noto Sans,
16
30
  sans-serif,
17
- "Apple Color Emoji",
18
- "Segoe UI Emoji",
19
- "Segoe UI Symbol",
20
- "Noto Color Emoji";
21
- background-repeat: var(--novely-root-background-repeat, no-repeat);
22
- background-position: var(--novely-root-background-position, center);
23
- background-size: var(--novely-root-background-size, cover);
31
+ Apple Color Emoji,
32
+ Segoe UI Emoji,
33
+ Segoe UI Symbol,
34
+ Noto Color Emoji;
35
+ font-size: 1rem;
24
36
  }
25
37
  .root,
26
38
  .root * {
@@ -34,42 +46,43 @@
34
46
  background-color: var(--novely-button-background-color, #ffe9f3);
35
47
  border: 4px solid var(--novely-button-border-color, #ffc7df);
36
48
  color: var(--novely-button-color, #000);
37
- margin: 0.4rem 0;
38
- padding: 0.4rem;
39
- font-size: 1.02rem;
40
- line-height: 1.2;
41
49
  cursor: pointer;
50
+ -webkit-user-select: none;
42
51
  user-select: none;
43
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
52
+ -webkit-tap-highlight-color: #0000;
44
53
  -webkit-tap-highlight-color: transparent;
45
54
  -webkit-touch-callout: none;
55
+ margin: .4rem 0;
56
+ padding: .4rem;
57
+ font-size: 1.02rem;
58
+ line-height: 1.2;
46
59
  }
47
60
  .button:hover {
48
- background-color: var(--novely-button-hover-background-color, #ffffff);
61
+ background-color: var(--novely-button-hover-background-color, #fff);
49
62
  border-color: var(--novely-button-hover-border-color, #ffc6d8);
50
63
  color: var(--novely-button-hover-color, #ffb7a2);
51
64
  }
52
65
  .button[aria-disabled=true] {
53
66
  cursor: not-allowed;
54
- opacity: 0.9;
67
+ opacity: .9;
55
68
  }
56
69
 
57
70
  /* src/styles/button/index.css */
58
71
 
59
72
  /* src/styles/characters/characters.css */
60
73
  .characters {
74
+ justify-content: center;
75
+ align-items: flex-end;
61
76
  width: 100vw;
62
77
  height: 100vh;
63
- overflow: hidden;
64
78
  display: flex;
65
- align-items: flex-end;
66
- justify-content: center;
79
+ overflow: hidden;
67
80
  }
68
81
  .characters > canvas {
69
- position: relative;
70
82
  min-width: unset;
71
- max-height: 85vh;
72
83
  max-width: 50vw;
84
+ max-height: 85vh;
85
+ position: relative;
73
86
  }
74
87
 
75
88
  /* src/styles/characters/index.css */
@@ -77,25 +90,36 @@
77
90
  /* src/styles/control-panel/control-panel.css */
78
91
  .control-panel {
79
92
  z-index: 23;
80
- position: fixed;
81
- display: flex;
82
93
  justify-content: end;
83
- right: 0.4rem;
84
- bottom: 0.4rem;
94
+ display: flex;
95
+ position: fixed;
96
+ bottom: .4rem;
97
+ right: .4rem;
98
+ }
99
+ .control-panel--center {
100
+ bottom: calc(var(--novely-dialog-border-width, 3px) + .4rem);
101
+ justify-content: center;
102
+ width: 75%;
103
+ left: 50%;
104
+ right: 50%;
105
+ transform: translateX(-50%);
106
+ }
107
+ @media (orientation: portrait) {
108
+ .control-panel--center {
109
+ width: 75%;
110
+ }
85
111
  }
86
112
 
87
113
  /* src/styles/control-panel/button/button.css */
88
114
  .control-panel__button {
89
115
  border: 2px solid var(--novely-button-border-color, #ffc7df);
116
+ height: 2rem;
90
117
  margin: 0;
91
- padding: 0.2rem 0.4rem;
118
+ padding: .2rem .4rem;
92
119
  font-size: 1rem;
93
120
  line-height: 1;
94
- height: 2rem;
95
- }
96
- .control-panel__button__icon {
97
- display: none;
98
121
  }
122
+ .control-panel__button__icon,
99
123
  .control-panel__button--auto-mode {
100
124
  display: none;
101
125
  }
@@ -106,11 +130,11 @@
106
130
  .control-panel__button__content {
107
131
  clip: rect(0 0 0 0);
108
132
  clip-path: inset(50%);
109
- height: 1px;
110
- overflow: hidden;
111
- position: absolute;
112
133
  white-space: nowrap;
113
134
  width: 1px;
135
+ height: 1px;
136
+ position: absolute;
137
+ overflow: hidden;
114
138
  }
115
139
  }
116
140
  @media (prefers-reduced-motion: no-preference) {
@@ -123,42 +147,53 @@
123
147
 
124
148
  /* src/styles/action-text/action-text.css */
125
149
  .action-text {
126
- position: absolute;
127
- inset: 0;
128
150
  z-index: 2;
129
- max-width: 100%;
130
- max-width: 100vw;
131
- display: none;
132
151
  text-align: center;
152
+ max-width: 100vw;
133
153
  font-size: 1.5rem;
134
- user-select: none;
135
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
136
- -webkit-tap-highlight-color: transparent;
137
- -webkit-touch-callout: none;
154
+ display: none;
155
+ position: absolute;
156
+ top: 0;
157
+ bottom: 0;
158
+ left: 0;
159
+ right: 0;
138
160
  }
139
161
  .action-text[data-shown=true] {
140
- display: flex;
141
- align-items: center;
142
- justify-content: center;
143
- background: var(--novely-fullscreen-backgroun-color, rgba(0, 0, 0, 0.3));
144
- text-shadow: var( --novely-fullscreen-text-shadow, 2px 2px 4px rgba(0, 0, 0, 0.5) );
162
+ background: var(--novely-fullscreen-background-color, #0000004d);
163
+ text-shadow: var(--novely-fullscreen-text-shadow, 2px 2px 4px #00000080);
145
164
  color: var(--novely-fullscreen-text-color, white);
165
+ justify-content: center;
166
+ align-items: center;
167
+ display: flex;
146
168
  }
147
169
  .action-text[data-shown=true] > span {
148
170
  cursor: pointer;
171
+ -webkit-user-select: none;
149
172
  user-select: none;
150
173
  word-wrap: break-word;
151
174
  word-break: break-word;
152
175
  }
176
+ .action-text[data-shown=true]:focus-visible > span {
177
+ text-decoration: underline;
178
+ }
179
+ .action-text,
180
+ .action-text > span {
181
+ -webkit-user-select: none;
182
+ user-select: none;
183
+ -webkit-tap-highlight-color: #0000;
184
+ -webkit-tap-highlight-color: transparent;
185
+ -webkit-touch-callout: none;
186
+ touch-action: none;
187
+ }
153
188
 
154
189
  /* src/styles/action-text/index.css */
155
190
 
156
191
  /* src/styles/select/select.css */
157
192
  .select {
158
- width: 100%;
159
- display: flex;
160
193
  flex-direction: column;
161
194
  align-items: start;
195
+ width: 100%;
196
+ display: flex;
162
197
  }
163
198
 
164
199
  /* src/styles/select/select/select.css */
@@ -166,8 +201,8 @@
166
201
  background-color: var(--novely-select-background-color, #ffe9f3);
167
202
  border: 4px solid var(--novely-select-border-color, #ffc7df);
168
203
  color: var(--novely-select-color, #000);
169
- margin: 0.4rem 0;
170
- padding: 0.4rem;
204
+ margin: .4rem 0;
205
+ padding: .4rem;
171
206
  font-size: 1.02rem;
172
207
  }
173
208
 
@@ -175,87 +210,94 @@
175
210
  .select__label {
176
211
  background: var(--novely-select-label-background, #ffe9f3);
177
212
  color: var(--novely-select-color, #000);
178
- font-size: 1.02rem;
179
- padding: 0.25rem 0.5rem;
180
- border-radius: 0.25rem;
213
+ -webkit-user-select: none;
181
214
  user-select: none;
215
+ border-radius: .25rem;
216
+ padding: .25rem .5rem;
217
+ font-size: 1.02rem;
182
218
  }
183
219
 
184
220
  /* src/styles/select/index.css */
185
221
 
186
222
  /* src/styles/action-dialog/action-dialog.css */
187
223
  .action-dialog {
188
- min-height: 26vh;
189
- width: 75%;
190
- position: fixed;
191
- left: 50%;
192
- transform: translateX(-50%);
193
- bottom: 0.4rem;
194
224
  z-index: 22;
195
225
  text-align: left;
196
- flex-direction: column;
197
- justify-content: flex-end;
198
226
  cursor: default;
227
+ -webkit-user-select: none;
199
228
  user-select: none;
229
+ flex-direction: column;
230
+ justify-content: flex-end;
231
+ width: 75%;
232
+ min-height: 26vh;
233
+ position: fixed;
234
+ bottom: .4rem;
235
+ left: 50%;
236
+ transform: translateX(-50%);
237
+ }
238
+ .action-dialog--visible {
239
+ display: flex;
240
+ }
241
+ .action-dialog--hidden {
242
+ display: none;
200
243
  }
201
244
  .action-dialog-container {
202
- height: 100%;
203
- min-height: 18vh;
204
- flex-grow: 1;
205
- color: var(--novely-dialog-color, #ffffff);
206
- border: 3px solid var(--novely-dialog-border-color, #ffffff);
245
+ color: var(--novely-dialog-color, #fff);
246
+ border: var(--novely-dialog-border-width, 3px) solid var(--novely-dialog-border-color, #fff);
207
247
  border-radius: var(--novely-dialog-border-radius, 14px);
208
248
  box-shadow: 1px 1px 4px var(--novely-dialog-box-shadow-color, #00000072);
209
249
  background-image: var(--novely-dialog-background-image, radial-gradient(#d6608998 20%, transparent 20%), radial-gradient(#d6608998 20%, transparent 20%));
210
250
  background-color: var(--novely-dialog-background-color, #f092b4d8);
211
251
  background-position: var(--novely-dialog-background-position, 0 0, 50px 50px);
212
252
  background-size: var(--novely-dialog-background-size, 100px 100px);
213
- display: flex;
214
253
  flex-wrap: nowrap;
254
+ flex-grow: 1;
255
+ height: 100%;
256
+ min-height: 18vh;
215
257
  padding-bottom: 2.8rem;
258
+ display: flex;
216
259
  }
217
260
  .action-dialog-person {
218
- max-height: 25vh;
219
261
  max-width: 25vw;
262
+ max-height: 25vh;
220
263
  }
221
264
  .action-dialog-name,
222
265
  .action-dialog-content {
223
- display: block;
224
- padding: 1vmin;
225
266
  margin: 0;
267
+ padding: 1vmin;
268
+ display: block;
226
269
  }
227
270
  .action-dialog-name {
228
- font-size: 1.4375rem;
229
- line-height: 1.2;
230
- background: #ffffff;
271
+ background: #fff;
231
272
  border-radius: 7px 7px 0 0;
232
- width: -moz-fit-content;
233
273
  width: fit-content;
234
274
  margin-left: 5vmin;
275
+ font-size: 1.4375rem;
276
+ line-height: 1.2;
235
277
  box-shadow: 1px 1px 3px #00000042;
236
278
  }
237
279
  .action-dialog-content {
280
+ text-shadow:
281
+ 1px 1px #000,
282
+ -1px -1px #000,
283
+ 1px -1px #000,
284
+ -1px 1px #000;
238
285
  width: 100%;
239
286
  font-size: 2.2375rem;
240
287
  line-height: 1.2;
241
- text-shadow:
242
- 1px 1px 0 black,
243
- -1px -1px 0 black,
244
- 1px -1px 0 black,
245
- -1px 1px 0 black;
246
288
  }
247
289
  .action-dialog-person > canvas,
248
290
  .action-dialog-person > img {
249
- max-height: 100%;
250
- max-width: 100%;
251
291
  object-fit: contain;
292
+ max-width: 100%;
293
+ max-height: 100%;
252
294
  }
253
295
  @media (orientation: portrait) {
254
296
  .action-dialog {
255
- width: 100%;
256
297
  bottom: 0;
257
298
  left: unset;
258
299
  transform: unset;
300
+ width: 100%;
259
301
  }
260
302
  .action-dialog-name {
261
303
  font-size: 1.02rem;
@@ -272,50 +314,52 @@
272
314
  }
273
315
  @media only screen and (orientation: landscape) and (pointer: coarse) {
274
316
  .action-dialog-content {
317
+ text-shadow: none;
275
318
  font-size: 1.32rem;
276
319
  line-height: 1.15;
277
320
  }
278
- .action-dialog-content {
279
- text-shadow: none;
280
- }
281
321
  }
282
322
 
283
323
  /* src/styles/action-dialog/index.css */
284
324
 
285
325
  /* src/styles/dialog/dialog.css */
286
326
  .dialog {
287
- position: absolute;
288
- inset: 0;
289
327
  z-index: 20;
328
+ position: absolute;
329
+ top: 0;
330
+ bottom: 0;
331
+ left: 0;
332
+ right: 0;
290
333
  }
291
334
  .dialog-container {
335
+ justify-content: center;
336
+ align-items: center;
292
337
  min-height: 100vh;
293
338
  display: flex;
294
- align-items: center;
295
- justify-content: center;
296
339
  }
297
340
  .dialog-fix {
298
- display: inline-block;
299
- height: 100vh;
300
341
  vertical-align: middle;
342
+ height: 100vh;
343
+ display: inline-block;
301
344
  }
302
345
  .dialog-panel {
303
346
  text-align: left;
304
347
  z-index: 21;
305
- min-height: 40vh;
348
+ flex-direction: column;
349
+ align-items: stretch;
306
350
  min-width: 50vw;
307
351
  max-width: 100vw;
308
- padding-left: 0.25rem;
309
- padding-right: 0.25rem;
352
+ min-height: 40vh;
353
+ padding-left: .25rem;
354
+ padding-right: .25rem;
310
355
  display: flex;
311
- flex-direction: column;
312
- align-items: stretch;
313
356
  }
314
357
  .dialog-panel-label {
358
+ -webkit-user-select: none;
315
359
  user-select: none;
360
+ border-radius: .25rem;
361
+ padding: .25rem .5rem;
316
362
  font-size: 1.2375rem;
317
- padding: 0.25rem 0.5rem;
318
- border-radius: 0.25rem;
319
363
  }
320
364
  .dialog-panel-label[data-used=true] {
321
365
  background: var(--novely-dialog-panel-label-background, #ffe9f3);
@@ -323,7 +367,7 @@
323
367
  }
324
368
  @media (orientation: portrait) {
325
369
  .dialog-panel {
326
- width: calc(100vw - 0.5rem);
370
+ width: calc(100vw - .5rem);
327
371
  }
328
372
  }
329
373
 
@@ -331,52 +375,56 @@
331
375
 
332
376
  /* src/styles/input-dialog/input-dialog.css */
333
377
  .input-dialog-label {
334
- display: flex;
335
378
  flex-direction: column;
336
- align-items: center;
337
379
  justify-content: center;
338
- font-size: 1.2375rem;
380
+ align-items: center;
339
381
  width: 100%;
382
+ font-size: 1.2375rem;
383
+ display: flex;
340
384
  }
341
385
  .input-dialog-label > span {
342
- margin: 0.4rem 0;
343
386
  min-height: 1rem;
387
+ -webkit-user-select: none;
388
+ user-select: none;
389
+ -webkit-tap-highlight-color: #0000;
390
+ -webkit-tap-highlight-color: transparent;
391
+ -webkit-touch-callout: none;
344
392
  min-height: 1lh;
393
+ margin: .4rem 0;
345
394
  }
346
395
  .input-dialog-label > input {
347
396
  min-width: 10rem;
348
397
  max-width: 100%;
349
398
  }
350
399
  .input-dialog-panel {
351
- justify-content: center;
352
- align-items: center;
353
- color: rgb(255, 255, 255);
354
- border: 3px solid #ffffff;
355
- border-radius: 14px;
356
- box-shadow: 1px 1px 4px #00000072;
357
- background-image: radial-gradient(#d6608998 20%, transparent 20%), radial-gradient(#d6608998 20%, transparent 20%);
400
+ color: #fff;
358
401
  background-color: #f092b4d8;
402
+ background-image: radial-gradient(#d6608998 20%, #0000 20%), radial-gradient(#d6608998 20%, #0000 20%);
359
403
  background-position: 0 0, 50px 50px;
360
404
  background-size: 100px 100px;
405
+ border: 3px solid #fff;
406
+ border-radius: 14px;
407
+ justify-content: center;
408
+ align-items: center;
409
+ box-shadow: 1px 1px 4px #00000072;
361
410
  }
362
411
 
363
412
  /* src/styles/input-dialog/button/button.css */
364
413
  .dialog-input__button {
365
- font-size: 1.2375rem;
366
- padding: 0.4rem 0.6rem;
367
- width: -moz-fit-content;
368
414
  width: fit-content;
415
+ padding: .4rem .6rem;
416
+ font-size: 1.2375rem;
369
417
  }
370
418
 
371
419
  /* src/styles/input-dialog/index.css */
372
420
 
373
421
  /* src/styles/main-menu/main-menu.css */
374
422
  .main-menu {
375
- overflow: hidden;
376
423
  background-image: var(--novely-main-menu-background-image);
424
+ align-content: center;
377
425
  padding: 0 1rem;
378
426
  display: grid;
379
- align-content: center;
427
+ overflow: hidden;
380
428
  }
381
429
  @media (orientation: landscape) {
382
430
  .main-menu {
@@ -393,44 +441,44 @@
393
441
 
394
442
  /* src/styles/loading/loading.css */
395
443
  .loading {
396
- overflow: hidden;
397
- background: black;
398
- display: flex;
444
+ background: #000;
399
445
  justify-content: center;
400
446
  align-items: center;
447
+ display: flex;
448
+ overflow: hidden;
401
449
  }
402
450
 
403
451
  /* src/styles/loading/animation/animation.css */
404
452
  .loading__animation {
405
- display: inline-block;
406
- position: relative;
407
453
  width: 80px;
408
454
  height: 80px;
455
+ display: inline-block;
456
+ position: relative;
409
457
  }
410
458
  .loading__animation div {
411
- position: absolute;
412
- top: 33px;
459
+ background: #fff;
460
+ border-radius: 50%;
413
461
  width: 13px;
414
462
  height: 13px;
415
- border-radius: 50%;
416
- background: #fff;
417
463
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
464
+ position: absolute;
465
+ top: 33px;
418
466
  }
419
- .loading__animation div:nth-child(1) {
467
+ .loading__animation div:first-child {
468
+ animation: .6s infinite lds-ellipsis1;
420
469
  left: 8px;
421
- animation: lds-ellipsis1 0.6s infinite;
422
470
  }
423
471
  .loading__animation div:nth-child(2) {
472
+ animation: .6s infinite lds-ellipsis2;
424
473
  left: 8px;
425
- animation: lds-ellipsis2 0.6s infinite;
426
474
  }
427
475
  .loading__animation div:nth-child(3) {
476
+ animation: .6s infinite lds-ellipsis2;
428
477
  left: 32px;
429
- animation: lds-ellipsis2 0.6s infinite;
430
478
  }
431
479
  .loading__animation div:nth-child(4) {
480
+ animation: .6s infinite lds-ellipsis3;
432
481
  left: 56px;
433
- animation: lds-ellipsis3 0.6s infinite;
434
482
  }
435
483
  @keyframes lds-ellipsis1 {
436
484
  0% {
@@ -450,10 +498,10 @@
450
498
  }
451
499
  @keyframes lds-ellipsis2 {
452
500
  0% {
453
- transform: translate(0, 0);
501
+ transform: translate(0);
454
502
  }
455
503
  100% {
456
- transform: translate(24px, 0);
504
+ transform: translate(24px);
457
505
  }
458
506
  }
459
507
 
@@ -461,11 +509,11 @@
461
509
 
462
510
  /* src/styles/settings/settings.css */
463
511
  .settings {
464
- padding: 0 1rem;
465
- gap: 1rem;
466
- overflow: hidden;
467
512
  background-image: var(--novely-settings-background-image);
513
+ gap: 1rem;
514
+ padding: 0 1rem;
468
515
  display: flex;
516
+ overflow: hidden;
469
517
  }
470
518
  @media (orientation: portrait) {
471
519
  .settings {
@@ -485,22 +533,21 @@
485
533
 
486
534
  /* src/styles/settings/column/column.css */
487
535
  .settings__column {
488
- display: flex;
489
- align-items: center;
536
+ flex-flow: column wrap;
490
537
  justify-content: center;
491
- flex-direction: column;
492
- flex-wrap: wrap;
538
+ align-items: center;
539
+ display: flex;
493
540
  }
494
541
 
495
542
  /* src/styles/settings/index.css */
496
543
 
497
544
  /* src/styles/saves/saves.css */
498
545
  .saves {
499
- padding: 0 1rem;
500
- gap: 1rem;
501
- overflow: hidden;
502
546
  background-image: var(--novely-saves-background-image);
547
+ gap: 1rem;
548
+ padding: 0 1rem;
503
549
  display: flex;
550
+ overflow: hidden;
504
551
  }
505
552
  @media (orientation: portrait) {
506
553
  .saves {
@@ -533,30 +580,29 @@
533
580
 
534
581
  /* src/styles/saves/list/list.css */
535
582
  .saves__list-container {
583
+ justify-content: center;
584
+ align-items: center;
536
585
  width: 100%;
537
586
  height: 100%;
538
587
  display: flex;
539
- align-items: center;
540
- justify-content: center;
541
588
  overflow: hidden;
542
589
  }
543
590
  .saves__list {
544
- width: 100%;
545
- height: 80%;
546
591
  padding: 0 1rem;
547
- display: grid;
548
- align-content: flex-start;
549
- justify-content: center;
592
+ border-radius: var(--novely-saves-list-border-radius, 14px);
593
+ background-color: var(--novely-saves-list-background-color, #ffffff57);
594
+ place-content: flex-start center;
550
595
  justify-items: stretch;
596
+ width: 100%;
597
+ height: 80%;
598
+ margin-top: 0;
599
+ margin-bottom: 0;
600
+ padding-left: 0;
601
+ padding-right: 0;
551
602
  list-style: none;
603
+ display: grid;
552
604
  overflow-y: scroll;
553
- padding-inline-start: 0;
554
- padding-inline-end: 0;
555
- margin-block-start: 0;
556
- margin-block-end: 0;
557
605
  touch-action: auto !important;
558
- border-radius: var(--novely-saves-list-border-radius, 14px);
559
- background-color: var(--novely-saves-list-background-color, #ffffff57);
560
606
  }
561
607
  .saves__list::-webkit-scrollbar {
562
608
  width: 14px;
@@ -576,10 +622,11 @@
576
622
  scrollbar-color: var(--novely-scrollbar-thumb-hover-bg-color, #ffc6d8);
577
623
  }
578
624
  .saves__list--empty {
579
- display: flex;
580
- align-items: center;
625
+ -webkit-user-select: none;
581
626
  user-select: none;
582
627
  color: var(--novely-saves-list-empty-color, black);
628
+ align-items: center;
629
+ display: flex;
583
630
  }
584
631
  .saves__list-item {
585
632
  display: flex;
@@ -599,11 +646,10 @@
599
646
  /* src/styles/saves/column/column.css */
600
647
  @media (orientation: portrait) {
601
648
  .saves__column {
602
- display: flex;
603
- align-items: center;
649
+ flex-flow: column wrap;
604
650
  justify-content: center;
605
- flex-direction: column;
606
- flex-wrap: wrap;
651
+ align-items: center;
652
+ display: flex;
607
653
  }
608
654
  }
609
655
 
package/dist/utils.d.ts CHANGED
@@ -7,4 +7,5 @@ declare const createImage: (src: string) => HTMLImageElement;
7
7
  declare const canvasDrawImages: (canvas: HTMLCanvasElement | undefined, ctx: CanvasRenderingContext2D | undefined, images: HTMLImageElement[]) => readonly [HTMLCanvasElement, CanvasRenderingContext2D];
8
8
  declare const url: <T extends string>(str: T) => `url(${T})`;
9
9
  declare const escape: (str: string) => string;
10
- export { isCSSImage, canvasDrawImages, url, createImage, capitalize, escape };
10
+ declare const onKey: (cb: (event: KeyboardEvent) => void, ...keys: string[]) => (e: KeyboardEvent) => void;
11
+ export { isCSSImage, canvasDrawImages, url, createImage, capitalize, escape, onKey };