@rileybathurst/paddle 0.0.13 → 0.0.15

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 (55) hide show
  1. package/package.json +4 -2
  2. package/src/App.tsx +0 -1
  3. package/src/PaddleComposition.tsx +54 -0
  4. package/src/PaddleTime.tsx +73 -0
  5. package/src/index.tsx +3 -1
  6. package/src/stories/BookNow.stories.tsx +19 -0
  7. package/src/stories/BookNow.tsx +29 -0
  8. package/src/stories/BrandList.stories.tsx +19 -0
  9. package/src/stories/BrandList.tsx +19 -0
  10. package/src/stories/Button.stories.tsx +1 -0
  11. package/src/stories/Card.stories.tsx +19 -0
  12. package/src/stories/Card.tsx +43 -0
  13. package/src/stories/Colors.stories.tsx +1 -0
  14. package/src/stories/Colors.tsx +24 -2
  15. package/src/stories/Composition.stories.tsx +19 -0
  16. package/src/stories/Composition.tsx +21 -0
  17. package/src/stories/Deal.tsx +31 -0
  18. package/src/stories/Deck.stories.tsx +19 -0
  19. package/src/stories/Deck.tsx +22 -0
  20. package/src/stories/Eyebrow.stories.tsx +19 -0
  21. package/src/stories/Eyebrow.tsx +21 -0
  22. package/src/stories/Footer.stories.tsx +19 -0
  23. package/src/stories/Footer.tsx +112 -0
  24. package/src/stories/Header.stories.ts +7 -7
  25. package/src/stories/Header.tsx +23 -54
  26. package/src/stories/Language.stories.tsx +19 -0
  27. package/src/stories/Language.tsx +22 -0
  28. package/src/stories/Links.stories.tsx +19 -0
  29. package/src/stories/Links.tsx +25 -0
  30. package/src/stories/Location.stories.tsx +19 -0
  31. package/src/stories/Location.tsx +54 -0
  32. package/src/stories/LocationDeck.stories.tsx +19 -0
  33. package/src/stories/LocationDeck.tsx +42 -0
  34. package/src/stories/Logo.stories.tsx +19 -0
  35. package/src/stories/Logo.tsx +60 -0
  36. package/src/stories/Page.stories.ts +6 -15
  37. package/src/stories/Page.tsx +114 -63
  38. package/src/stories/Pricing.stories.tsx +19 -0
  39. package/src/stories/Pricing.tsx +74 -0
  40. package/src/stories/Ticket.stories.tsx +19 -0
  41. package/src/stories/Ticket.tsx +55 -0
  42. package/src/stories/TopBar.stories.tsx +19 -0
  43. package/src/stories/TopBar.tsx +19 -0
  44. package/src/stories/Typography.stories.tsx +19 -0
  45. package/src/stories/Typography.tsx +39 -0
  46. package/src/stories/Widths.stories.tsx +19 -0
  47. package/src/stories/Widths.tsx +67 -0
  48. package/src/styles/a11y.css +10 -0
  49. package/src/styles/app.css +6 -0
  50. package/src/styles/color.css +18 -0
  51. package/src/styles/layout.css +99 -0
  52. package/src/styles/links.css +33 -0
  53. package/src/styles/media.css +53 -0
  54. package/src/styles/typography.css +238 -0
  55. package/src/App.css +0 -0
