Преглед на файлове

新增reports目录下的主题字体配置文件,包含Nunito和Space Mono字体的样式和权重设置

zhch158_admin преди 2 месеца
родител
ревизия
37d3632e84
променени са 2 файла, в които са добавени 38 реда и са изтрити 1 реда
  1. 3 1
      streamlit_test/.streamlit/config.toml
  2. 35 0
      streamlit_test/reports/.streamlit/config.toml

+ 3 - 1
streamlit_test/.streamlit/config.toml

@@ -28,7 +28,9 @@
  url="https://fonts.gstatic.com/s/spacemono/v17/i7dMIFZifjKcF5UAWdDRaPpZUFWaHi6WZ3Q.woff2"
  style="normal"
  weight="700"
+ # If this isn't set, the font size will be 16px.
+ baseFontSize = 8
 
  [theme]
  font="Nunito, sans-serif"
- codeFont="'Space Mono', monospace"
+ codeFont="'Space Mono', monospace"

+ 35 - 0
streamlit_test/reports/.streamlit/config.toml

@@ -0,0 +1,35 @@
+[[theme.fontFaces]]
+ family="Nunito"
+ url="https://fonts.gstatic.com/s/nunito/v31/XRXX3I6Li01BKofIMNaDRs7nczIH.woff2"
+ style="italic"
+ weight="200 1000"
+ [[theme.fontFaces]]
+ family="Nunito"
+ url="https://fonts.gstatic.com/s/nunito/v31/XRXV3I6Li01BKofINeaBTMnFcQ.woff2"
+ style="normal"
+ weight="200 1000"
+ [[theme.fontFaces]]
+ family="Space Mono"
+ url="https://fonts.gstatic.com/s/spacemono/v17/i7dNIFZifjKcF5UAWdDRYERMR3K_MQacbw.woff2"
+ style="italic"
+ weight="400"
+ [[theme.fontFaces]]
+ family="Space Mono"
+ url="https://fonts.gstatic.com/s/spacemono/v17/i7dPIFZifjKcF5UAWdDRYEF8RXi4EwQ.woff2"
+ style="normal"
+ weight="400"
+ [[theme.fontFaces]]
+ family="Space Mono"
+ url="https://fonts.gstatic.com/s/spacemono/v17/i7dSIFZifjKcF5UAWdDRYERE_FeqHCSRRXaPYw.woff2"
+ style="italic"
+ weight="700"
+ [[theme.fontFaces]]
+ family="Space Mono"
+ url="https://fonts.gstatic.com/s/spacemono/v17/i7dMIFZifjKcF5UAWdDRaPpZUFWaHi6WZ3Q.woff2"
+ style="normal"
+ weight="700"
+
+ [theme]
+ font="Nunito, sans-serif"
+ codeFont="'Space Mono', monospace"
+ baseFontSize = 8