Ashhar commited on
Commit
b59ec81
1 Parent(s): b303bae

improved font

Browse files
Files changed (1) hide show
  1. utils.py +4 -1
utils.py CHANGED
@@ -7,13 +7,16 @@ def applyCommonStyles():
7
  st.markdown(
8
  """
9
  <head>
10
- <link href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
11
  </head>
12
 
13
  <style>
14
  h1 {
15
  font-family: 'Raleway';
16
  }
 
 
 
17
 
18
  .stButton p {
19
  font-size: 0.9rem;
 
7
  st.markdown(
8
  """
9
  <head>
10
+ <link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet">
11
  </head>
12
 
13
  <style>
14
  h1 {
15
  font-family: 'Raleway';
16
  }
17
+ .stChatMessage div[data-testid="stMarkdownContainer"], .stChatInput textarea {
18
+ font-family: 'Roboto', sans-serif;
19
+ }
20
 
21
  .stButton p {
22
  font-size: 0.9rem;