@rileybathurst/paddle 0.0.110 → 0.0.112
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 +1 -1
- package/src/PaddleLocationCard.tsx +6 -5
- package/src/PaddleSpecs.tsx +1 -1
- package/src/styles/body.css +8 -0
- package/src/styles/color.css +80 -12
- package/src/styles/layout.css +16 -0
- package/src/styles/links.css +1 -1
- package/src/styles/media.css +4 -1
- package/src/styles/typography.css +1 -1
- package/src/styles/variables.css +5 -21
package/package.json
CHANGED
|
@@ -25,14 +25,15 @@ function Season({ name, season_start, season_end, opening_time, closing_time }:
|
|
|
25
25
|
const seasonStartDate = new Date(season_start);
|
|
26
26
|
const seasonEndDate = new Date(season_end);
|
|
27
27
|
|
|
28
|
-
if (currentDay
|
|
28
|
+
if (currentDay >= seasonStartDate && currentDay <= seasonEndDate) {
|
|
29
29
|
return (
|
|
30
30
|
<p>
|
|
31
31
|
{opening_time ? "Open Daily: " : null}<br />
|
|
32
32
|
{opening_time && closing_time ? (
|
|
33
33
|
<span><HourMin time={opening_time} /> - <HourMin time={closing_time} /></span>
|
|
34
34
|
)
|
|
35
|
-
: null}
|
|
35
|
+
: null}<br />
|
|
36
|
+
Weather Permitting
|
|
36
37
|
</p>
|
|
37
38
|
)
|
|
38
39
|
}
|
|
@@ -41,9 +42,9 @@ function Season({ name, season_start, season_end, opening_time, closing_time }:
|
|
|
41
42
|
return (
|
|
42
43
|
<p>
|
|
43
44
|
We're closed for the season:<br />
|
|
44
|
-
We will reopen<br />
|
|
45
|
-
{season_start} - {season_end}<br />
|
|
46
|
-
Weather Permitting
|
|
45
|
+
{/* We will reopen<br /> */}
|
|
46
|
+
{/* {season_start} - {season_end}<br /> */}
|
|
47
|
+
{/* Weather Permitting */}
|
|
47
48
|
</p>
|
|
48
49
|
)
|
|
49
50
|
}
|
package/src/PaddleSpecs.tsx
CHANGED
package/src/styles/body.css
CHANGED
package/src/styles/color.css
CHANGED
|
@@ -3,30 +3,34 @@
|
|
|
3
3
|
/*------------------------------------*/
|
|
4
4
|
|
|
5
5
|
body {
|
|
6
|
-
background-color:
|
|
6
|
+
background-color: var(--brilliance);
|
|
7
7
|
color: var(--black-metal);
|
|
8
8
|
|
|
9
9
|
@media (prefers-color-scheme: dark) {
|
|
10
|
-
background-color: var(--
|
|
11
|
-
color: var(--
|
|
10
|
+
background-color: var(--navy-300);
|
|
11
|
+
color: var(--brilliance);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* ! testing */
|
|
16
16
|
/* storybook but also maybe I just add them to the site it could be less confusing */
|
|
17
|
-
|
|
17
|
+
/* I wonder if I can do something with :has so only top layer does the color */
|
|
18
|
+
/* body {
|
|
18
19
|
clip-path: inset(0 -100vmax);
|
|
19
|
-
background-color:
|
|
20
|
-
box-shadow: 0 0 0 100vmax
|
|
20
|
+
background-color: var(--brilliance);
|
|
21
|
+
box-shadow: 0 0 0 100vmax var(--brilliance);
|
|
21
22
|
|
|
22
23
|
color: var(--black-metal);
|
|
23
24
|
|
|
24
25
|
@media (prefers-color-scheme: dark) {
|
|
26
|
+
background-color: var(--black-metal);
|
|
25
27
|
color: var(--kingly-cloud);
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
|
|
29
31
|
main.tahoe-city {
|
|
32
|
+
background-color: var(--kingly-cloud);
|
|
33
|
+
|
|
30
34
|
@media (prefers-color-scheme: dark) {
|
|
31
35
|
background-color: var(--navy-200);
|
|
32
36
|
box-shadow: 0 0 0 100vmax var(--navy-200);
|
|
@@ -38,6 +42,20 @@ main.south-tahoe {
|
|
|
38
42
|
background-color: var(--navy-200);
|
|
39
43
|
box-shadow: 0 0 0 100vmax var(--navy-200);
|
|
40
44
|
}
|
|
45
|
+
} */
|
|
46
|
+
|
|
47
|
+
body:has(#storybook-root) {
|
|
48
|
+
#storybook-root {
|
|
49
|
+
min-height: 100vh;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
#storybook-root:has(.tahoe-city) {
|
|
53
|
+
background-color: var(--brilliance);
|
|
54
|
+
|
|
55
|
+
@media (prefers-color-scheme: dark) {
|
|
56
|
+
background-color: var(--navy-300);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
41
59
|
}
|
|
42
60
|
|
|
43
61
|
/*------------------------------------*/
|
|
@@ -46,17 +64,67 @@ main.south-tahoe {
|
|
|
46
64
|
|
|
47
65
|
.top-bar {
|
|
48
66
|
clip-path: inset(0 -100vmax);
|
|
49
|
-
|
|
67
|
+
background-color: var(--sand-100);
|
|
68
|
+
box-shadow: 0 0 0 100vmax var(--sand-100);
|
|
50
69
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
70
|
+
@media (prefers-color-scheme: dark) {
|
|
71
|
+
background-color: var(--navy-200);
|
|
72
|
+
box-shadow: 0 0 0 100vmax var(--navy-200);
|
|
73
|
+
}
|
|
54
74
|
}
|
|
55
75
|
|
|
56
76
|
/*------------------------------------*/
|
|
57
77
|
/* #LOCATION */
|
|
58
78
|
/*------------------------------------*/
|
|
59
79
|
|
|
60
|
-
|
|
61
|
-
|
|
80
|
+
/* TODO: tahoe city and south lake */
|
|
81
|
+
.location-wrapper.true {
|
|
82
|
+
background-color: var(--sand-100);
|
|
83
|
+
border-radius: var(--card-radius);
|
|
84
|
+
|
|
85
|
+
@media (prefers-color-scheme: dark) {
|
|
86
|
+
background-color: var(--navy-200);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/*------------------------------------*/
|
|
91
|
+
|
|
92
|
+
#storybook-root {
|
|
93
|
+
.forest.tahoe-city {
|
|
94
|
+
.floor {
|
|
95
|
+
/* background-color: var(--sand-100); */
|
|
96
|
+
/* background-color: whitesmoke; */
|
|
97
|
+
background-color: var(--brilliance);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.understory {
|
|
101
|
+
background-color: var(--sand);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.canopy {
|
|
105
|
+
background-color: var(--sand-200);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.emergent {
|
|
109
|
+
background-color: var(--sand-300);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.forest.south-tahoe {
|
|
114
|
+
.floor {
|
|
115
|
+
/* background-color: var(--sand-100); */
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.understrory {
|
|
119
|
+
/* background-color: var(--sand-200); */
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.canopy {
|
|
123
|
+
/* background-color: var(--sand-300); */
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.emergent {
|
|
127
|
+
/* background-color: var(--ruby-100); */
|
|
128
|
+
}
|
|
129
|
+
}
|
|
62
130
|
}
|
package/src/styles/layout.css
CHANGED
|
@@ -331,3 +331,19 @@ header {
|
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
|
+
|
|
335
|
+
/*------------------------------------*/
|
|
336
|
+
/* #STORYBOOK */
|
|
337
|
+
/*------------------------------------*/
|
|
338
|
+
|
|
339
|
+
/* some of this is coming from the npm piece which us a little bit of a mess */
|
|
340
|
+
#storybook-root .color-deck {
|
|
341
|
+
margin-block-end: var(--kilimanjaro);
|
|
342
|
+
|
|
343
|
+
.color-card {
|
|
344
|
+
min-width: 10rem;
|
|
345
|
+
min-height: 10rem;
|
|
346
|
+
width: auto;
|
|
347
|
+
height: auto;
|
|
348
|
+
}
|
|
349
|
+
}
|
package/src/styles/links.css
CHANGED
package/src/styles/media.css
CHANGED
|
@@ -9,6 +9,8 @@ svg {
|
|
|
9
9
|
min-height: var(--everest); /* safari needs default mins */
|
|
10
10
|
max-width: clamp(var(--kilimanjaro), 5vw, 5rem);
|
|
11
11
|
max-height: clamp(var(--kilimanjaro), 5vw, 5rem);
|
|
12
|
+
|
|
13
|
+
fill: currentColor;
|
|
12
14
|
}
|
|
13
15
|
|
|
14
16
|
/*------------------*/
|
|
@@ -48,7 +50,8 @@ svg {
|
|
|
48
50
|
|
|
49
51
|
svg {
|
|
50
52
|
width: 100%;
|
|
51
|
-
max-height:
|
|
53
|
+
max-height: var(--vulture);
|
|
54
|
+
max-width: fit-content;
|
|
52
55
|
}
|
|
53
56
|
}
|
|
54
57
|
|
package/src/styles/variables.css
CHANGED
|
@@ -7,36 +7,20 @@
|
|
|
7
7
|
/* #COLOR */
|
|
8
8
|
/*------------------------------------*/
|
|
9
9
|
|
|
10
|
-
/*
|
|
10
|
+
/* ? does this need some more saturation */
|
|
11
|
+
--ruby-100: hsl(0, 50%, 50%); /* base */
|
|
12
|
+
--ruby-200: hsl(0, 50%, 37.5%);
|
|
13
|
+
--ruby-300: hsl(0, 50%, 25%);
|
|
11
14
|
|
|
12
|
-
|
|
13
|
-
--mullen: hsl(0, 50%, 50%); /* #bf4040 */
|
|
14
|
-
--mullen-100: hsl(0, 50%, 50%); /* base */
|
|
15
|
-
--mullen-200: hsl(0, 50%, 37.5%);
|
|
16
|
-
--mullen-300: hsl(0, 50%, 25%);
|
|
17
|
-
|
|
18
|
-
--sand: hsl(25, 37%, 95%);
|
|
19
|
-
--sand-100: hsl(25, 37%, 95%); /* base */
|
|
15
|
+
--sand-100: hsl(25, 37%, 95%);
|
|
20
16
|
--sand-150: hsl(25, 37%, 92.5%);
|
|
21
17
|
--sand-200: hsl(25, 37%, 87.5%);
|
|
22
18
|
--sand-300: hsl(25, 37%, 75%);
|
|
23
19
|
|
|
24
|
-
/*------------------------------------*/
|
|
25
|
-
/* #SOUTH TAHOE KAYAK */
|
|
26
|
-
/*------------------------------------*/
|
|
27
|
-
/* needed for storybook */
|
|
28
|
-
|
|
29
20
|
--navy-100: oklch(50% 0.09 230); /* base */
|
|
30
21
|
--navy-200: oklch(37.5% 0.07 230);
|
|
31
22
|
--navy-300: oklch(25% 0.04 230);
|
|
32
23
|
|
|
33
|
-
--sunshine-100: oklch(97.5% 0.025 95);
|
|
34
|
-
--sunshine-200: oklch(95% 0.05 95);
|
|
35
|
-
--sunshine-300: oklch(92.5% 0.1 95);
|
|
36
|
-
--sunshine-400: oklch(90% 0.15 95);
|
|
37
|
-
--sunshine-500: oklch(87.5% 0.2 95); /* base */
|
|
38
|
-
--sunshine: oklch(87.5% 0.2 95);
|
|
39
|
-
|
|
40
24
|
/*------------------------------------*/
|
|
41
25
|
|
|
42
26
|
--card-radius: 0.25rem;
|