Skip to content

Commit

Permalink
chore(*): remove Helvetica font (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonghauhive authored May 31, 2024
2 parents 5a1f0e3 + 4e11053 commit 2425b87
Show file tree
Hide file tree
Showing 8 changed files with 70 additions and 84 deletions.
134 changes: 60 additions & 74 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion coverage/lcov-report/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ body, html {
height: 100%;
}
body {
font-family: Helvetica Neue, Helvetica, Arial;
font-family: Arial;
font-size: 14px;
color:#333;
}
Expand Down
2 changes: 1 addition & 1 deletion docs/Stylings.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The following css custom variable are exposed to enable users to make modificati
```css

:root {
--sgds-body-font-family: Helvetica;
--sgds-body-font-family: "Inter";
--sgds-body-font-size: 5rem;
--sgds-primary-rgb : 89,37,220;
--sgds-secondary : #1f69ff;
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
src="https://dev.assets.developer.tech.gov.sg/console-components/gateway.es5.js" nonce={nonce || undefined}></script> -->
<style>
/* * {
font-family: "bootstrap-icons", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-family: "bootstrap-icons", system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
} */

:root {
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
],
"license": "MIT",
"dependencies": {
"@govtechsg/sgds": "^2.3.1",
"@govtechsg/sgds": "^2.3.2",
"@lit-labs/react": "^1.0.9",
"@open-wc/scoped-elements": "^2.2.0",
"bootstrap": "^5.1.3",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Masthead/sgds-masthead.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


:host{
--masthead-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
--masthead-font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
--masthead-text-color: hsl(0, 0%, 28%);
--masthead-link-color: hsl(222, 63%, 50%);
--masthead-link-color-hover: hsl(221, 64%, 55%);
Expand Down
2 changes: 1 addition & 1 deletion src/utils/components.style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@

/* Fonts */
--sl-font-mono: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
--sl-font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
--sl-font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
--sl-font-serif: Georgia, 'Times New Roman', serif;

Expand Down

0 comments on commit 2425b87

Please sign in to comment.