@@ -0,0 +1,238 @@
1
+ /*------------------------------------*\
2
+ #Typography
3
+ /*------------------------------------*/
4
+
5
+ body {
6
+ font-family: var(--body_font); /* Google font */
7
+ font-size: 16px;
8
+ line-height: 1.25rem; /* 20px */
9
+ }
10
+
11
+ p {
12
+ margin-block-start: 0;
13
+ margin-block-end: var(--baseline);
14
+ font-family: var(--body_font);
15
+ }
16
+
17
+ h1,
18
+ h2,
19
+ h3 {
20
+ font-family: var(--heading_font); /* Google font */
21
+ }
22
+
23
+ h1,
24
+ h2,
25
+ h3,
26
+ h4,
27
+ h5,
28
+ h6 {
29
+ margin-block-start: 0; /* reset */
30
+ }
31
+
32
+ h1 {
33
+ margin-top: 0; /* browser reset */
34
+ font-size: 3rem; /* 48px */
35
+ line-height: 3.75rem; /* 60px */
36
+ margin-bottom: 2.5rem; /* 40px */
37
+ /* single line 100px */
38
+ /* two lines 160px */
39
+ /* multi lines + 60px each */
40
+ }
41
+
42
+ h2,
43
+ .aconcagua,
44
+ .supra {
45
+ font-size: 2.5rem; /* 40px */
46
+ line-height: 3rem; /* 48px */
47
+ margin-block-end: 2rem; /* 32px */
48
+ /* single line 80px */
49
+ /* two lines 128px🚨 */
50
+ /* multi lines + 48px each🚨 */
51
+
52
+ /* what if i just do a slightly different base for two lines? as an extra class? */
53
+ /* 96 + x? */
54
+ }
55
+
56
+ h3,
57
+ /* TODO: this should be the font mountains */
58
+ .h3 {
59
+ font-size: 2rem; /* 32px */
60
+ line-height: 2.5rem; /* 40px */
61
+ margin-bottom: 1.875rem; /* 30px */
62
+ /* single line 70px */
63
+ /* two lines 110px */
64
+ /* multi lines + 40px each */
65
+ }
66
+
67
+ h4,
68
+ .kilimanjaro,
69
+ .h4,
70
+ .brow,
71
+ .page-title,
72
+ .spec h2 {
73
+ font-size: 1.5rem; /* 24px */
74
+ line-height: 2rem; /* 32px */
75
+ margin-bottom: 1.75rem; /* 28px */
76
+ /* single line 60px */
77
+ /* two lines 92px🚨 */
78
+ /* multi lines + 32px🚨 each */
79
+ }
80
+
81
+ h5 {
82
+ font-size: 1.25rem; /* 20px */
83
+ line-height: 1.875rem; /* 30px */
84
+ margin-bottom: 0.625rem; /* 10px */
85
+ /* single line 40px */
86
+ /* two lines 70px */
87
+ /* multi lines + 30px each */
88
+ }
89
+
90
+ h6,
91
+ .vinson {
92
+ font-size: 1rem; /* 16px */
93
+ line-height: 1.25rem; /* 20px this becomes the vertical rythym */
94
+ margin-bottom: 0.625rem; /* 10px skips some of the lines */
95
+ /* single line 30px */
96
+ /* two lines 50px */
97
+ /* multi lines + 20px each */
98
+ font-family: var(--body_font);
99
+ }
100
+
101
+ /* start the multi line problem here as itll be worst */
102
+ small,
103
+ .two-small-lines,
104
+ .multiple-small-lines {
105
+ font-size: 0.75rem; /* 12px */
106
+ line-height: 1rem; /* 16px */
107
+ margin-bottom: 0.875rem; /* 14px */
108
+ /* single line 30px */
109
+ /* two lines 46px🚨 */
110
+ /* multi lines + 16px🚨 each */
111
+
112
+ /* options i want 20px if its smaller it can be 10 but thats unrealistic */
113
+ /* 4 is pretty small on a single line that doesnt work it'd have to go to 30 */
114
+ /* two is already fine */
115
+ /* anymore gets super complicated to get it right */
116
+ }
117
+
118
+ address {
119
+ font-style: normal;
120
+ }
121
+
122
+ .two-small-lines {
123
+ margin-bottom: 0.5rem; /* 8px */
124
+ /* two lines 40px */
125
+ }
126
+
127
+ /*------------------*/
128
+ /* #HR */
129
+ /*------------------*/
130
+
131
+ /* default use on whitesmoke background */
132
+ hr {
133
+ border: none; /* reset */
134
+ border-bottom: 1px solid var(--tin-soldier);
135
+
136
+ /* default useage on hsl(var(--ink__h), 50%, 5%); */
137
+ @media (prefers-color-scheme: dark) {
138
+ border-bottom: 1px solid var(--black-out);
139
+ }
140
+ }
141
+
142
+ /* for use on a sand background */
143
+ /* name is hard */
144
+ /* its only on sand on light */
145
+ /* its darker on light only */
146
+ /* maybe step 2 */
147
+ /* rename it if I get a better idea */
148
+ /* only use the class when needed try put it on the class with the background */
149
+ .hr-step2 {
150
+ border-color: var(--tin-soldier);
151
+
152
+ @media (prefers-color-scheme: dark) {
153
+ border-color: var(--raven-black);
154
+ }
155
+ }
156
+
157
+ /* This is hard to search for its part of pricing sheet */
158
+ hr.no {
159
+ display: none;
160
+ }
161
+
162
+ /*------------------*/
163
+ /* #SINGLES */
164
+ /*------------------*/
165
+
166
+ .uppercase {
167
+ text-transform: uppercase;
168
+ }
169
+
170
+ .capitalize {
171
+ text-transform: capitalize;
172
+ }
173
+
174
+ .condensed {
175
+ font-family: var(--heading_font);
176
+ }
177
+
178
+ .mullen {
179
+ color: var(--navy);
180
+ }
181
+
182
+ /*------------------*/
183
+ /* #HEADINGS */
184
+ /*------------------*/
185
+
186
+ hgroup {
187
+ display: flex;
188
+ flex-flow: row wrap;
189
+ column-gap: 1ch;
190
+ align-items: baseline;
191
+ }
192
+
193
+ /*------------------*/
194
+ /* #DEL */
195
+ /*------------------*/
196
+
197
+ del {
198
+ color: hsl(var(--sand__base), var(--dim));
199
+ @media (prefers-color-scheme: dark) {
200
+ color: hsl(var(--sand__base), var(--dark));
201
+ }
202
+ }
203
+
204
+ /*------------------*/
205
+ /* #CREST */
206
+ /*------------------*/
207
+
208
+ /* .crest, .brow, .supra all work as a set */
209
+ .crest {
210
+ display: flex;
211
+ flex-direction: column;
212
+ gap: 0; /* resets the default hgroup */
213
+ }
214
+
215
+ .brow {
216
+ order: 1;
217
+ margin-block-end: 1rem;
218
+ }
219
+
220
+ .supra {
221
+ font-family: var(--heading_font);
222
+ order: 2;
223
+ }
224
+
225
+ /*------------------*/
226
+ /* #SPECIFICS */
227
+ /*------------------*/
228
+
229
+ .single__description {
230
+ line-height: 1.5;
231
+ }
232
+
233
+ select {
234
+ font-size: 1rem;
235
+ font-family: var(--body_font);
236
+ margin-block-end: var(--baseline);
237
+ margin-block-end: 0;
238
+ }
package/src/App.css DELETED
File without changes