Skip to content

Commit 9f342ce

Browse files
Fix theming color example sources (#1297)
* Fix theming color example sources * Adjust app height * Fix config.toml fontFaces
1 parent 077563c commit 9f342ce

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+92
-2203
lines changed

content/develop/api-reference/configuration/config-toml.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ codeBackgroundColor =
345345
# - "sans-serif"
346346
# - "serif"
347347
# - "monospace"
348-
# - the `font` value for a custom font table under [[theme.fontFaces]]
348+
# - the `family` value for a custom font table under [[theme.fontFaces]]
349349
# - a comma-separated list of these (as a single string) to specify
350350
# fallbacks
351351
# For example, you can use the following:
@@ -357,7 +357,7 @@ font =
357357
# - "sans-serif"
358358
# - "serif"
359359
# - "monospace"
360-
# - the `font` value for a custom font table under [[theme.fontFaces]]
360+
# - the `family` value for a custom font table under [[theme.fontFaces]]
361361
# - a comma-separated list of these (as a single string) to specify
362362
# fallbacks
363363
codeFont =
@@ -366,21 +366,21 @@ codeFont =
366366
# - "sans-serif"
367367
# - "serif"
368368
# - "monospace"
369-
# - the `font` value for a custom font table under [[theme.fontFaces]]
369+
# - the `family` value for a custom font table under [[theme.fontFaces]]
370370
# - a comma-separated list of these (as a single string) to specify
371371
# fallbacks
372372
# If no heading font is set, Streamlit uses `theme.font` for headings.
373373
headingFont =
374374

375375
# An array of fonts to use in your app. Each font in the array is a table
376-
# (dictionary) with the following three attributes: font, url, weight,
376+
# (dictionary) with the following three attributes: family, url, weight,
377377
# and style. To host a font with your app, enable static file serving
378378
# with `server.enableStaticServing=true`. You can define multiple
379379
# [[theme.fontFaces]] tables.
380380
# For example, each font is defined in a [[theme.fontFaces]] table as
381381
# follows:
382382
# [[theme.fontFaces]]
383-
# font = "font_name"
383+
# family = "font_name"
384384
# url = "app/static/font_file.woff"
385385
# weight = 400
386386
# style = "normal"
@@ -436,7 +436,7 @@ codeBackgroundColor =
436436
# - "sans-serif"
437437
# - "serif"
438438
# - "monospace"
439-
# - the `font` value for a custom font table under [[theme.fontFaces]]
439+
# - the `family` value for a custom font table under [[theme.fontFaces]]
440440
# - a comma-separated list of these (as a single string) to specify
441441
# fallbacks
442442
# For example, you can use the following:
@@ -448,7 +448,7 @@ font =
448448
# - "sans-serif"
449449
# - "serif"
450450
# - "monospace"
451-
# - the `font` value for a custom font table under [[theme.fontFaces]]
451+
# - the `family` value for a custom font table under [[theme.fontFaces]]
452452
# - a comma-separated list of these (as a single string) to specify
453453
# fallbacks
454454
codeFont =
@@ -457,7 +457,7 @@ codeFont =
457457
# - "sans-serif"
458458
# - "serif"
459459
# - "monospace"
460-
# - the `font` value for a custom font table under [[theme.fontFaces]]
460+
# - the `family` value for a custom font table under [[theme.fontFaces]]
461461
# - a comma-separated list of these (as a single string) to specify
462462
# fallbacks
463463
# If no heading font is set, Streamlit uses `theme.font` for headings.

content/develop/concepts/configuration/theming-colors-and-borders.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,4 +213,4 @@ showWidgetBorder=false
213213
showWidgetBorder=true
214214
```
215215

216-
<Cloud name="doc-theming-color-bordercolor" height="400px" />
216+
<Cloud name="doc-theming-color-bordercolor" height="420px" />

python/concept-source/theming-color-backgroundColor/cards.py

Lines changed: 0 additions & 61 deletions
This file was deleted.

python/concept-source/theming-color-backgroundColor/charts.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

python/concept-source/theming-color-backgroundColor/chat.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

python/concept-source/theming-color-backgroundColor/data.py

Lines changed: 0 additions & 53 deletions
This file was deleted.

python/concept-source/theming-color-backgroundColor/home.py

Lines changed: 0 additions & 37 deletions
This file was deleted.

python/concept-source/theming-color-backgroundColor/layouts.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

python/concept-source/theming-color-backgroundColor/media.py

Lines changed: 0 additions & 24 deletions
This file was deleted.

python/concept-source/theming-color-backgroundColor/status.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)