Skip to content

Commit 811ec4d

Browse files
authored
use Inter font and placeholder (#250)
1 parent 2959a2a commit 811ec4d

File tree

4 files changed

+26
-8
lines changed

4 files changed

+26
-8
lines changed

web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@emotion/react": "^11.11.4",
3030
"@emotion/styled": "^11.10.5",
3131
"@fontsource/bebas-neue": "^5.0.20",
32-
"@fontsource/poppins": "^5.0.14",
32+
"@fontsource/inter": "^5.2.6",
3333
"@monaco-editor/react": "^4.7.0",
3434
"@reduxjs/toolkit": "^2.2.4",
3535
"@types/js-yaml": "^4.0.9",

web/src/components/common/AutosizeTextarea.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const AutosizeTextarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
3232
w="100%"
3333
resize="none"
3434
ref={textareaRef}
35+
placeholder='Ask Anything!'
3536
minRows={2}
3637
maxHeight={300}
3738
as={ResizeTextarea}

web/src/components/common/ChakraContext.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { extendTheme } from '@chakra-ui/react'
66
import { StyleSheetManager } from 'styled-components';
77
import isPropValid from '@emotion/is-prop-valid';
88
import '@fontsource/bebas-neue';
9-
import '@fontsource/poppins';
9+
import '@fontsource/inter';
1010

1111
export const theme = extendTheme({
1212
fonts: {
@@ -139,7 +139,7 @@ export const theme = extendTheme({
139139
styles: {
140140
global: {
141141
'.scroll-body, .scroll-body *, .settings-body, .settings-body *': {
142-
fontFamily: `"Poppins", serif`,
142+
fontFamily: `"Inter", sans-serif`,
143143
},
144144
// add ol and ul tstyles. this is a fix for the list rendering the bullets way to the left
145145
'ol, ul': {

yarn.lock

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3566,10 +3566,10 @@ __metadata:
35663566
languageName: node
35673567
linkType: hard
35683568

3569-
"@fontsource/poppins@npm:^5.0.14":
3570-
version: 5.0.14
3571-
resolution: "@fontsource/poppins@npm:5.0.14"
3572-
checksum: 10c0/7dce225f5425fa5c8ae51d241418270eab398b14dcd874cdff9367e052808e51fa6523cbf48de0ab23e095679fb8af552567b387dc62f8c2559d4240f6ce4ea2
3569+
"@fontsource/inter@npm:^5.2.6":
3570+
version: 5.2.6
3571+
resolution: "@fontsource/inter@npm:5.2.6"
3572+
checksum: 10c0/7a1347608aab06e53665272ed41fd906ffa96c57b004e8aae91b98177bba97c54b60305d956254c4771387c383f9bdbd917006fb34c9721c020e6017d33e9a5c
35733573
languageName: node
35743574
linkType: hard
35753575

@@ -12806,6 +12806,15 @@ __metadata:
1280612806
languageName: node
1280712807
linkType: hard
1280812808

12809+
"p-limit@npm:^6.2.0":
12810+
version: 6.2.0
12811+
resolution: "p-limit@npm:6.2.0"
12812+
dependencies:
12813+
yocto-queue: "npm:^1.1.1"
12814+
checksum: 10c0/448bf55a1776ca1444594d53b3c731e68cdca00d44a6c8df06a2f6e506d5bbd540ebb57b05280f8c8bff992a630ed782a69612473f769a7473495d19e2270166
12815+
languageName: node
12816+
linkType: hard
12817+
1280912818
"p-locate@npm:^4.1.0":
1281012819
version: 4.1.0
1281112820
resolution: "p-locate@npm:4.1.0"
@@ -16382,7 +16391,7 @@ __metadata:
1638216391
"@emotion/react": "npm:^11.11.4"
1638316392
"@emotion/styled": "npm:^11.10.5"
1638416393
"@fontsource/bebas-neue": "npm:^5.0.20"
16385-
"@fontsource/poppins": "npm:^5.0.14"
16394+
"@fontsource/inter": "npm:^5.2.6"
1638616395
"@monaco-editor/react": "npm:^4.7.0"
1638716396
"@redux-devtools/core": "npm:^4.0.0"
1638816397
"@reduxjs/toolkit": "npm:^2.2.4"
@@ -16415,6 +16424,7 @@ __metadata:
1641516424
monaco-yaml: "npm:^5.4.0"
1641616425
node-sql-parser: "npm:^5.3.3"
1641716426
openai: "npm:^4.38.2"
16427+
p-limit: "npm:^6.2.0"
1641816428
posthog-js: "npm:^1.161.3"
1641916429
prettier: "npm:^2.8.4"
1642016430
query-string: "npm:^9.0.0"
@@ -16868,6 +16878,13 @@ __metadata:
1686816878
languageName: node
1686916879
linkType: hard
1687016880

16881+
"yocto-queue@npm:^1.1.1":
16882+
version: 1.2.1
16883+
resolution: "yocto-queue@npm:1.2.1"
16884+
checksum: 10c0/5762caa3d0b421f4bdb7a1926b2ae2189fc6e4a14469258f183600028eb16db3e9e0306f46e8ebf5a52ff4b81a881f22637afefbef5399d6ad440824e9b27f9f
16885+
languageName: node
16886+
linkType: hard
16887+
1687116888
"zustand@npm:^4.5.5":
1687216889
version: 4.5.5
1687316890
resolution: "zustand@npm:4.5.5"

0 commit comments

Comments
 (0)