Skip to content

Commit ba9d92d

Browse files
committed
Tweak landing page style.
1 parent 6b0e1b5 commit ba9d92d

16 files changed

Lines changed: 52 additions & 105 deletions

File tree

‎frontend/components/studioFeature.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const studioFeatureTemplate = html`<Panel
1212
class="feature-card"
1313
bodyClass="feature-card__body"
1414
tone="neutral"
15-
variant="surface"
15+
variant="flat"
1616
>
1717
<IconFrame
1818
class="feature-icon"

‎frontend/components/studioWorkbench.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { defineComponent, html } from 'regor'
33
export interface StudioWorkbench {}
44

55
const studioWorkbenchTemplate = html`<Panel
6-
class="workbench"
6+
class="workbench box-shadow-floating"
77
bodyClass="workbench__body"
8-
variant="surface"
8+
variant="flat"
99
tone="neutral"
1010
>
1111
<Flex class="workbench-toolbar" align="center">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<TopBar tone="neutral" variant="surfaceAlt"/>
1+
<TopBar tone="neutral" variant="glass" class="spotlight-from-top-right"/>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<TopBar tone="neutral" variant="surfaceAlt"/>
1+
<TopBar tone="neutral" variant="glass" class="spotlight-from-top-right"/>

‎frontend/purestack.studio/index.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ card.<span class="syntax-blue">toCSS</span>()</code></pre>
344344
</Grid>
345345
</section>
346346

347-
<section class="ai-section" aria-labelledby="ai-title">
347+
<section class="ai-section tone--accent tone-fill-spotlight spotlight-from-top-right" aria-labelledby="ai-title">
348348
<Grid
349349
class="container ai-layout"
350350
columns="1"
@@ -580,7 +580,7 @@ card.<span class="syntax-blue">toCSS</span>()</code></pre>
580580
</div>
581581
</Grid>
582582

583-
<section class="closing-section" aria-labelledby="closing-title">
583+
<section class="closing-section tone--accent tone-fill-spotlight spotlight-from-top" aria-labelledby="closing-title">
584584
<div class="container">
585585
<span class="closing-icon" aria-hidden="true"
586586
><Icon name="tabler:stack-2"/></span>

