Skip to content

Commit d804ee0

Browse files
[UI] Minor styling changes (#3082)
1 parent a4978a3 commit d804ee0

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

frontend/public/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
data-modal-image="/logo-notext.svg"
3535
data-modal-z-index="1100"
3636
data-modal-title="Ask me anything"
37+
data-font-family='metro-web, Metro, -apple-system, "system-ui", "Segoe UI", Roboto'
3738
data-project-logo="/assets/images/kapa.svg"
3839
data-modal-disclaimer="This is a custom LLM for dstack with access to Documentation, API references and GitHub issues. This feature is experimental - Give it a try!"
3940
data-user-analytics-fingerprint-enabled="true"

frontend/src/App/Login/LoginByGithub/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,10 @@ function HeroHeader() {
193193
function ProductOverview() {
194194
return (
195195
<section className={styles.pageSection} aria-label="Product overview">
196-
<Header variant="h2">
197-
<span id="overview">Overview</span>
198-
</Header>
199196
<SpaceBetween size="m">
197+
<Header variant="h2">
198+
<span id="overview">Overview</span>
199+
</Header>
200200
<div>
201201
<Box variant="p">
202202
<strong>dstack</strong> is an open-source container orchestrator that lets ML teams easily manage
@@ -316,7 +316,7 @@ function ProductOverview() {
316316
</Header>
317317
<SpaceBetween size="m">
318318
<Box variant="p">
319-
Want to learn more about dstack? Check out the{' '}
319+
Want to learn more about <strong>dstack</strong>? Check out the{' '}
320320
<Link href="https://dstack.ai/docs/" variant="primary" external={true}>
321321
documentation
322322
</Link>

frontend/src/index.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ const container = document.getElementById('root');
1919

2020
const theme: Theme = {
2121
tokens: {
22-
fontFamilyBase: "'Roboto', 'Open Sans', 'Helvetica Neue', Arial, sans-serif",
22+
fontFamilyBase: 'metro-web, Metro, -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',
23+
fontSizeHeadingS: '15px',
24+
fontSizeHeadingL: '19px',
25+
fontSizeHeadingXl: '22px',
26+
fontSizeDisplayL: '40px',
2327
},
2428
};
2529

0 commit comments

Comments
 (0)