Skip to content

Commit

Permalink
style(frontend): added ibm plex mono fontFamily to command code
Browse files Browse the repository at this point in the history
  • Loading branch information
bekossy committed Nov 27, 2024
1 parent 083159e commit 5d55812
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ const useStyles = createUseStyles((theme: JSSTheme) => ({
padding: theme.paddingXS,
backgroundColor: theme.colorBgContainerDisabled,
borderRadius: theme.borderRadius,
"& pre": {
fontFamily: ibm_plex_mono.style.fontFamily,
},
},

tabs: {
Expand Down Expand Up @@ -116,7 +119,7 @@ const SetupTracingModal = ({...props}: SetupTracingModalProps) => {
</Space>
</Flex>

<div className={`${classes.command} ${ibm_plex_mono.className}`}>
<div className={`${classes.command}`}>
<pre className="m-0">{`pip install -U langchain langchain-openai`}</pre>
</div>
</div>
Expand All @@ -132,7 +135,7 @@ const SetupTracingModal = ({...props}: SetupTracingModalProps) => {
<CopyButton buttonText={""} icon text="Hello" />
</Space>
</Flex>
<div className={`${classes.command} ${ibm_plex_mono.className}`}>
<div className={`${classes.command}`}>
<pre className="m-0">
{`LANGCHAIN_TRACING_V2=true\nLANGCHAIN_ENDPOINT="https://api.smith.langchain.com"\nLANGCHAIN_API_KEY="<your-api-key>"\nLANGCHAIN_PROJECT="pr-terrible-junk-60"`}
</pre>
Expand All @@ -153,7 +156,7 @@ const SetupTracingModal = ({...props}: SetupTracingModalProps) => {
<CopyButton buttonText={""} icon text="Hello" />
</Space>
</Flex>
<div className={`${classes.command} ${ibm_plex_mono.className}`}>
<div className={`${classes.command}`}>
<pre className="m-0">
{`from langchain_openai import ChatOpenAI\nllm = ChatOpenAI()\n\nllm.invoke("Hello, world!")`}
</pre>
Expand Down

0 comments on commit 5d55812

Please sign in to comment.