feat: font update - PT root UI medium (#33008)

## Description

This PR update default font to PT Root UI.


Fixes #32720 

## Automation

/ok-to-test tags="@tag.Sanity"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9001227602>
> Commit: 491aaf0d92f123482c88c6ec13999e0356dbea53
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9001227602&attempt=1"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->




## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Style**
- Removed font smoothing properties from the body styling to enhance
text clarity and appearance across web browsers.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
albinAppsmith 2024-05-08 17:47:34 +05:30 committed by GitHub
parent f71bdc8b23
commit fd59d40752
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 17 additions and 23 deletions

View File

@ -113,8 +113,8 @@
"d3-geo": "^3.1.0",
"dayjs": "^1.10.6",
"deep-diff": "^1.0.2",
"design-system": "npm:@appsmithorg/design-system@2.1.39",
"design-system-old": "npm:@appsmithorg/design-system-old@1.1.16",
"design-system": "npm:@appsmithorg/design-system@2.1.40",
"design-system-old": "npm:@appsmithorg/design-system-old@1.1.17",
"downloadjs": "^1.4.7",
"echarts": "^5.4.2",
"fast-deep-equal": "^3.1.3",

View File

@ -6,8 +6,7 @@ html {
background-color: #fff;
margin: 0;
color: #182026;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
Ubuntu, Cantarell, Open Sans, Helvetica Neue, Icons16, sans-serif;
font-family: var(--ads-v2-font-family);
font-size: 14px;
font-weight: 400;
letter-spacing: 0;

View File

@ -5,7 +5,7 @@
* For commercial licenses see https://www.tiny.cloud/
*/
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-family: var(--ads-v2-font-family);
line-height: 1.4;
margin: 1rem;
}

View File

@ -54,8 +54,7 @@ export const reactJsonProps = {
displayObjectSize: false,
displayDataTypes: false,
style: {
fontFamily:
"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue",
fontFamily: "var(--ads-v2-font-family)",
fontSize: "11px",
fontWeight: "400",
letterSpacing: "-0.195px",

View File

@ -237,8 +237,7 @@ function LogItem(props: LogItemProps) {
displayObjectSize: false,
displayDataTypes: false,
style: {
fontFamily:
"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue",
fontFamily: "var(--ads-v2-font-family)",
fontSize: "11px",
fontWeight: "400",
letterSpacing: "-0.195px",

View File

@ -1,4 +1,3 @@
export const TextFonts =
"-apple-system, BlinkMacSystemFont, “Segoe UI”, “Roboto”, “Oxygen”, “Ubuntu”, “Cantarell”, “Fira Sans”, “Droid Sans”, “Helvetica Neue”, sans-serif";
export const TextFonts = "var(--ads-v2-font-family)";
export const CodeFonts =
'ui-monospace, Menlo, Monaco, "Cascadia Code", "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", Consolas, "Courier New", monospace';

View File

@ -17,8 +17,6 @@
body {
margin: 0;
padding: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: #fff !important;
color: var(--ads-v2-color-fg);
}

View File

@ -13134,8 +13134,8 @@ __metadata:
d3-geo: ^3.1.0
dayjs: ^1.10.6
deep-diff: ^1.0.2
design-system: "npm:@appsmithorg/design-system@2.1.39"
design-system-old: "npm:@appsmithorg/design-system-old@1.1.16"
design-system: "npm:@appsmithorg/design-system@2.1.40"
design-system-old: "npm:@appsmithorg/design-system-old@1.1.17"
diff: ^5.0.0
dotenv: ^8.1.0
downloadjs: ^1.4.7
@ -17155,9 +17155,9 @@ __metadata:
languageName: node
linkType: hard
"design-system-old@npm:@appsmithorg/design-system-old@1.1.16":
version: 1.1.16
resolution: "@appsmithorg/design-system-old@npm:1.1.16"
"design-system-old@npm:@appsmithorg/design-system-old@1.1.17":
version: 1.1.17
resolution: "@appsmithorg/design-system-old@npm:1.1.17"
dependencies:
emoji-mart: 3.0.1
peerDependencies:
@ -17177,13 +17177,13 @@ __metadata:
remixicon-react: ^1.0.0
styled-components: 5.3.6
tinycolor2: ^1.4.2
checksum: 8fbfba86e54bdcbbb30b8e8b1902408ba0cb13f4d33d36c794f3bc0e281d0e2db8f716c10c6e0a3118f010db24f97c72606885bff4c320f41f5df9564ab6b214
checksum: f4e4faf58412912ca95e50ccf8554fa480bdfd8fb4628131f9a35df663207aec35469f340920f4ebe63568f29cc1e01a97c0f223ac753e0d574e099434588f06
languageName: node
linkType: hard
"design-system@npm:@appsmithorg/design-system@2.1.39":
version: 2.1.39
resolution: "@appsmithorg/design-system@npm:2.1.39"
"design-system@npm:@appsmithorg/design-system@2.1.40":
version: 2.1.40
resolution: "@appsmithorg/design-system@npm:2.1.40"
dependencies:
"@radix-ui/react-dialog": ^1.0.2
"@radix-ui/react-dropdown-menu": ^2.0.4
@ -17215,7 +17215,7 @@ __metadata:
react-dom: ^17.0.2
react-router-dom: ^5.0.0
styled-components: ^5.3.6
checksum: 7b9ed99c41a8fc0b45db101b18bd87a5dde5ef54291843196d1e26bb60d217c7e552be01c914a859717a294caf2637aef7149afd07b6e224d81cb92f2c3b91b4
checksum: 0c45edd67a958fb0f192e405216b3103eb751197b49bb49c9377e9a6185f4a3de007142d5af2df03c9f2b2a9ac337604ca69d1065aac219d97e671f55ef37435
languageName: node
linkType: hard