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:
parent
f71bdc8b23
commit
fd59d40752
|
|
@ -113,8 +113,8 @@
|
||||||
"d3-geo": "^3.1.0",
|
"d3-geo": "^3.1.0",
|
||||||
"dayjs": "^1.10.6",
|
"dayjs": "^1.10.6",
|
||||||
"deep-diff": "^1.0.2",
|
"deep-diff": "^1.0.2",
|
||||||
"design-system": "npm:@appsmithorg/design-system@2.1.39",
|
"design-system": "npm:@appsmithorg/design-system@2.1.40",
|
||||||
"design-system-old": "npm:@appsmithorg/design-system-old@1.1.16",
|
"design-system-old": "npm:@appsmithorg/design-system-old@1.1.17",
|
||||||
"downloadjs": "^1.4.7",
|
"downloadjs": "^1.4.7",
|
||||||
"echarts": "^5.4.2",
|
"echarts": "^5.4.2",
|
||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,7 @@ html {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: #182026;
|
color: #182026;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
|
font-family: var(--ads-v2-font-family);
|
||||||
Ubuntu, Cantarell, Open Sans, Helvetica Neue, Icons16, sans-serif;
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
letter-spacing: 0;
|
letter-spacing: 0;
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* For commercial licenses see https://www.tiny.cloud/
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
*/
|
*/
|
||||||
body {
|
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;
|
line-height: 1.4;
|
||||||
margin: 1rem;
|
margin: 1rem;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -54,8 +54,7 @@ export const reactJsonProps = {
|
||||||
displayObjectSize: false,
|
displayObjectSize: false,
|
||||||
displayDataTypes: false,
|
displayDataTypes: false,
|
||||||
style: {
|
style: {
|
||||||
fontFamily:
|
fontFamily: "var(--ads-v2-font-family)",
|
||||||
"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue",
|
|
||||||
fontSize: "11px",
|
fontSize: "11px",
|
||||||
fontWeight: "400",
|
fontWeight: "400",
|
||||||
letterSpacing: "-0.195px",
|
letterSpacing: "-0.195px",
|
||||||
|
|
|
||||||
|
|
@ -237,8 +237,7 @@ function LogItem(props: LogItemProps) {
|
||||||
displayObjectSize: false,
|
displayObjectSize: false,
|
||||||
displayDataTypes: false,
|
displayDataTypes: false,
|
||||||
style: {
|
style: {
|
||||||
fontFamily:
|
fontFamily: "var(--ads-v2-font-family)",
|
||||||
"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue",
|
|
||||||
fontSize: "11px",
|
fontSize: "11px",
|
||||||
fontWeight: "400",
|
fontWeight: "400",
|
||||||
letterSpacing: "-0.195px",
|
letterSpacing: "-0.195px",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
export const TextFonts =
|
export const TextFonts = "var(--ads-v2-font-family)";
|
||||||
"-apple-system, BlinkMacSystemFont, “Segoe UI”, “Roboto”, “Oxygen”, “Ubuntu”, “Cantarell”, “Fira Sans”, “Droid Sans”, “Helvetica Neue”, sans-serif";
|
|
||||||
export const CodeFonts =
|
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';
|
'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';
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,6 @@
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
-moz-osx-font-smoothing: grayscale;
|
|
||||||
background-color: #fff !important;
|
background-color: #fff !important;
|
||||||
color: var(--ads-v2-color-fg);
|
color: var(--ads-v2-color-fg);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13134,8 +13134,8 @@ __metadata:
|
||||||
d3-geo: ^3.1.0
|
d3-geo: ^3.1.0
|
||||||
dayjs: ^1.10.6
|
dayjs: ^1.10.6
|
||||||
deep-diff: ^1.0.2
|
deep-diff: ^1.0.2
|
||||||
design-system: "npm:@appsmithorg/design-system@2.1.39"
|
design-system: "npm:@appsmithorg/design-system@2.1.40"
|
||||||
design-system-old: "npm:@appsmithorg/design-system-old@1.1.16"
|
design-system-old: "npm:@appsmithorg/design-system-old@1.1.17"
|
||||||
diff: ^5.0.0
|
diff: ^5.0.0
|
||||||
dotenv: ^8.1.0
|
dotenv: ^8.1.0
|
||||||
downloadjs: ^1.4.7
|
downloadjs: ^1.4.7
|
||||||
|
|
@ -17155,9 +17155,9 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"design-system-old@npm:@appsmithorg/design-system-old@1.1.16":
|
"design-system-old@npm:@appsmithorg/design-system-old@1.1.17":
|
||||||
version: 1.1.16
|
version: 1.1.17
|
||||||
resolution: "@appsmithorg/design-system-old@npm:1.1.16"
|
resolution: "@appsmithorg/design-system-old@npm:1.1.17"
|
||||||
dependencies:
|
dependencies:
|
||||||
emoji-mart: 3.0.1
|
emoji-mart: 3.0.1
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
|
|
@ -17177,13 +17177,13 @@ __metadata:
|
||||||
remixicon-react: ^1.0.0
|
remixicon-react: ^1.0.0
|
||||||
styled-components: 5.3.6
|
styled-components: 5.3.6
|
||||||
tinycolor2: ^1.4.2
|
tinycolor2: ^1.4.2
|
||||||
checksum: 8fbfba86e54bdcbbb30b8e8b1902408ba0cb13f4d33d36c794f3bc0e281d0e2db8f716c10c6e0a3118f010db24f97c72606885bff4c320f41f5df9564ab6b214
|
checksum: f4e4faf58412912ca95e50ccf8554fa480bdfd8fb4628131f9a35df663207aec35469f340920f4ebe63568f29cc1e01a97c0f223ac753e0d574e099434588f06
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"design-system@npm:@appsmithorg/design-system@2.1.39":
|
"design-system@npm:@appsmithorg/design-system@2.1.40":
|
||||||
version: 2.1.39
|
version: 2.1.40
|
||||||
resolution: "@appsmithorg/design-system@npm:2.1.39"
|
resolution: "@appsmithorg/design-system@npm:2.1.40"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@radix-ui/react-dialog": ^1.0.2
|
"@radix-ui/react-dialog": ^1.0.2
|
||||||
"@radix-ui/react-dropdown-menu": ^2.0.4
|
"@radix-ui/react-dropdown-menu": ^2.0.4
|
||||||
|
|
@ -17215,7 +17215,7 @@ __metadata:
|
||||||
react-dom: ^17.0.2
|
react-dom: ^17.0.2
|
||||||
react-router-dom: ^5.0.0
|
react-router-dom: ^5.0.0
|
||||||
styled-components: ^5.3.6
|
styled-components: ^5.3.6
|
||||||
checksum: 7b9ed99c41a8fc0b45db101b18bd87a5dde5ef54291843196d1e26bb60d217c7e552be01c914a859717a294caf2637aef7149afd07b6e224d81cb92f2c3b91b4
|
checksum: 0c45edd67a958fb0f192e405216b3103eb751197b49bb49c9377e9a6185f4a3de007142d5af2df03c9f2b2a9ac337604ca69d1065aac219d97e671f55ef37435
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user