rockin 0.0.21 → 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 +53 -9
  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,24 +490,42 @@ select:-webkit-autofill {
464
490
  }
465
491
 
466
492
  @utility app-container {
467
- width: 100%;
468
- margin-inline: auto;
469
- padding-left: 0.5rem;
470
- padding-right: 0.5rem;
471
- flex-grow: 1;
493
+ display: flex;
494
+ min-height: 0;
495
+ min-width: 0;
496
+ flex: 1 1 0%;
497
+ flex-direction: column;
498
+ }
472
499
 
473
- @media (width >= 96rem) {
474
- padding-left: 10%;
475
- padding-right: 10%;
500
+ :root {
501
+ --app-gutter: 0.5rem;
502
+ }
503
+
504
+ @media (width >= 96rem) {
505
+ :root {
506
+ --app-gutter: 10%;
476
507
  }
477
508
  }
478
509
 
510
+ @utility app-header {
511
+ width: 100%;
512
+ padding-inline: var(--app-gutter);
513
+ }
514
+
479
515
  @utility app-section {
516
+ width: 100%;
517
+ flex-grow: 1;
518
+ padding-inline: var(--app-gutter);
480
519
  padding-block: 0.5rem;
520
+
481
521
  & > :not(:last-child) {
482
522
  margin-bottom: 1rem;
483
523
  }
484
- @apply px-2;
524
+ }
525
+
526
+ @utility app-footer {
527
+ width: 100%;
528
+ padding-inline: var(--app-gutter);
485
529
  }
486
530
 
487
531
  @layer utilities {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rockin",
3
- "version": "0.0.21",
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",