fulldev-ui 0.3.24 → 0.3.25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fulldev-ui",
3
- "version": "0.3.24",
3
+ "version": "0.3.25",
4
4
  "description": "A component library built for Astro",
5
5
  "homepage": "https://ui.full.dev",
6
6
  "bugs": "https://github.com/fulldotdev/ui/issues",
@@ -49,15 +49,15 @@ const {
49
49
  width: 100%;
50
50
  max-width: calc(100% - (2 * var(--outer-x)));
51
51
 
52
- &:first-child {
53
- padding-top: calc(var(--inner-y) + var(--header-height));
54
- }
55
-
56
52
  &.frame-fill {
57
53
  --inner-x: var(--gutter);
58
54
  --outer-x: 0;
59
55
  --inner-y: var(--space-7);
60
56
  --outer-y: 0;
57
+
58
+ &:first-child {
59
+ padding-top: calc(var(--inner-y) + var(--header-height));
60
+ }
61
61
  }
62
62
 
63
63
  &.frame-viewport {
@@ -67,6 +67,10 @@ const {
67
67
  --outer-y: 0;
68
68
 
69
69
  min-height: 100vh;
70
+
71
+ &:first-child {
72
+ padding-top: calc(var(--inner-y) + var(--header-height));
73
+ }
70
74
  }
71
75
 
72
76
  &.frame-contain {
@@ -74,6 +78,10 @@ const {
74
78
  --outer-x: max(0px, calc(var(--gutter) - var(--inner-x)));
75
79
  --inner-y: var(--space-7);
76
80
  --outer-y: 0;
81
+
82
+ &:first-child {
83
+ padding-top: calc(var(--inner-y) + var(--header-height));
84
+ }
77
85
  }
78
86
 
79
87
  &.frame-panel {
package/src/css/color.css CHANGED
@@ -14,6 +14,7 @@
14
14
  --brand-11: #ca4900;
15
15
  --brand-12: #5b2a1a;
16
16
  --brand-contrast: #fff;
17
+ --brand-background: #fff;
17
18
 
18
19
  --base-1: #f9f9fa;
19
20
  --base-2: #f5f6f8;
@@ -28,6 +29,7 @@
28
29
  --base-11: #5e6068;
29
30
  --base-12: #1e1f24;
30
31
  --base-contrast: #ffffff;
32
+ --base-background: #fff;
31
33
 
32
34
  color-scheme: light;
33
35
  }
@@ -47,6 +49,7 @@
47
49
  --brand-11: #ff976f;
48
50
  --brand-12: #ffd8c9;
49
51
  --brand-contrast: #fff;
52
+ --brand-background: #000;
50
53
 
51
54
  --base-1: #101113;
52
55
  --base-2: #18191b;
@@ -61,6 +64,7 @@
61
64
  --base-11: #b0b4ba;
62
65
  --base-12: #edeef0;
63
66
  --base-contrast: #ffffff;
67
+ --base-background: #000;
64
68
 
65
69
  color-scheme: dark;
66
70
  }
@@ -148,7 +152,7 @@
148
152
  .variant-base,
149
153
  .variant-base
150
154
  *:not([class*='variant-']):not(.variant-base [class*='variant-'] *) {
151
- --background: var(--color-1);
155
+ --background: var(--color-background);
152
156
  --background-hover: var(--color-1);
153
157
  --background-active: var(--color-1);
154
158
  --border: var(--color-a6);