ds-one 0.3.0-alpha.3 → 0.3.0-alpha.4

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.
@@ -25,569 +25,754 @@ export class Layout extends LitElement {
25
25
  static styles = [
26
26
  unsafeCSS(styles),
27
27
  css`
28
- :host {
29
- display: grid;
30
- position: relative;
31
- width: 100%;
32
- }
33
-
34
- slot {
35
- display: contents;
36
- }
37
-
38
- :host([mode="portfolio"]) {
39
- --portfolio-cols: 120px 480px 40px;
40
- --portfolio-rows: 120px 120px 60px 180px 60px 120px 60px 20px 120px 120px;
41
- --portfolio-areas: "square . ." ". title ." ". header ." ". projects ."
42
- ". . ." ". bio ." ". . ." ". nav ." ". . ." ". footer ." ". . .";
43
- --portfolio-overlay-cols: 120px 480px;
44
- --portfolio-overlay-areas: "square ." ". title" ". header" ". projects"
45
- ". ." ". bio" ". ." ". nav" ". ." ". footer" ". .";
46
- grid-template-columns: var(--portfolio-cols);
47
- grid-template-rows: var(--portfolio-rows);
48
- grid-template-areas: var(--portfolio-areas);
49
- min-height: 600px;
50
- background-color: rgba(165, 165, 165, 0.03);
51
- max-width: 640px;
52
- margin: 0;
53
- }
54
-
55
- :host([mode="portfolio"]) .view-overlay {
56
- grid-template-columns: var(--portfolio-overlay-cols);
57
- grid-template-rows: var(--portfolio-rows);
58
- grid-template-areas: var(--portfolio-overlay-areas);
59
- }
60
-
61
- :host([mode="company"]) {
62
- --company-cols: auto 400px auto;
63
- --company-rows: 80px 20px 20px 120px 20px 120px;
64
- --company-areas: ". . ." ". header ." ". . ." ". content ." ". . ."
65
- ". footer .";
66
- grid-template-columns: var(--company-cols);
67
- grid-template-rows: var(--company-rows);
68
- grid-template-areas: var(--company-areas);
69
- gap: 0;
70
- max-width: 100%;
71
- }
72
-
73
- :host([mode="company"]) .view-overlay {
74
- grid-template-columns: var(--company-cols);
75
- grid-template-rows: var(--company-rows);
76
- grid-template-areas: var(--company-areas);
77
- gap: 0;
78
- }
79
-
80
- :host([align="left"]),
81
- :host([mode="portfolio"][align="left"]),
82
- :host([mode="company"][align="left"]),
83
- :host([mode="app"][align="left"]),
84
- :host([mode="list"][align="left"]),
85
- :host([mode="home"][align="left"]) {
86
- margin: 0;
87
- justify-self: start;
88
- }
89
-
90
- :host([align="center"]),
91
- :host([mode="portfolio"][align="center"]),
92
- :host([mode="company"][align="center"]),
93
- :host([mode="app"][align="center"]),
94
- :host([mode="list"][align="center"]),
95
- :host([mode="home"][align="center"]) {
96
- margin: 0 auto;
97
- justify-self: center;
98
- }
99
-
100
- :host([align="right"]),
101
- :host([mode="portfolio"][align="right"]),
102
- :host([mode="company"][align="right"]),
103
- :host([mode="app"][align="right"]),
104
- :host([mode="list"][align="right"]),
105
- :host([mode="home"][align="right"]) {
106
- margin: 0 0 0 auto;
107
- justify-self: end;
108
- }
109
-
110
- /* App mode - Base */
111
- :host([mode="app"]) {
112
- --app-cols: 100%;
113
- --app-overlay-cols: 100%;
114
- grid-template-columns: var(--app-cols);
115
- grid-template-rows: var(--app-layout);
116
- grid-template-areas: var(--app-layout-areas);
117
- min-height: 100vh;
118
- background-color: transparent;
119
- width: calc(240px * var(--sf, 1));
120
- max-width: calc(240px * var(--sf, 1));
121
- margin: 0 auto;
122
- }
123
-
124
- :host([mode="app"]) .view-overlay {
125
- grid-template-columns: var(--app-overlay-cols);
126
- grid-template-rows: var(--app-layout);
127
- grid-template-areas: var(--app-layout-areas);
128
- }
129
-
130
- /* List mode - Base */
131
- :host([mode="list"]) {
132
- --list-cols: 100%;
133
- --list-rows: calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf))
134
- calc(var(--unit) * var(--sf)) calc(var(--twenty) * var(--sf));
135
- --list-areas: "banner" "." "header" "board";
136
- --list-overlay-cols: 100%;
137
- --list-overlay-rows: calc(var(--unit) * var(--sf))
138
- calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf))
139
- calc(var(--twenty) * var(--sf));
140
- --list-overlay-areas: "banner" "." "header" "board";
141
- grid-template-columns: var(--list-cols);
142
- grid-template-rows: var(--list-rows);
143
- grid-template-areas: var(--list-areas);
144
- min-height: 100vh;
145
- background-color: transparent;
146
- width: calc(240px * var(--sf, 1));
147
- max-width: calc(240px * var(--sf, 1));
148
- margin: 0 auto;
149
- }
150
-
151
- :host([mode="list"]) .view-overlay {
152
- grid-template-columns: var(--list-overlay-cols);
153
- grid-template-rows: var(--list-overlay-rows);
154
- grid-template-areas: var(--list-overlay-areas);
155
- }
156
-
157
- /* Home mode - Base */
158
- :host([mode="home"]) {
159
- --home-cols: 100%;
160
- --home-areas: "banner" "." "header" "." "message" "lists" "." "footer";
161
- --home-overlay-cols: 100%;
162
- --home-overlay-areas: "banner" "." "header" "." "message" "lists" "."
163
- "footer";
164
- grid-template-columns: var(--home-cols);
165
- grid-template-rows: var(--home-layout);
166
- grid-template-areas: var(--home-areas);
167
- min-height: 100vh;
168
- background-color: transparent;
169
- width: calc(240px * var(--sf, 1));
170
- max-width: calc(240px * var(--sf, 1));
171
- margin: 0 auto;
172
- }
173
-
174
- :host([mode="home"]) .view-overlay {
175
- grid-template-columns: var(--home-overlay-cols);
176
- grid-template-rows: var(--home-layout);
177
- grid-template-areas: var(--home-overlay-areas);
178
- }
179
-
180
- .view-overlay {
181
- position: absolute;
182
- margin-left: -1px;
183
- top: 0;
184
- left: 0;
185
- right: 0;
186
- bottom: 0;
187
- pointer-events: none;
188
- z-index: 1000;
189
- display: grid;
190
- }
191
-
192
- .view-area {
193
- display: flex;
194
- width: calc(240px * var(--sf, 1));
195
- height: 100%;
196
- align-items: center;
197
- justify-content: center;
198
- font-family: var(--typeface-regular);
199
- font-size: calc(var(--type-size-default) * var(--05));
200
- color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
201
- background-color: color-mix(
202
- in srgb,
203
- var(--accent-color) 25%,
204
- transparent
205
- );
206
- opacity: 1;
207
- position: relative;
208
- }
209
-
210
- .grid-area-label {
211
- position: absolute;
212
- top: calc(-20px * var(--sf, 1));
213
- left: 0;
214
- height: calc(20px * var(--sf, 1));
215
- width: fit-content;
216
- display: inline-flex;
217
- align-items: center;
218
- justify-content: center;
219
- padding: 0 calc(4px * var(--sf, 1));
220
- border-radius: calc(2px * var(--sf, 1));
221
- z-index: 10000;
222
- pointer-events: none;
223
- white-space: nowrap;
224
- }
225
-
226
- /* Banner label stays inside the area (first item) */
227
- :host([mode="app"]) .view-area.view-banner .grid-area-label,
228
- :host([mode="list"]) .view-area.view-banner .grid-area-label,
229
- :host([mode="home"]) .view-area.view-banner .grid-area-label,
230
- :host([mode="company"]) .view-area.view-header .grid-area-label,
231
- :host([mode="portfolio"]) .view-area.view-square .grid-area-label {
232
- top: 0;
233
- }
234
-
235
- .grid-area-label ds-text {
236
- font-size: calc(11px * var(--sf, 1));
237
- line-height: 1;
238
- color: white;
239
- text-transform: lowercase;
240
- }
241
-
242
- :host([mode="portfolio"]) .view-area:nth-of-type(1) {
243
- background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
244
- }
245
- :host([mode="portfolio"]) .view-area:nth-of-type(1) .grid-area-label {
246
- background-image:
247
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
248
- linear-gradient(
249
- 90deg,
250
- color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
251
- color-mix(in srgb, var(--tuned-red) 70%, black) 100%
28
+ :host {
29
+ display: grid;
30
+ position: relative;
31
+ width: 100%;
32
+ }
33
+
34
+ slot {
35
+ display: contents;
36
+ }
37
+
38
+ :host([mode="portfolio"]) {
39
+ --portfolio-cols: 120px 480px 40px;
40
+ --portfolio-rows: 120px 120px 60px 180px 60px 120px 60px 20px 120px
41
+ 120px;
42
+ --portfolio-areas: "square . ." ". title ." ". header ." ". projects ."
43
+ ". . ." ". bio ." ". . ." ". nav ." ". . ." ". footer ." ". . .";
44
+ --portfolio-overlay-cols: 120px 480px;
45
+ --portfolio-overlay-areas: "square ." ". title" ". header" ". projects"
46
+ ". ." ". bio" ". ." ". nav" ". ." ". footer" ". .";
47
+ grid-template-columns: var(--portfolio-cols);
48
+ grid-template-rows: var(--portfolio-rows);
49
+ grid-template-areas: var(--portfolio-areas);
50
+ min-height: 600px;
51
+ background-color: rgba(165, 165, 165, 0.03);
52
+ max-width: 640px;
53
+ margin: 0;
54
+ }
55
+
56
+ :host([mode="portfolio"]) .view-overlay {
57
+ grid-template-columns: var(--portfolio-overlay-cols);
58
+ grid-template-rows: var(--portfolio-rows);
59
+ grid-template-areas: var(--portfolio-overlay-areas);
60
+ }
61
+
62
+ :host([mode="company"]) {
63
+ --company-cols: auto 400px auto;
64
+ --company-rows: 80px 20px 20px 120px 20px 120px;
65
+ --company-areas: ". . ." ". header ." ". . ." ". content ." ". . ."
66
+ ". footer .";
67
+ grid-template-columns: var(--company-cols);
68
+ grid-template-rows: var(--company-rows);
69
+ grid-template-areas: var(--company-areas);
70
+ gap: 0;
71
+ max-width: 100%;
72
+ }
73
+
74
+ :host([mode="company"]) .view-overlay {
75
+ grid-template-columns: var(--company-cols);
76
+ grid-template-rows: var(--company-rows);
77
+ grid-template-areas: var(--company-areas);
78
+ gap: 0;
79
+ }
80
+
81
+ :host([align="left"]),
82
+ :host([mode="portfolio"][align="left"]),
83
+ :host([mode="company"][align="left"]),
84
+ :host([mode="app"][align="left"]),
85
+ :host([mode="list"][align="left"]),
86
+ :host([mode="home"][align="left"]),
87
+ :host([mode="settings"][align="left"]) {
88
+ margin: 0;
89
+ justify-self: start;
90
+ }
91
+
92
+ :host([align="center"]),
93
+ :host([mode="portfolio"][align="center"]),
94
+ :host([mode="company"][align="center"]),
95
+ :host([mode="app"][align="center"]),
96
+ :host([mode="list"][align="center"]),
97
+ :host([mode="home"][align="center"]),
98
+ :host([mode="settings"][align="center"]) {
99
+ margin: 0 auto;
100
+ justify-self: center;
101
+ }
102
+
103
+ :host([align="right"]),
104
+ :host([mode="portfolio"][align="right"]),
105
+ :host([mode="company"][align="right"]),
106
+ :host([mode="app"][align="right"]),
107
+ :host([mode="list"][align="right"]),
108
+ :host([mode="home"][align="right"]),
109
+ :host([mode="settings"][align="right"]) {
110
+ margin: 0 0 0 auto;
111
+ justify-self: end;
112
+ }
113
+
114
+ /* App mode - Base */
115
+ :host([mode="app"]) {
116
+ --app-cols: 100%;
117
+ --app-overlay-cols: 100%;
118
+ grid-template-columns: var(--app-cols);
119
+ grid-template-rows: var(--app-layout);
120
+ grid-template-areas: var(--app-layout-areas);
121
+ min-height: 100vh;
122
+ background-color: transparent;
123
+ width: calc(240px * var(--sf, 1));
124
+ max-width: calc(240px * var(--sf, 1));
125
+ margin: 0 auto;
126
+ }
127
+
128
+ :host([mode="app"]) .view-overlay {
129
+ grid-template-columns: var(--app-overlay-cols);
130
+ grid-template-rows: var(--app-layout);
131
+ grid-template-areas: var(--app-layout-areas);
132
+ }
133
+
134
+ /* List mode - Base */
135
+ :host([mode="list"]) {
136
+ --list-cols: 100%;
137
+ --list-rows: calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf))
138
+ calc(var(--unit) * var(--sf)) calc(var(--twenty) * var(--sf));
139
+ --list-areas: "banner" "." "header" "board";
140
+ --list-overlay-cols: 100%;
141
+ --list-overlay-rows: calc(var(--unit) * var(--sf))
142
+ calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf))
143
+ calc(var(--twenty) * var(--sf));
144
+ --list-overlay-areas: "banner" "." "header" "board";
145
+ grid-template-columns: var(--list-cols);
146
+ grid-template-rows: var(--list-rows);
147
+ grid-template-areas: var(--list-areas);
148
+ min-height: 100vh;
149
+ background-color: transparent;
150
+ width: calc(240px * var(--sf, 1));
151
+ max-width: calc(240px * var(--sf, 1));
152
+ margin: 0 auto;
153
+ }
154
+
155
+ :host([mode="list"]) .view-overlay {
156
+ grid-template-columns: var(--list-overlay-cols);
157
+ grid-template-rows: var(--list-overlay-rows);
158
+ grid-template-areas: var(--list-overlay-areas);
159
+ }
160
+
161
+ /* Home mode - Base */
162
+ :host([mode="home"]) {
163
+ --home-cols: 100%;
164
+ --home-areas: "banner" "." "header" "." "lists";
165
+ --home-overlay-cols: 100%;
166
+ --home-overlay-areas: "banner" "." "header" "." "lists";
167
+ grid-template-columns: var(--home-cols);
168
+ grid-template-rows: var(--home-layout);
169
+ grid-template-areas: var(--home-areas);
170
+ min-height: 100vh;
171
+ background-color: transparent;
172
+ width: calc(240px * var(--sf, 1));
173
+ max-width: calc(240px * var(--sf, 1));
174
+ margin: 0 auto;
175
+ }
176
+
177
+ :host([mode="home"]) .view-overlay {
178
+ grid-template-columns: var(--home-overlay-cols);
179
+ grid-template-rows: var(--home-layout);
180
+ grid-template-areas: var(--home-overlay-areas);
181
+ }
182
+
183
+ /* Settings mode - Base */
184
+ :host([mode="settings"]) {
185
+ --settings-cols: 100%;
186
+ --settings-overlay-cols: 100%;
187
+ grid-template-columns: var(--settings-cols);
188
+ grid-template-rows: var(--settings-layout);
189
+ grid-template-areas: var(--settings-layout-areas);
190
+ min-height: 100vh;
191
+ background-color: transparent;
192
+ width: calc(240px * var(--sf, 1));
193
+ max-width: calc(240px * var(--sf, 1));
194
+ margin: 0 auto;
195
+ }
196
+
197
+ :host([mode="settings"]) .view-overlay {
198
+ grid-template-columns: var(--settings-overlay-cols);
199
+ grid-template-rows: var(--settings-layout);
200
+ grid-template-areas: var(--settings-layout-areas);
201
+ }
202
+
203
+ .view-overlay {
204
+ position: absolute;
205
+ margin-left: -1px;
206
+ top: 0;
207
+ left: 0;
208
+ right: 0;
209
+ bottom: 0;
210
+ pointer-events: none;
211
+ z-index: 1000;
212
+ display: grid;
213
+ }
214
+
215
+ .view-area {
216
+ display: flex;
217
+ width: calc(240px * var(--sf, 1));
218
+ height: 100%;
219
+ align-items: center;
220
+ justify-content: center;
221
+ font-family: var(--typeface-regular);
222
+ font-size: calc(var(--type-size-default) * var(--05));
223
+ color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
224
+ background-color: color-mix(
225
+ in srgb,
226
+ var(--accent-color) 25%,
227
+ transparent
252
228
  );
253
- }
254
- :host([mode="portfolio"]) .view-area:nth-of-type(2) {
255
- border-color: var(--sharp-blue);
256
- }
257
- :host([mode="portfolio"]) .view-area:nth-of-type(2) .grid-area-label {
258
- background-image:
259
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
260
- linear-gradient(
261
- 90deg,
262
- color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
263
- color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
229
+ opacity: 1;
230
+ position: relative;
231
+ }
232
+
233
+ .grid-area-label {
234
+ position: absolute;
235
+ top: calc(-20px * var(--sf, 1));
236
+ left: 0;
237
+ height: calc(20px * var(--sf, 1));
238
+ width: fit-content;
239
+ display: inline-flex;
240
+ align-items: center;
241
+ justify-content: center;
242
+ padding: 0 calc(4px * var(--sf, 1));
243
+ border-radius: calc(2px * var(--sf, 1));
244
+ z-index: 10000;
245
+ pointer-events: none;
246
+ white-space: nowrap;
247
+ }
248
+
249
+ /* Banner label stays inside the area (first item) */
250
+ :host([mode="app"]) .view-area.view-banner .grid-area-label,
251
+ :host([mode="list"]) .view-area.view-banner .grid-area-label,
252
+ :host([mode="home"]) .view-area.view-banner .grid-area-label,
253
+ :host([mode="settings"]) .view-area.view-banner .grid-area-label,
254
+ :host([mode="company"]) .view-area.view-header .grid-area-label,
255
+ :host([mode="portfolio"]) .view-area.view-square .grid-area-label {
256
+ top: 0;
257
+ }
258
+
259
+ .grid-area-label ds-text {
260
+ font-size: calc(11px * var(--sf, 1));
261
+ line-height: 1;
262
+ color: white;
263
+ text-transform: lowercase;
264
+ }
265
+
266
+ :host([mode="portfolio"]) .view-area:nth-of-type(1) {
267
+ background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
268
+ }
269
+ :host([mode="portfolio"]) .view-area:nth-of-type(1) .grid-area-label {
270
+ background-image:
271
+ linear-gradient(
272
+ 90deg,
273
+ rgba(0, 0, 0, 0.2) 0%,
274
+ rgba(0, 0, 0, 0.2) 100%
275
+ ),
276
+ linear-gradient(
277
+ 90deg,
278
+ color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
279
+ color-mix(in srgb, var(--tuned-red) 70%, black) 100%
280
+ );
281
+ }
282
+ :host([mode="portfolio"]) .view-area:nth-of-type(2) {
283
+ border-color: var(--sharp-blue);
284
+ }
285
+ :host([mode="portfolio"]) .view-area:nth-of-type(2) .grid-area-label {
286
+ background-image:
287
+ linear-gradient(
288
+ 90deg,
289
+ rgba(0, 0, 0, 0.2) 0%,
290
+ rgba(0, 0, 0, 0.2) 100%
291
+ ),
292
+ linear-gradient(
293
+ 90deg,
294
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
295
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
296
+ );
297
+ }
298
+ :host([mode="portfolio"]) .view-area:nth-of-type(3) {
299
+ border-color: var(--yellow);
300
+ }
301
+ :host([mode="portfolio"]) .view-area:nth-of-type(3) .grid-area-label {
302
+ background-image:
303
+ linear-gradient(
304
+ 90deg,
305
+ rgba(0, 0, 0, 0.2) 0%,
306
+ rgba(0, 0, 0, 0.2) 100%
307
+ ),
308
+ linear-gradient(
309
+ 90deg,
310
+ color-mix(in srgb, var(--yellow) 70%, black) 0%,
311
+ color-mix(in srgb, var(--yellow) 70%, black) 100%
312
+ );
313
+ }
314
+ :host([mode="portfolio"]) .view-area:nth-of-type(4) {
315
+ border-color: var(--apple-green);
316
+ }
317
+ :host([mode="portfolio"]) .view-area:nth-of-type(4) .grid-area-label {
318
+ background-image:
319
+ linear-gradient(
320
+ 90deg,
321
+ rgba(0, 0, 0, 0.2) 0%,
322
+ rgba(0, 0, 0, 0.2) 100%
323
+ ),
324
+ linear-gradient(
325
+ 90deg,
326
+ color-mix(in srgb, var(--apple-green) 70%, black) 0%,
327
+ color-mix(in srgb, var(--apple-green) 70%, black) 100%
328
+ );
329
+ }
330
+ :host([mode="portfolio"]) .view-area:nth-of-type(5) {
331
+ border-color: var(--pink);
332
+ }
333
+ :host([mode="portfolio"]) .view-area:nth-of-type(5) .grid-area-label {
334
+ background-image:
335
+ linear-gradient(
336
+ 90deg,
337
+ rgba(0, 0, 0, 0.2) 0%,
338
+ rgba(0, 0, 0, 0.2) 100%
339
+ ),
340
+ linear-gradient(
341
+ 90deg,
342
+ color-mix(in srgb, var(--pink) 70%, black) 0%,
343
+ color-mix(in srgb, var(--pink) 70%, black) 100%
344
+ );
345
+ }
346
+ :host([mode="portfolio"]) .view-area:nth-of-type(6) {
347
+ border-color: var(--orange);
348
+ }
349
+ :host([mode="portfolio"]) .view-area:nth-of-type(6) .grid-area-label {
350
+ background-image:
351
+ linear-gradient(
352
+ 90deg,
353
+ rgba(0, 0, 0, 0.2) 0%,
354
+ rgba(0, 0, 0, 0.2) 100%
355
+ ),
356
+ linear-gradient(
357
+ 90deg,
358
+ color-mix(in srgb, var(--orange) 70%, black) 0%,
359
+ color-mix(in srgb, var(--orange) 70%, black) 100%
360
+ );
361
+ }
362
+ :host([mode="portfolio"]) .view-area:nth-of-type(7) {
363
+ border-color: var(--zenith-blue);
364
+ }
365
+ :host([mode="portfolio"]) .view-area:nth-of-type(7) .grid-area-label {
366
+ background-image:
367
+ linear-gradient(
368
+ 90deg,
369
+ rgba(0, 0, 0, 0.2) 0%,
370
+ rgba(0, 0, 0, 0.2) 100%
371
+ ),
372
+ linear-gradient(
373
+ 90deg,
374
+ color-mix(in srgb, var(--zenith-blue) 70%, black) 0%,
375
+ color-mix(in srgb, var(--zenith-blue) 70%, black) 100%
376
+ );
377
+ }
378
+
379
+ :host([mode="company"]) .view-area:nth-of-type(1) {
380
+ border-color: var(--tuned-red);
381
+ }
382
+ :host([mode="company"]) .view-area:nth-of-type(1) .grid-area-label {
383
+ background-image:
384
+ linear-gradient(
385
+ 90deg,
386
+ rgba(0, 0, 0, 0.2) 0%,
387
+ rgba(0, 0, 0, 0.2) 100%
388
+ ),
389
+ linear-gradient(
390
+ 90deg,
391
+ color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
392
+ color-mix(in srgb, var(--tuned-red) 70%, black) 100%
393
+ );
394
+ }
395
+ :host([mode="company"]) .view-area:nth-of-type(2) {
396
+ border-color: var(--sharp-blue);
397
+ }
398
+ :host([mode="company"]) .view-area:nth-of-type(2) .grid-area-label {
399
+ background-image:
400
+ linear-gradient(
401
+ 90deg,
402
+ rgba(0, 0, 0, 0.2) 0%,
403
+ rgba(0, 0, 0, 0.2) 100%
404
+ ),
405
+ linear-gradient(
406
+ 90deg,
407
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
408
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
409
+ );
410
+ }
411
+ :host([mode="company"]) .view-area:nth-of-type(3) {
412
+ border-color: var(--yellow);
413
+ }
414
+ :host([mode="company"]) .view-area:nth-of-type(3) .grid-area-label {
415
+ background-image:
416
+ linear-gradient(
417
+ 90deg,
418
+ rgba(0, 0, 0, 0.2) 0%,
419
+ rgba(0, 0, 0, 0.2) 100%
420
+ ),
421
+ linear-gradient(
422
+ 90deg,
423
+ color-mix(in srgb, var(--yellow) 70%, black) 0%,
424
+ color-mix(in srgb, var(--yellow) 70%, black) 100%
425
+ );
426
+ }
427
+
428
+ :host([mode="app"]) .view-area:nth-of-type(1) {
429
+ background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
430
+ }
431
+ :host([mode="app"]) .view-area:nth-of-type(1) .grid-area-label {
432
+ background-image:
433
+ linear-gradient(
434
+ 90deg,
435
+ rgba(0, 0, 0, 0.2) 0%,
436
+ rgba(0, 0, 0, 0.2) 100%
437
+ ),
438
+ linear-gradient(
439
+ 90deg,
440
+ color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
441
+ color-mix(in srgb, var(--tuned-red) 70%, black) 100%
442
+ );
443
+ }
444
+ :host([mode="app"]) .view-area:nth-of-type(2) {
445
+ background-color: color-mix(
446
+ in srgb,
447
+ var(--sharp-blue) 25%,
448
+ transparent
264
449
  );
265
- }
266
- :host([mode="portfolio"]) .view-area:nth-of-type(3) {
267
- border-color: var(--yellow);
268
- }
269
- :host([mode="portfolio"]) .view-area:nth-of-type(3) .grid-area-label {
270
- background-image:
271
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
272
- linear-gradient(
273
- 90deg,
274
- color-mix(in srgb, var(--yellow) 70%, black) 0%,
275
- color-mix(in srgb, var(--yellow) 70%, black) 100%
450
+ }
451
+ :host([mode="app"]) .view-area:nth-of-type(2) .grid-area-label {
452
+ background-image:
453
+ linear-gradient(
454
+ 90deg,
455
+ rgba(0, 0, 0, 0.2) 0%,
456
+ rgba(0, 0, 0, 0.2) 100%
457
+ ),
458
+ linear-gradient(
459
+ 90deg,
460
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
461
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
462
+ );
463
+ }
464
+ :host([mode="app"]) .view-area:nth-of-type(3) {
465
+ background-color: color-mix(in srgb, var(--yellow) 25%, transparent);
466
+ }
467
+ :host([mode="app"]) .view-area:nth-of-type(3) .grid-area-label {
468
+ background-image:
469
+ linear-gradient(
470
+ 90deg,
471
+ rgba(0, 0, 0, 0.2) 0%,
472
+ rgba(0, 0, 0, 0.2) 100%
473
+ ),
474
+ linear-gradient(
475
+ 90deg,
476
+ color-mix(in srgb, var(--yellow) 70%, black) 0%,
477
+ color-mix(in srgb, var(--yellow) 70%, black) 100%
478
+ );
479
+ }
480
+ :host([mode="app"]) .view-area:nth-of-type(4) {
481
+ background-color: color-mix(
482
+ in srgb,
483
+ var(--apple-green) 25%,
484
+ transparent
276
485
  );
277
- }
278
- :host([mode="portfolio"]) .view-area:nth-of-type(4) {
279
- border-color: var(--apple-green);
280
- }
281
- :host([mode="portfolio"]) .view-area:nth-of-type(4) .grid-area-label {
282
- background-image:
283
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
284
- linear-gradient(
285
- 90deg,
286
- color-mix(in srgb, var(--apple-green) 70%, black) 0%,
287
- color-mix(in srgb, var(--apple-green) 70%, black) 100%
486
+ }
487
+ :host([mode="app"]) .view-area:nth-of-type(4) .grid-area-label {
488
+ background-image:
489
+ linear-gradient(
490
+ 90deg,
491
+ rgba(0, 0, 0, 0.2) 0%,
492
+ rgba(0, 0, 0, 0.2) 100%
493
+ ),
494
+ linear-gradient(
495
+ 90deg,
496
+ color-mix(in srgb, var(--apple-green) 70%, black) 0%,
497
+ color-mix(in srgb, var(--apple-green) 70%, black) 100%
498
+ );
499
+ }
500
+ :host([mode="app"]) .view-area:nth-of-type(5) {
501
+ background-color: color-mix(in srgb, var(--pink) 25%, transparent);
502
+ }
503
+ :host([mode="app"]) .view-area:nth-of-type(5) .grid-area-label {
504
+ background-image:
505
+ linear-gradient(
506
+ 90deg,
507
+ rgba(0, 0, 0, 0.2) 0%,
508
+ rgba(0, 0, 0, 0.2) 100%
509
+ ),
510
+ linear-gradient(
511
+ 90deg,
512
+ color-mix(in srgb, var(--pink) 70%, black) 0%,
513
+ color-mix(in srgb, var(--pink) 70%, black) 100%
514
+ );
515
+ }
516
+
517
+ :host([mode="list"]) .view-area:nth-of-type(1) {
518
+ background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
519
+ }
520
+ :host([mode="list"]) .view-area:nth-of-type(1) .grid-area-label {
521
+ background-image:
522
+ linear-gradient(
523
+ 90deg,
524
+ rgba(0, 0, 0, 0.2) 0%,
525
+ rgba(0, 0, 0, 0.2) 100%
526
+ ),
527
+ linear-gradient(
528
+ 90deg,
529
+ color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
530
+ color-mix(in srgb, var(--tuned-red) 70%, black) 100%
531
+ );
532
+ }
533
+ :host([mode="list"]) .view-area:nth-of-type(2) {
534
+ background-color: color-mix(
535
+ in srgb,
536
+ var(--sharp-blue) 25%,
537
+ transparent
288
538
  );
289
- }
290
- :host([mode="portfolio"]) .view-area:nth-of-type(5) {
291
- border-color: var(--pink);
292
- }
293
- :host([mode="portfolio"]) .view-area:nth-of-type(5) .grid-area-label {
294
- background-image:
295
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
296
- linear-gradient(
297
- 90deg,
298
- color-mix(in srgb, var(--pink) 70%, black) 0%,
299
- color-mix(in srgb, var(--pink) 70%, black) 100%
539
+ }
540
+ :host([mode="list"]) .view-area:nth-of-type(2) .grid-area-label {
541
+ background-image:
542
+ linear-gradient(
543
+ 90deg,
544
+ rgba(0, 0, 0, 0.2) 0%,
545
+ rgba(0, 0, 0, 0.2) 100%
546
+ ),
547
+ linear-gradient(
548
+ 90deg,
549
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
550
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
551
+ );
552
+ }
553
+ :host([mode="list"]) .view-area:nth-of-type(3) {
554
+ background-color: color-mix(in srgb, var(--yellow) 25%, transparent);
555
+ }
556
+ :host([mode="list"]) .view-area:nth-of-type(3) .grid-area-label {
557
+ background-image:
558
+ linear-gradient(
559
+ 90deg,
560
+ rgba(0, 0, 0, 0.2) 0%,
561
+ rgba(0, 0, 0, 0.2) 100%
562
+ ),
563
+ linear-gradient(
564
+ 90deg,
565
+ color-mix(in srgb, var(--yellow) 70%, black) 0%,
566
+ color-mix(in srgb, var(--yellow) 70%, black) 100%
567
+ );
568
+ }
569
+ :host([mode="list"]) .view-area:nth-of-type(4) {
570
+ background-color: color-mix(
571
+ in srgb,
572
+ var(--apple-green) 25%,
573
+ transparent
300
574
  );
301
- }
302
- :host([mode="portfolio"]) .view-area:nth-of-type(6) {
303
- border-color: var(--orange);
304
- }
305
- :host([mode="portfolio"]) .view-area:nth-of-type(6) .grid-area-label {
306
- background-image:
307
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
308
- linear-gradient(
309
- 90deg,
310
- color-mix(in srgb, var(--orange) 70%, black) 0%,
311
- color-mix(in srgb, var(--orange) 70%, black) 100%
575
+ }
576
+ :host([mode="list"]) .view-area:nth-of-type(4) .grid-area-label {
577
+ background-image:
578
+ linear-gradient(
579
+ 90deg,
580
+ rgba(0, 0, 0, 0.2) 0%,
581
+ rgba(0, 0, 0, 0.2) 100%
582
+ ),
583
+ linear-gradient(
584
+ 90deg,
585
+ color-mix(in srgb, var(--apple-green) 70%, black) 0%,
586
+ color-mix(in srgb, var(--apple-green) 70%, black) 100%
587
+ );
588
+ }
589
+
590
+ :host([mode="home"]) .view-area:nth-of-type(1) {
591
+ background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
592
+ }
593
+ :host([mode="home"]) .view-area:nth-of-type(1) .grid-area-label {
594
+ background-image:
595
+ linear-gradient(
596
+ 90deg,
597
+ rgba(0, 0, 0, 0.2) 0%,
598
+ rgba(0, 0, 0, 0.2) 100%
599
+ ),
600
+ linear-gradient(
601
+ 90deg,
602
+ color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
603
+ color-mix(in srgb, var(--tuned-red) 70%, black) 100%
604
+ );
605
+ }
606
+ :host([mode="home"]) .view-area:nth-of-type(2) {
607
+ background-color: color-mix(
608
+ in srgb,
609
+ var(--sharp-blue) 25%,
610
+ transparent
312
611
  );
313
- }
314
- :host([mode="portfolio"]) .view-area:nth-of-type(7) {
315
- border-color: var(--zenith-blue);
316
- }
317
- :host([mode="portfolio"]) .view-area:nth-of-type(7) .grid-area-label {
318
- background-image:
319
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
320
- linear-gradient(
321
- 90deg,
322
- color-mix(in srgb, var(--zenith-blue) 70%, black) 0%,
323
- color-mix(in srgb, var(--zenith-blue) 70%, black) 100%
612
+ }
613
+ :host([mode="home"]) .view-area:nth-of-type(2) .grid-area-label {
614
+ background-image:
615
+ linear-gradient(
616
+ 90deg,
617
+ rgba(0, 0, 0, 0.2) 0%,
618
+ rgba(0, 0, 0, 0.2) 100%
619
+ ),
620
+ linear-gradient(
621
+ 90deg,
622
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
623
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
624
+ );
625
+ }
626
+ :host([mode="home"]) .view-area:nth-of-type(3) {
627
+ background-color: color-mix(in srgb, var(--yellow) 25%, transparent);
628
+ }
629
+ :host([mode="home"]) .view-area:nth-of-type(3) .grid-area-label {
630
+ background-image:
631
+ linear-gradient(
632
+ 90deg,
633
+ rgba(0, 0, 0, 0.2) 0%,
634
+ rgba(0, 0, 0, 0.2) 100%
635
+ ),
636
+ linear-gradient(
637
+ 90deg,
638
+ color-mix(in srgb, var(--yellow) 70%, black) 0%,
639
+ color-mix(in srgb, var(--yellow) 70%, black) 100%
640
+ );
641
+ }
642
+ :host([mode="home"]) .view-area:nth-of-type(4) {
643
+ background-color: color-mix(
644
+ in srgb,
645
+ var(--apple-green) 25%,
646
+ transparent
324
647
  );
325
- }
326
-
327
- :host([mode="company"]) .view-area:nth-of-type(1) {
328
- border-color: var(--tuned-red);
329
- }
330
- :host([mode="company"]) .view-area:nth-of-type(1) .grid-area-label {
331
- background-image:
332
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
333
- linear-gradient(
334
- 90deg,
335
- color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
336
- color-mix(in srgb, var(--tuned-red) 70%, black) 100%
648
+ }
649
+ :host([mode="home"]) .view-area:nth-of-type(4) .grid-area-label {
650
+ background-image:
651
+ linear-gradient(
652
+ 90deg,
653
+ rgba(0, 0, 0, 0.2) 0%,
654
+ rgba(0, 0, 0, 0.2) 100%
655
+ ),
656
+ linear-gradient(
657
+ 90deg,
658
+ color-mix(in srgb, var(--apple-green) 70%, black) 0%,
659
+ color-mix(in srgb, var(--apple-green) 70%, black) 100%
660
+ );
661
+ }
662
+ :host([mode="home"]) .view-area:nth-of-type(5) {
663
+ background-color: color-mix(in srgb, var(--pink) 25%, transparent);
664
+ }
665
+ :host([mode="home"]) .view-area:nth-of-type(5) .grid-area-label {
666
+ background-image:
667
+ linear-gradient(
668
+ 90deg,
669
+ rgba(0, 0, 0, 0.2) 0%,
670
+ rgba(0, 0, 0, 0.2) 100%
671
+ ),
672
+ linear-gradient(
673
+ 90deg,
674
+ color-mix(in srgb, var(--pink) 70%, black) 0%,
675
+ color-mix(in srgb, var(--pink) 70%, black) 100%
676
+ );
677
+ }
678
+
679
+ .view-square {
680
+ grid-area: square;
681
+ }
682
+
683
+ .view-title {
684
+ grid-area: title;
685
+ }
686
+
687
+ .view-header {
688
+ grid-area: header;
689
+ }
690
+
691
+ .view-projects {
692
+ grid-area: projects;
693
+ }
694
+
695
+ .view-bio {
696
+ grid-area: bio;
697
+ }
698
+
699
+ .view-nav {
700
+ grid-area: nav;
701
+ }
702
+
703
+ .view-footer {
704
+ grid-area: footer;
705
+ }
706
+
707
+ .view-content {
708
+ grid-area: content;
709
+ }
710
+
711
+ .view-banner {
712
+ grid-area: banner;
713
+ }
714
+
715
+ .view-main {
716
+ grid-area: main;
717
+ }
718
+
719
+ .view-page-dots {
720
+ grid-area: page-dots;
721
+ }
722
+
723
+ .view-board {
724
+ grid-area: board;
725
+ }
726
+
727
+ .view-message {
728
+ grid-area: message;
729
+ }
730
+
731
+ .view-lists {
732
+ grid-area: lists;
733
+ }
734
+
735
+ .view-settings {
736
+ grid-area: settings;
737
+ }
738
+
739
+ :host([mode="settings"]) .view-area:nth-of-type(1) {
740
+ background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
741
+ }
742
+ :host([mode="settings"]) .view-area:nth-of-type(1) .grid-area-label {
743
+ background-image:
744
+ linear-gradient(
745
+ 90deg,
746
+ rgba(0, 0, 0, 0.2) 0%,
747
+ rgba(0, 0, 0, 0.2) 100%
748
+ ),
749
+ linear-gradient(
750
+ 90deg,
751
+ color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
752
+ color-mix(in srgb, var(--tuned-red) 70%, black) 100%
753
+ );
754
+ }
755
+ :host([mode="settings"]) .view-area:nth-of-type(2) {
756
+ background-color: color-mix(
757
+ in srgb,
758
+ var(--sharp-blue) 25%,
759
+ transparent
337
760
  );
338
- }
339
- :host([mode="company"]) .view-area:nth-of-type(2) {
340
- border-color: var(--sharp-blue);
341
- }
342
- :host([mode="company"]) .view-area:nth-of-type(2) .grid-area-label {
343
- background-image:
344
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
345
- linear-gradient(
346
- 90deg,
347
- color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
348
- color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
349
- );
350
- }
351
- :host([mode="company"]) .view-area:nth-of-type(3) {
352
- border-color: var(--yellow);
353
- }
354
- :host([mode="company"]) .view-area:nth-of-type(3) .grid-area-label {
355
- background-image:
356
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
357
- linear-gradient(
358
- 90deg,
359
- color-mix(in srgb, var(--yellow) 70%, black) 0%,
360
- color-mix(in srgb, var(--yellow) 70%, black) 100%
361
- );
362
- }
363
-
364
- :host([mode="app"]) .view-area:nth-of-type(1) {
365
- background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
366
- }
367
- :host([mode="app"]) .view-area:nth-of-type(1) .grid-area-label {
368
- background-image:
369
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
370
- linear-gradient(
371
- 90deg,
372
- color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
373
- color-mix(in srgb, var(--tuned-red) 70%, black) 100%
374
- );
375
- }
376
- :host([mode="app"]) .view-area:nth-of-type(2) {
377
- background-color: color-mix(in srgb, var(--sharp-blue) 25%, transparent);
378
- }
379
- :host([mode="app"]) .view-area:nth-of-type(2) .grid-area-label {
380
- background-image:
381
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
382
- linear-gradient(
383
- 90deg,
384
- color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
385
- color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
386
- );
387
- }
388
- :host([mode="app"]) .view-area:nth-of-type(3) {
389
- background-color: color-mix(in srgb, var(--yellow) 25%, transparent);
390
- }
391
- :host([mode="app"]) .view-area:nth-of-type(3) .grid-area-label {
392
- background-image:
393
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
394
- linear-gradient(
395
- 90deg,
396
- color-mix(in srgb, var(--yellow) 70%, black) 0%,
397
- color-mix(in srgb, var(--yellow) 70%, black) 100%
398
- );
399
- }
400
- :host([mode="app"]) .view-area:nth-of-type(4) {
401
- background-color: color-mix(in srgb, var(--apple-green) 25%, transparent);
402
- }
403
- :host([mode="app"]) .view-area:nth-of-type(4) .grid-area-label {
404
- background-image:
405
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
406
- linear-gradient(
407
- 90deg,
408
- color-mix(in srgb, var(--apple-green) 70%, black) 0%,
409
- color-mix(in srgb, var(--apple-green) 70%, black) 100%
410
- );
411
- }
412
- :host([mode="app"]) .view-area:nth-of-type(5) {
413
- background-color: color-mix(in srgb, var(--pink) 25%, transparent);
414
- }
415
- :host([mode="app"]) .view-area:nth-of-type(5) .grid-area-label {
416
- background-image:
417
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
418
- linear-gradient(
419
- 90deg,
420
- color-mix(in srgb, var(--pink) 70%, black) 0%,
421
- color-mix(in srgb, var(--pink) 70%, black) 100%
422
- );
423
- }
424
-
425
- :host([mode="list"]) .view-area:nth-of-type(1) {
426
- background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
427
- }
428
- :host([mode="list"]) .view-area:nth-of-type(1) .grid-area-label {
429
- background-image:
430
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
431
- linear-gradient(
432
- 90deg,
433
- color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
434
- color-mix(in srgb, var(--tuned-red) 70%, black) 100%
435
- );
436
- }
437
- :host([mode="list"]) .view-area:nth-of-type(2) {
438
- background-color: color-mix(in srgb, var(--sharp-blue) 25%, transparent);
439
- }
440
- :host([mode="list"]) .view-area:nth-of-type(2) .grid-area-label {
441
- background-image:
442
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
443
- linear-gradient(
444
- 90deg,
445
- color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
446
- color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
447
- );
448
- }
449
- :host([mode="list"]) .view-area:nth-of-type(3) {
450
- background-color: color-mix(in srgb, var(--yellow) 25%, transparent);
451
- }
452
- :host([mode="list"]) .view-area:nth-of-type(3) .grid-area-label {
453
- background-image:
454
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
455
- linear-gradient(
456
- 90deg,
457
- color-mix(in srgb, var(--yellow) 70%, black) 0%,
458
- color-mix(in srgb, var(--yellow) 70%, black) 100%
459
- );
460
- }
461
- :host([mode="list"]) .view-area:nth-of-type(4) {
462
- background-color: color-mix(in srgb, var(--apple-green) 25%, transparent);
463
- }
464
- :host([mode="list"]) .view-area:nth-of-type(4) .grid-area-label {
465
- background-image:
466
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
467
- linear-gradient(
468
- 90deg,
469
- color-mix(in srgb, var(--apple-green) 70%, black) 0%,
470
- color-mix(in srgb, var(--apple-green) 70%, black) 100%
471
- );
472
- }
473
-
474
- :host([mode="home"]) .view-area:nth-of-type(1) {
475
- background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
476
- }
477
- :host([mode="home"]) .view-area:nth-of-type(1) .grid-area-label {
478
- background-image:
479
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
480
- linear-gradient(
481
- 90deg,
482
- color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
483
- color-mix(in srgb, var(--tuned-red) 70%, black) 100%
484
- );
485
- }
486
- :host([mode="home"]) .view-area:nth-of-type(2) {
487
- background-color: color-mix(in srgb, var(--sharp-blue) 25%, transparent);
488
- }
489
- :host([mode="home"]) .view-area:nth-of-type(2) .grid-area-label {
490
- background-image:
491
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
492
- linear-gradient(
493
- 90deg,
494
- color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
495
- color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
496
- );
497
- }
498
- :host([mode="home"]) .view-area:nth-of-type(3) {
499
- background-color: color-mix(in srgb, var(--yellow) 25%, transparent);
500
- }
501
- :host([mode="home"]) .view-area:nth-of-type(3) .grid-area-label {
502
- background-image:
503
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
504
- linear-gradient(
505
- 90deg,
506
- color-mix(in srgb, var(--yellow) 70%, black) 0%,
507
- color-mix(in srgb, var(--yellow) 70%, black) 100%
508
- );
509
- }
510
- :host([mode="home"]) .view-area:nth-of-type(4) {
511
- background-color: color-mix(in srgb, var(--apple-green) 25%, transparent);
512
- }
513
- :host([mode="home"]) .view-area:nth-of-type(4) .grid-area-label {
514
- background-image:
515
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
516
- linear-gradient(
517
- 90deg,
518
- color-mix(in srgb, var(--apple-green) 70%, black) 0%,
519
- color-mix(in srgb, var(--apple-green) 70%, black) 100%
520
- );
521
- }
522
- :host([mode="home"]) .view-area:nth-of-type(5) {
523
- background-color: color-mix(in srgb, var(--pink) 25%, transparent);
524
- }
525
- :host([mode="home"]) .view-area:nth-of-type(5) .grid-area-label {
526
- background-image:
527
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
528
- linear-gradient(
529
- 90deg,
530
- color-mix(in srgb, var(--pink) 70%, black) 0%,
531
- color-mix(in srgb, var(--pink) 70%, black) 100%
532
- );
533
- }
534
-
535
- .view-square {
536
- grid-area: square;
537
- }
538
-
539
- .view-title {
540
- grid-area: title;
541
- }
542
-
543
- .view-header {
544
- grid-area: header;
545
- }
546
-
547
- .view-projects {
548
- grid-area: projects;
549
- }
550
-
551
- .view-bio {
552
- grid-area: bio;
553
- }
554
-
555
- .view-nav {
556
- grid-area: nav;
557
- }
558
-
559
- .view-footer {
560
- grid-area: footer;
561
- }
562
-
563
- .view-content {
564
- grid-area: content;
565
- }
566
-
567
- .view-banner {
568
- grid-area: banner;
569
- }
570
-
571
- .view-main {
572
- grid-area: main;
573
- }
574
-
575
- .view-page-dots {
576
- grid-area: page-dots;
577
- }
578
-
579
- .view-board {
580
- grid-area: board;
581
- }
582
-
583
- .view-message {
584
- grid-area: message;
585
- }
586
-
587
- .view-lists {
588
- grid-area: lists;
589
- }
590
- `
761
+ }
762
+ :host([mode="settings"]) .view-area:nth-of-type(2) .grid-area-label {
763
+ background-image:
764
+ linear-gradient(
765
+ 90deg,
766
+ rgba(0, 0, 0, 0.2) 0%,
767
+ rgba(0, 0, 0, 0.2) 100%
768
+ ),
769
+ linear-gradient(
770
+ 90deg,
771
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
772
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
773
+ );
774
+ }
775
+ `,
591
776
  ];
592
777
 
593
778
  render() {
@@ -597,41 +782,27 @@ export class Layout extends LitElement {
597
782
  const isApp = this.mode === "app";
598
783
  const isList = this.mode === "list";
599
784
  const isHome = this.mode === "home";
785
+ const isSettings = this.mode === "settings";
600
786
 
601
787
  return html`
602
788
  <slot></slot>
603
789
  ${isView
604
790
  ? html`
605
791
  <div class="view-overlay">
606
- ${isHome
792
+ ${isSettings
607
793
  ? html`
608
794
  <div class="view-area view-banner">
609
795
  <div class="grid-area-label">
610
796
  <ds-text text="banner"></ds-text>
611
797
  </div>
612
798
  </div>
613
- <div class="view-area view-header">
614
- <div class="grid-area-label">
615
- <ds-text text="header"></ds-text>
616
- </div>
617
- </div>
618
- <div class="view-area view-message">
619
- <div class="grid-area-label">
620
- <ds-text text="message"></ds-text>
621
- </div>
622
- </div>
623
- <div class="view-area view-lists">
624
- <div class="grid-area-label">
625
- <ds-text text="lists"></ds-text>
626
- </div>
627
- </div>
628
- <div class="view-area view-footer">
799
+ <div class="view-area view-settings">
629
800
  <div class="grid-area-label">
630
- <ds-text text="footer"></ds-text>
801
+ <ds-text text="settings"></ds-text>
631
802
  </div>
632
803
  </div>
633
804
  `
634
- : isList
805
+ : isHome
635
806
  ? html`
636
807
  <div class="view-area view-banner">
637
808
  <div class="grid-area-label">
@@ -643,13 +814,23 @@ export class Layout extends LitElement {
643
814
  <ds-text text="header"></ds-text>
644
815
  </div>
645
816
  </div>
646
- <div class="view-area view-board">
817
+ <div class="view-area view-message">
818
+ <div class="grid-area-label">
819
+ <ds-text text="message"></ds-text>
820
+ </div>
821
+ </div>
822
+ <div class="view-area view-lists">
823
+ <div class="grid-area-label">
824
+ <ds-text text="lists"></ds-text>
825
+ </div>
826
+ </div>
827
+ <div class="view-area view-footer">
647
828
  <div class="grid-area-label">
648
- <ds-text text="board"></ds-text>
829
+ <ds-text text="footer"></ds-text>
649
830
  </div>
650
831
  </div>
651
832
  `
652
- : isApp
833
+ : isList
653
834
  ? html`
654
835
  <div class="view-area view-banner">
655
836
  <div class="grid-area-label">
@@ -661,32 +842,32 @@ export class Layout extends LitElement {
661
842
  <ds-text text="header"></ds-text>
662
843
  </div>
663
844
  </div>
664
- <div class="view-area view-main">
665
- <div class="grid-area-label">
666
- <ds-text text="main"></ds-text>
667
- </div>
668
- </div>
669
- <div class="view-area view-page-dots">
845
+ <div class="view-area view-board">
670
846
  <div class="grid-area-label">
671
- <ds-text text="page-dots"></ds-text>
672
- </div>
673
- </div>
674
- <div class="view-area view-footer">
675
- <div class="grid-area-label">
676
- <ds-text text="footer"></ds-text>
847
+ <ds-text text="board"></ds-text>
677
848
  </div>
678
849
  </div>
679
850
  `
680
- : isCompany
851
+ : isApp
681
852
  ? html`
853
+ <div class="view-area view-banner">
854
+ <div class="grid-area-label">
855
+ <ds-text text="banner"></ds-text>
856
+ </div>
857
+ </div>
682
858
  <div class="view-area view-header">
683
859
  <div class="grid-area-label">
684
860
  <ds-text text="header"></ds-text>
685
861
  </div>
686
862
  </div>
687
- <div class="view-area view-content">
863
+ <div class="view-area view-main">
864
+ <div class="grid-area-label">
865
+ <ds-text text="main"></ds-text>
866
+ </div>
867
+ </div>
868
+ <div class="view-area view-page-dots">
688
869
  <div class="grid-area-label">
689
- <ds-text text="content"></ds-text>
870
+ <ds-text text="page-dots"></ds-text>
690
871
  </div>
691
872
  </div>
692
873
  <div class="view-area view-footer">
@@ -695,36 +876,16 @@ export class Layout extends LitElement {
695
876
  </div>
696
877
  </div>
697
878
  `
698
- : isPortfolio
879
+ : isCompany
699
880
  ? html`
700
- <div class="view-area view-square">
701
- <div class="grid-area-label">
702
- <ds-text text="square"></ds-text>
703
- </div>
704
- </div>
705
- <div class="view-area view-title">
706
- <div class="grid-area-label">
707
- <ds-text text="title"></ds-text>
708
- </div>
709
- </div>
710
881
  <div class="view-area view-header">
711
882
  <div class="grid-area-label">
712
883
  <ds-text text="header"></ds-text>
713
884
  </div>
714
885
  </div>
715
- <div class="view-area view-projects">
886
+ <div class="view-area view-content">
716
887
  <div class="grid-area-label">
717
- <ds-text text="projects"></ds-text>
718
- </div>
719
- </div>
720
- <div class="view-area view-bio">
721
- <div class="grid-area-label">
722
- <ds-text text="bio"></ds-text>
723
- </div>
724
- </div>
725
- <div class="view-area view-nav">
726
- <div class="grid-area-label">
727
- <ds-text text="nav"></ds-text>
888
+ <ds-text text="content"></ds-text>
728
889
  </div>
729
890
  </div>
730
891
  <div class="view-area view-footer">
@@ -733,7 +894,45 @@ export class Layout extends LitElement {
733
894
  </div>
734
895
  </div>
735
896
  `
736
- : ""}
897
+ : isPortfolio
898
+ ? html`
899
+ <div class="view-area view-square">
900
+ <div class="grid-area-label">
901
+ <ds-text text="square"></ds-text>
902
+ </div>
903
+ </div>
904
+ <div class="view-area view-title">
905
+ <div class="grid-area-label">
906
+ <ds-text text="title"></ds-text>
907
+ </div>
908
+ </div>
909
+ <div class="view-area view-header">
910
+ <div class="grid-area-label">
911
+ <ds-text text="header"></ds-text>
912
+ </div>
913
+ </div>
914
+ <div class="view-area view-projects">
915
+ <div class="grid-area-label">
916
+ <ds-text text="projects"></ds-text>
917
+ </div>
918
+ </div>
919
+ <div class="view-area view-bio">
920
+ <div class="grid-area-label">
921
+ <ds-text text="bio"></ds-text>
922
+ </div>
923
+ </div>
924
+ <div class="view-area view-nav">
925
+ <div class="grid-area-label">
926
+ <ds-text text="nav"></ds-text>
927
+ </div>
928
+ </div>
929
+ <div class="view-area view-footer">
930
+ <div class="grid-area-label">
931
+ <ds-text text="footer"></ds-text>
932
+ </div>
933
+ </div>
934
+ `
935
+ : ""}
737
936
  </div>
738
937
  `
739
938
  : ""}