rockin 0.0.22 → 0.0.23

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.
Files changed (2) hide show
  1. package/dist/styles.css +50 -15
  2. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -319,6 +319,9 @@ html[data-native-app="true"][data-native-device="mac"] {
319
319
  html {
320
320
  background-color: var(--background);
321
321
  scroll-padding-top: var(--header-height);
322
+ @apply scroll-smooth;
323
+ scrollbar-gutter: stable;
324
+ padding-right: 0px !important;
322
325
  }
323
326
  * {
324
327
  @apply border-border;
@@ -326,6 +329,29 @@ html[data-native-app="true"][data-native-device="mac"] {
326
329
  html {
327
330
  @apply overscroll-y-none;
328
331
  }
332
+ html body[data-scroll-locked] {
333
+ margin-right: 0 !important;
334
+ }
335
+ ::selection {
336
+ @apply bg-selection text-selection-foreground;
337
+ }
338
+ ::-webkit-scrollbar {
339
+ width: 5px;
340
+ }
341
+
342
+ ::-webkit-scrollbar-track {
343
+ background: transparent;
344
+ }
345
+
346
+ ::-webkit-scrollbar-thumb {
347
+ /* background: hsl(var(--ring)); */
348
+ border-radius: 5px;
349
+ }
350
+
351
+ * {
352
+ scrollbar-width: thin;
353
+ /* scrollbar-color: hsl(var(--ring)) transparent; */
354
+ }
329
355
  body {
330
356
  min-height: 100dvh;
331
357
  position: relative;
@@ -464,33 +490,42 @@ select:-webkit-autofill {
464
490
  }
465
491
 
466
492
  @utility app-container {
467
- --app-container-gutter: 0.5rem;
468
- width: 100%;
469
- margin-inline: auto;
470
- padding-left: var(--app-container-gutter);
471
- padding-right: var(--app-container-gutter);
472
- flex-grow: 1;
493
+ display: flex;
494
+ min-height: 0;
495
+ min-width: 0;
496
+ flex: 1 1 0%;
497
+ flex-direction: column;
498
+ }
473
499
 
474
- @media (width >= 96rem) {
475
- --app-container-gutter: 10vw;
476
- }
500
+ :root {
501
+ --app-gutter: 0.5rem;
477
502
  }
478
503
 
479
- @utility app-header {
480
- width: calc(100% + (2 * var(--app-container-gutter, 0.5rem)));
481
- margin-inline: calc(-1 * var(--app-container-gutter, 0.5rem));
504
+ @media (width >= 96rem) {
505
+ :root {
506
+ --app-gutter: 10%;
507
+ }
482
508
  }
483
509
 
484
- @utility app-header-inner {
485
- padding-inline: var(--app-container-gutter, 0.5rem);
510
+ @utility app-header {
511
+ width: 100%;
512
+ padding-inline: var(--app-gutter);
486
513
  }
487
514
 
488
515
  @utility app-section {
516
+ width: 100%;
517
+ flex-grow: 1;
518
+ padding-inline: var(--app-gutter);
489
519
  padding-block: 0.5rem;
520
+
490
521
  & > :not(:last-child) {
491
522
  margin-bottom: 1rem;
492
523
  }
493
- @apply px-2;
524
+ }
525
+
526
+ @utility app-footer {
527
+ width: 100%;
528
+ padding-inline: var(--app-gutter);
494
529
  }
495
530
 
496
531
  @layer utilities {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rockin",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "description": "Reusable React UI components, hooks, icons, utilities, and styles for Rock Star projects.",
5
5
  "keywords": [
6
6
  "react",