‎frontend/theme/architectureStyles.ts‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export function registerArchitectureStyles(root: Style, palette: ThemePalette) {
88
position: 'relative',
99
borderBlock: `1px solid ${tone.neutral.border.subtle}`,
1010
paddingBlock: '80px',
11-
background: tone.accent.canvas,
1211
})
1312
root.select('.studio .ai-layout').css({
1413
gap: '100px',
@@ -48,7 +47,7 @@ export function registerArchitectureStyles(root: Style, palette: ThemePalette) {
4847
padding: '14px 5px',
4948
color: tone.neutral.text.subtle,
5049
font: `9px ${studioTypography.mono}`,
51-
background: tone.neutral.surfaceAlt.rest.background,
50+
background: tone.neutral.surfaceAlt.rest.bgcolor,
5251
})
5352
root.select('.studio .diagram-inputs > span > span').css({
5453
fontSize: palette.font.size.sm,
@@ -83,7 +82,7 @@ export function registerArchitectureStyles(root: Style, palette: ThemePalette) {
8382
width: '67%',
8483
marginInline: 'auto',
8584
padding: '24px',
86-
background: tone.accent.surfaceAlt.rest.background,
85+
background: tone.accent.surfaceAlt.rest.bgcolor,
8786
border: `1px solid ${tone.accent.surface.hover.border}`,
8887
borderRadius: '9px',
8988
boxShadow: `0 0 38px color-mix(in srgb, ${tone.success.text.default} 4%, transparent)`,
@@ -129,7 +128,7 @@ export function registerArchitectureStyles(root: Style, palette: ThemePalette) {
129128
padding: '15px',
130129
border: `1px solid ${tone.accent.surface.rest.border}`,
131130
borderRadius: '5px',
132-
background: tone.neutral.surfaceAlt.rest.background,
131+
background: tone.neutral.surfaceAlt.rest.bgcolor,
133132
font: `11px ${studioTypography.mono}`,
134133
color: tone.accent.surface.rest.text,
135134
})

‎frontend/theme/closingStyles.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ export function registerClosingStyles(root: Style, palette: ThemePalette) {
5959
overflow: 'hidden',
6060
borderBlock: `1px solid ${tone.neutral.border.default}`,
6161
padding: '66px 0 72px',
62-
background: `radial-gradient(ellipse at 50% 80%, color-mix(in srgb, ${tone.success.surface.rest.border} 14%, transparent) 0%, transparent 65%), ${tone.accent.canvas}`,
6362
textAlign: 'center',
6463
})
6564
root.select('.studio .closing-section::before').css({

‎frontend/theme/compositionStyles.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export function registerCompositionStyles(root: Style, palette: ThemePalette) {
8686
})
8787
root.select('.studio .studio-tabs .tabs__control:checked + .tabs__tab').css({
8888
color: tone.neutral.text.default,
89-
background: tone.neutral.surfaceAlt.rest.background,
89+
background: tone.neutral.surfaceAlt.rest.bgcolor,
9090
boxShadow: `inset 0 2px ${tone.accent.text.default}`,
9191
})
9292
root

‎frontend/theme/ecosystemStyles.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function registerEcosystemStyles(root: Style, palette: ThemePalette) {
2121
display: 'flex',
2222
gap: '18px',
2323
padding: '30px',
24-
background: tone.neutral.surface.rest.background,
24+
background: tone.neutral.surface.rest.bgcolor,
2525
transition: 'background 180ms',
2626
})
2727
root.select('.studio .package-card:nth-child(odd)').css({
@@ -31,7 +31,7 @@ export function registerEcosystemStyles(root: Style, palette: ThemePalette) {
3131
borderBottom: `1px solid ${tone.neutral.border.subtle}`,
3232
})
3333
root.select('.studio .package-card:hover').css({
34-
background: tone.neutral.surface.hover.background,
34+
background: tone.neutral.surface.hover.bgcolor,
3535
})
3636
root.select('.studio .package-number').css({
3737
paddingTop: '5px',

‎frontend/theme/featuresStyles.ts‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export function registerFeaturesStyles(root: Style, palette: ThemePalette) {
136136
padding: '18px 20px',
137137
border: `1px solid ${tone.neutral.surfaceAlt.rest.border}`,
138138
borderRadius: palette.radii.md,
139-
background: tone.neutral.surfaceAlt.rest.background,
139+
background: tone.neutral.surfaceAlt.rest.bgcolor,
140140
})
141141
root.select('.studio .sample-top').css({
142142
display: 'flex',
@@ -224,7 +224,7 @@ export function registerFeaturesStyles(root: Style, palette: ThemePalette) {
224224
height: '26px',
225225
borderRadius: '50%',
226226
background: tone.accent.text.default,
227-
border: `3px solid ${tone.neutral.surface.rest.background}`,
227+
border: `3px solid ${tone.neutral.surface.rest.bgcolor}`,
228228
})
229229
root.select('.studio .tone-sample i + i').css({
230230
marginLeft: '-6px',
@@ -264,7 +264,7 @@ export function registerFeaturesStyles(root: Style, palette: ThemePalette) {
264264
color: tone.warning.text.default,
265265
})
266266
root.select('.studio .output-sample .output-web').css({
267-
background: tone.accent.surface.hover.background,
267+
background: tone.accent.surface.hover.bgcolor,
268268
color: tone.accent.surface.rest.text,
269269
borderColor: tone.neutral.surface.hover.border,
270270
})
@@ -281,7 +281,7 @@ export function registerFeaturesStyles(root: Style, palette: ThemePalette) {
281281
marginTop: '25px',
282282
font: `11px ${studioTypography.mono}`,
283283
background: tone.neutral.canvas,
284-
border: `1px solid ${tone.accent.surface.hover.background}`,
284+
border: `1px solid ${tone.accent.surface.hover.bgcolor}`,
285285
borderRadius: palette.radii.sm,
286286
padding: '12px',
287287
})
@@ -295,7 +295,7 @@ export function registerFeaturesStyles(root: Style, palette: ThemePalette) {
295295
font: `8px ${studioTypography.mono}`,
296296
padding: '4px 6px',
297297
color: tone.success.text.default,
298-
background: tone.accent.surface.hover.background,
298+
background: tone.accent.surface.hover.bgcolor,
299299
border: `1px solid ${tone.neutral.surface.hover.border}`,
300300
borderRadius: '3px',
301301
})

0 commit comments

Comments
 (0)