You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e8b0fc5
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: frontend/purestack.studio/guides/semantic-tones.mdx
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,6 +123,13 @@ Keep fill, border, and text from the same role when you need a ready-made combin
123
123
124
124
`spotlight` is for large areas such as feature bands, callouts, and showcase panels. It is a calm field with a soft light, without the gloss and edge shading of surfaces and buttons, so it stays calm at any size. It has no interaction states and pairs with the alternate surface border and text classes. Components accept it as `variant="spotlight"`, for example `<Panel tone="accent" variant="spotlight">`.
125
125
126
+
Keep spotlights rare: one or two per page, for the pieces a visitor should notice first. Most surfaces should be quiet. `tone-fill-surface-flat`, `tone-fill-surface-alt-flat`, and `tone-fill-button-flat` paint a role's single color without the gradient chrome, with the same `-hover`, `-active`, `-disabled`, and `-all` forms as the gradient fills. Components accept them as `variant="flat"`, `variant="flatAlt"`, and `variant="flatSolid"`:
The skin sets the field and the light color; the page decides where the light falls. It comes from the top left by default. Move it with `spotlight-from-top`, `spotlight-from-top-right`, `spotlight-from-bottom-left`, or `spotlight-from-bottom-right`, for example to keep it visible when a card covers that corner:
<pclass="tone-text-surface-alt opacity-75 lh-7 mb-0">Share what moved, what needs a decision, and where the team goes next. The example workspace keeps the details close when someone wants to go deeper.</p>
141
141
<BtnLinkhref="/workspace/"variant="link"icon="lucide:arrow-up-right"iconPosition="end"class="p-0 mt-6 fw-700">Explore the example workspace</BtnLink>
Copy file name to clipboardExpand all lines: packages/ts-ssg/sample-content/platform.mdx
+67-53Lines changed: 67 additions & 53 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,101 +16,115 @@ nav:
16
16
title="A shared view of the work behind every outcome."
17
17
subtitle="Waypoint is a fictional product built to show a complete PureStack site. Its workflow is simple: define the work, keep the story current, and make the next decision obvious."
18
18
titleTag="h1"
19
+
eyebrowClass="tone-text fs-xxxs fw-800"
19
20
titleClass="fs-display"/>
20
21
21
22
## Three views, one conversation
22
23
23
-
<Gridcolumns="1"columnsMd="3">
24
-
<FeatureCard
25
-
title="Initiatives"
26
-
summary="Connect a goal to milestones, owners, and a realistic target date."
27
-
icon="lucide:target"
28
-
tone="accent"/>
29
-
<FeatureCard
30
-
title="Updates"
31
-
summary="Record a concise summary of progress, risks, and the help a team needs."
32
-
icon="lucide:message-circle"
33
-
tone="secondary"/>
34
-
<FeatureCard
35
-
title="Decisions"
36
-
summary="Keep the question, context, owner, and outcome together for future readers."
<p>Write the outcome in plain language. Add a small set of milestones and one accountable owner, so progress has a clear meaning.</p>
54
+
<h3class="mt-0">Agree on the destination.</h3>
55
+
<pclass="text-subtle mb-0">Write the outcome in plain language. Add a small set of milestones and one accountable owner, so progress has a clear meaning.</p>
49
56
</div>
50
-
<AlertBoxtitle="Example milestone"tone="info">Customer onboarding is ready when the welcome flow, help content, and handoff owner are confirmed.</AlertBox>
57
+
<AlertBoxtitle="Example milestone"tone="info"variant="rail">Customer onboarding is ready when the welcome flow, help content, and handoff owner are confirmed.</AlertBox>
<p>Share what changed, what is blocked, and what happens next. Short updates give the whole team useful context without another status meeting.</p>
63
+
<h3class="mt-0">Keep the picture current.</h3>
64
+
<pclass="text-subtle mb-0">Share what changed, what is blocked, and what happens next. Short updates give the whole team useful context without another status meeting.</p>
58
65
</div>
59
-
<AlertBoxtitle="Example update"tone="success">The help center draft is complete. The only open item is final review of the welcome email.</AlertBox>
66
+
<AlertBoxtitle="Example update"tone="success"variant="rail">The help center draft is complete. The only open item is final review of the welcome email.</AlertBox>
<p>Record the options, the person deciding, and the reason for the choice. The next teammate can pick up the work with confidence.</p>
72
+
<h3class="mt-0">Make decisions visible.</h3>
73
+
<pclass="text-subtle mb-0">Record the options, the person deciding, and the reason for the choice. The next teammate can pick up the work with confidence.</p>
67
74
</div>
68
-
<AlertBoxtitle="Example decision"tone="warning">The launch owner will choose the release date after accessibility review closes.</AlertBox>
75
+
<AlertBoxtitle="Example decision"tone="warning"variant="rail">The launch owner will choose the release date after accessibility review closes.</AlertBox>
69
76
</Grid>
70
77
</TabPane>
71
78
</Tabs>
72
79
73
80
## Designed around a team rhythm
74
81
75
-
<Gridcolumns="1"columnsMd="2"class="mb-6">
76
-
<Paneltone="neutral"variant="surfaceAlt">
77
-
<pclass="text-eyebrow">Monday</p>
78
-
<h3>Set the focus</h3>
79
-
<p>Review milestones and choose the few actions that would move the initiative forward this week.</p>
80
-
</Panel>
81
-
<Paneltone="neutral"variant="surfaceAlt">
82
-
<pclass="text-eyebrow">Friday</p>
83
-
<h3>Share the learning</h3>
84
-
<p>Summarize the change, record open decisions, and give stakeholders a trustworthy view of progress.</p>
<pclass="tone--neutral text-subtle mb-0">Summarize the change, record open decisions, and give stakeholders a trustworthy view of progress.</p>
92
+
</Flex>
86
93
</Grid>
87
94
88
95
<ComparisonTable
89
96
tone="neutral"
97
+
variant="none"
98
+
columnsLg="2"
99
+
class="p-0 box-shadow-none tone-text-surface"
90
100
eyebrow="A clearer operating habit"
91
101
title="What a shared workspace changes"
92
102
subtitle="The comparison describes the sample product story and shows how to build a structured comparison page."
93
103
>
94
-
<ComparisonColumntitle="Scattered updates"summary="The story lives across messages and meetings."icon="lucide:message-circle"tone="neutral">
104
+
<ComparisonColumntitle="Scattered updates"summary="The story lives across messages and meetings."icon="lucide:message-circle"tone="neutral"variant="flat"class="rounded-lg p-5">
95
105
<ComparisonFeatureicon="lucide:circle-question-mark"tone="neutral">Ownership is difficult to find.</ComparisonFeature>
96
106
<ComparisonFeatureicon="lucide:circle-question-mark"tone="neutral">Status depends on who you ask.</ComparisonFeature>
97
107
<ComparisonFeatureicon="lucide:circle-question-mark"tone="neutral">Decisions lose their context.</ComparisonFeature>
98
108
</ComparisonColumn>
99
-
<ComparisonColumntitle="Waypoint"summary="The team sees the same current picture."icon="lucide:compass"tone="accent"variant="surfaceAlt"badge="Example approach">
109
+
<ComparisonColumntitle="Waypoint"summary="The team sees the same current picture."icon="lucide:compass"tone="accent"variant="flat"badge="Example approach"class="theme--dark rounded-lg p-5">
100
110
<ComparisonFeatureicon="lucide:check"tone="accent">Every initiative has an owner.</ComparisonFeature>
101
111
<ComparisonFeatureicon="lucide:check"tone="accent">Updates connect to milestones.</ComparisonFeature>
102
112
<ComparisonFeatureicon="lucide:check"tone="accent">Decisions stay with the work.</ComparisonFeature>
103
113
</ComparisonColumn>
104
114
</ComparisonTable>
105
115
106
-
<CtaSection
107
-
tone="accent"
108
-
eyebrow="See it in context"
109
-
title="Open the example workspace."
110
-
subtitle="Explore a sample initiative with status, charts, decisions, and next steps."
0 commit comments