Merge pull request #16090 from Budibase/source-sans-3

Move from Source Sans Pro to variable weight Source Sans 3
This commit is contained in:
Andrew Kingston 2025-05-16 14:19:57 +01:00 committed by GitHub
commit 9909a0c4db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
13 changed files with 28 additions and 22 deletions

View File

@ -64,9 +64,9 @@
--rounded-medium: 8px;
--rounded-large: 16px;
--font-sans: "Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI,
--font-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, Segoe UI,
"Inter", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
--font-accent: "Source Sans Pro", -apple-system, BlinkMacSystemFont, Segoe UI,
--font-accent: "Source Sans 3", -apple-system, BlinkMacSystemFont, Segoe UI,
"Inter", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
--font-serif: "Georgia", Cambria, Times New Roman, Times, serif;
--font-mono: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",

View File

@ -0,0 +1,15 @@
@font-face{
font-family: "Source Sans 3";
font-weight: 200 900;
font-style: normal;
font-stretch: normal;
src: url("/builder/fonts/source-sans-3/SourceSans3VF-Upright.ttf.woff2") format("woff2-variations");
}
@font-face{
font-family: "Source Sans 3";
font-weight: 200 900;
font-style: italic;
font-stretch: normal;
src: url("/builder/fonts/source-sans-3/SourceSans3VF-Italic.ttf.woff2") format("woff2-variations");
}

View File

@ -5,9 +5,7 @@
<meta charset='utf8'>
<meta name='viewport' content='width=device-width'>
<title>Budibase</title>
<link href="/builder/fonts/source-sans-pro/400.css" rel="stylesheet" />
<link href="/builder/fonts/source-sans-pro/600.css" rel="stylesheet" />
<link href="/builder/fonts/source-sans-pro/700.css" rel="stylesheet" />
<link href="/builder/fonts/source-sans-3/source-sans-3.css" rel="stylesheet" />
<link href="/builder/fonts/remixicon.css" rel="stylesheet" />
</head>

View File

@ -61,7 +61,6 @@
"@codemirror/theme-one-dark": "^6.1.2",
"@codemirror/view": "^6.11.2",
"@dagrejs/dagre": "1.1.4",
"@fontsource/source-sans-pro": "^5.0.3",
"@fortawesome/fontawesome-svg-core": "^6.4.2",
"@fortawesome/free-brands-svg-icons": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^6.4.2",

View File

@ -180,7 +180,7 @@
}
thead th {
font-family: "Source Sans Pro";
font-family: "Source Sans 3";
color: var(--lightText);
white-space: nowrap;
padding: 12px;

View File

@ -17,7 +17,7 @@ const copyFonts = dest =>
viteStaticCopy({
targets: [
{
src: "../../node_modules/@fontsource/source-sans-pro",
src: "./assets/source-sans-3",
dest,
},
{

View File

@ -100,7 +100,7 @@
mix-blend-mode: multiply;
background: rgb(0 0 0);
font-size: 30px;
font-family: Source Sans Pro;
font-family: Source Sans 3;
-webkit-font-smoothing: antialiased;
}

View File

@ -39,9 +39,10 @@
<link rel="icon" type="image/png" href="/builder/bblogo.png" />
{/if}
<link href="/builder/fonts/source-sans-pro/400.css" rel="stylesheet" />
<link href="/builder/fonts/source-sans-pro/600.css" rel="stylesheet" />
<link href="/builder/fonts/source-sans-pro/700.css" rel="stylesheet" />
<link
href="/builder/fonts/source-sans-3/source-sans-3.css"
rel="stylesheet"
/>
<link href="/builder/fonts/remixicon.css" rel="stylesheet" />
<style>
@ -65,7 +66,7 @@
height: 100vh;
width: 100vw;
display: none;
font-family: "Source Sans Pro", sans-serif;
font-family: "Source Sans 3", sans-serif;
flex-direction: column;
justify-content: center;
align-items: center;

View File

@ -1,9 +1,7 @@
<html lang="en">
<head>
<title>Budibase Builder Preview</title>
<link href="/builder/fonts/source-sans-pro/400.css" rel="stylesheet" />
<link href="/builder/fonts/source-sans-pro/600.css" rel="stylesheet" />
<link href="/builder/fonts/source-sans-pro/700.css" rel="stylesheet" />
<link href="/builder/fonts/source-sans-3/source-sans-3.css" rel="stylesheet" />
<link href="/builder/fonts/remixicon.css" rel="stylesheet" />
<style>
html, body {

View File

@ -47,7 +47,7 @@
body,
td,
th {
font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
font-family: "Source Sans 3", Helvetica, Arial, sans-serif;
}
h1 {

View File

@ -3279,11 +3279,6 @@
resolved "https://registry.yarnpkg.com/@fastify/busboy/-/busboy-2.1.1.tgz#b9da6a878a371829a0502c9b6c1c143ef6663f4d"
integrity sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==
"@fontsource/source-sans-pro@^5.0.3":
version "5.0.3"
resolved "https://registry.yarnpkg.com/@fontsource/source-sans-pro/-/source-sans-pro-5.0.3.tgz#7d6e84a8169ba12fa5e6ce70757aa2ca7e74d855"
integrity sha512-mQnjuif/37VxwRloHZ+wQdoozd2VPWutbFSt1AuSkk7nFXIBQxHJLw80rgCF/osL0t7N/3Gx1V7UJuOX2zxzhQ==
"@fortawesome/fontawesome-common-types@6.4.2":
version "6.4.2"
resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.4.2.tgz#1766039cad33f8ad87f9467b98e0d18fbc8f01c5"