# config.toml

Source: https://docs.streamlit.io/develop/api-reference/configuration/config.toml

## config.toml

`config.toml` is an optional file you can define for your working directory or global development environment. When `config.toml` is defined both globally and in your working directory, Streamlit combines the configuration options and gives precedence to the working-directory configuration. Additionally, you can use environment variables and command-line options to override additional configuration options. For more information, see [Configuration options](https://docs.streamlit.io/develop/concepts/configuration/options).

### File location

To define your configuration locally or per-project, add `.streamlit/config.toml` to your working directory. Your working directory is wherever you call `streamlit run`. If you haven't previously created the `.streamlit` directory, you will need to add it.

To define your configuration globally, you must first locate your global `.streamlit` directory. Streamlit adds this hidden directory to your OS user profile during installation. For MacOS/Linux, this will be `~/.streamlit/config.toml`. For Windows, this will be `%userprofile%/.streamlit/config.toml`.

### File format

`config.toml` is a [TOML](https://toml.io/en/) file.

#### Example

```toml
[client]
showErrorDetails = "none"

[theme]
primaryColor = "#F63366"
backgroundColor = "black"
```

### Available configuration options

Below are all the sections and options you can have in your `.streamlit/config.toml` file. To see all configurations, use the following command in your terminal or CLI:

```bash
streamlit config show
```

#### Global

```toml
[global]

# By default, Streamlit logs a warning when a user sets both a widget
# default value in the function defining the widget and a widget value via
# the widget's key in `st.session_state`.
#
# If you'd like to turn off this warning, set this to True.
#
# Default: false
disableWidgetStateDuplicationWarning = false

# If True, will show a warning when you run a Streamlit-enabled script
# via "python my_script.py".
#
# Default: true
showWarningOnDirectExecution = true
```

#### Logger

```toml
[logger]

# Level of logging for Streamlit's internal logger: "error", "warning",
# "info", or "debug".
#
# Default: "info"
level = "info"

# String format for logging messages. If logger.datetimeFormat is set,
# logger messages will default to `%(asctime)s.%(msecs)03d %(message)s`.
#
# See Python's documentation for available attributes:
# https://docs.python.org/3/library/logging.html#formatter-objects
#
# Default: "%(asctime)s %(message)s"
messageFormat = "%(asctime)s %(message)s"
```

#### Client

```toml
[client]

# Controls whether uncaught app exceptions and deprecation warnings
# are displayed in the browser. This can be one of the following:
#
# - "full"       : In the browser, Streamlit displays app deprecation
#                  warnings and exceptions, including exception types,
#                  exception messages, and associated tracebacks.
# - "stacktrace" : In the browser, Streamlit displays exceptions,
#                  including exception types, generic exception messages,
#                  and associated tracebacks. Deprecation warnings and
#                  full exception messages will only print to the
#                  console.
# - "type"       : In the browser, Streamlit displays exception types and
#                  generic exception messages. Deprecation warnings, full
#                  exception messages, and associated tracebacks only
#                  print to the console.
# - "none"       : In the browser, Streamlit displays generic exception
#                  messages. Deprecation warnings, full exception
#                  messages, associated tracebacks, and exception types
#                  will only print to the console.
# - True         : This is deprecated. Streamlit displays "full"
#                  error details.
# - False        : This is deprecated. Streamlit displays "stacktrace"
#                  error details.
#
# Default: "full"
showErrorDetails = "full"

# Change the visibility of items in the toolbar and options menu
# (top right of the app). The menu and toolbar contain viewer options
# (e.g. print, record screen, theme toggle) and developer options
# (e.g. deploy, rerun, clear cache).
#
# Allowed values:
# - "auto"      : Show the developer options if the app is accessed through
#                 localhost or through Streamlit Community Cloud as a developer.
#                 Hide them otherwise.
# - "developer" : Show the developer options.
# - "viewer"    : Hide the developer options, including the rerun, clear
#                 cache, and deploy button from the toolbar and menu.
# - "minimal"   : Show only options set externally (e.g. through
#                 Streamlit Community Cloud) or through
#                 st.set_page_config. If there are no such options,
#                 hide the menu. When the menu is shown and there is
#                 more than one theme to choose from, it also includes
#                 the theme selector.
#
# Default: "auto"
toolbarMode = "auto"

# Controls whether to display the default sidebar page navigation in a
# multi-page app. This only applies when app's pages are defined by the
# `pages/` directory.
#
# Default: true
showSidebarNavigation = true

# Controls whether to show external help links (Google, ChatGPT) in
# error displays. The following values are valid:
# - "auto" (default) : Links are shown only on localhost.
# - True             : Links are shown on all domains.
# - False            : Links are never shown.
#
# Default: "auto"
showErrorLinks = "auto"

# When true, hides the built-in controls for exporting data from
# components that support it:
#
# - Hides the CSV download button for st.dataframe, st.data_editor,
#   and chart table views.
# - Disables clipboard copy for read-only tables (st.dataframe and
#   chart table views), while keeping st.data_editor copy/paste enabled.
#
# This only hides the built-in export and copy controls. It does not
# prevent users from otherwise accessing the underlying data (e.g. via
# screenshots, browser developer tools, or network inspection), so it
# should not be relied upon as a security or data-protection control.
#
# Default: false
disableDataExport = false
```

#### Runner

```toml
[runner]

# Allows you to type a variable or string by itself in a single line of
# Python code to write it to the app.
#
# Default: true
magicEnabled = true

# Handle script rerun requests immediately, rather than waiting for
# script execution to reach a yield point.
#
# This makes Streamlit much more responsive to user interaction, but it
# can lead to race conditions in apps that mutate session_state data
# outside of explicit session_state assignment statements.
#
# Default: true
fastReruns = true

# Raise an exception after adding unserializable data to Session State.
#
# Some execution environments may require serializing all data in Session
# State, so it may be useful to detect incompatibility during development,
# or when the execution environment will stop supporting it in the future.
#
# Default: false
enforceSerializableSessionState = false

# Adjust how certain 'options' widgets like radio, selectbox, and
# multiselect coerce Enum members.
#
# This is useful when the Enum class gets re-defined during a script
# re-run. For more information, check out the docs:
# https://docs.streamlit.io/develop/concepts/design/custom-classes#enums
#
# Allowed values:
# - "off"          : Disables Enum coercion.
# - "nameOnly"     : Enum classes can be coerced if their member names match.
# - "nameAndValue" : Enum classes can be coerced if their member names AND
#                    member values match.
#
# Default: "nameOnly"
enumCoercion = "nameOnly"

# Maximum number of parallel fragment worker threads per script run.
# Sizes the per-run thread pool. Defaults to Python's
# ThreadPoolExecutor default (min(32, os.cpu_count() + 4)).
parallelMaxWorkers =

# Multiplier applied to a cached function's ttl to set the hard-expiration
# bound for refresh_mode="background". Hard expiry occurs at
# multiplier * ttl. The default is 2.0, so stale values can be served
# for one additional ttl while Streamlit attempts a background refresh.
#
# This is a process-wide bound for every refresh_mode="background"
# function in the process, not a per-function default. Raising it to
# keep one long-idle cache also keeps stale entries for every other
# background cache for (multiplier - 1) * ttl.
#
# Values must be finite and greater than 1.0. Invalid values are ignored
# with a warning and the default 2.0 is used. Values of 1.0 would remove
# the stale window; values below 1.0 would hard-expire before the
# freshness ttl. Use refresh_mode="foreground" to never serve stale
# values. Larger values keep entries longer after idle periods or
# refresh failures, at the cost of higher memory use and older served
# data. Applies to both @st.cache_data and @st.cache_resource.
#
# Default: 2.0
cacheBackgroundRefreshTTLMultiplier = 2.0

# Default time to live, in seconds, for ``st.connection`` when its
# ``ttl`` argument is omitted entirely.
#
# ``None`` (default) leaves such connections cached until they are
# cleared. Passing ``ttl`` explicitly to ``st.connection`` -- including
# ``ttl=None`` -- always uses that value and ignores this default.
#
# This default applies to every connection type, including caller's-rights
# connections and the Snowflake connection in Streamlit in Snowflake.
# Expiry closes the connection, and the next ``st.connection`` call opens
# a new one. Pass an explicit ``ttl`` to override it for one connection.
connectionDefaultTTL =

# Escape hatch for an app whose @st.cache_data / @st.cache_resource cache
# returns the wrong value for a large pandas, polars, or numpy object.
#
# Large objects are hashed from a fixed random sample rather than in full,
# which keeps cache lookups fast. Because the sample positions are derived
# from this seed, two large objects that differ only outside the sampled
# positions produce the same cache key, and the cached value of one is
# returned for the other.
#
# Set an integer from 0 to 4294967295 (2**32 - 1) to move which positions
# are sampled. This does not eliminate collisions — it selects a different
# set of them — so it resolves a collision an app has actually hit rather
# than guaranteeing uniqueness. A value that cannot be converted to an
# integer, or that falls outside that range, is ignored with a warning and
# the default is used instead. A float is truncated toward zero, so 1.5
# becomes 1.
#
# Changing this value changes the cache key of every large object and so
# invalidates existing cached entries. Keep it stable across restarts and
# across replicas, or a shared/persisted cache will miss.
#
# If you need hashing to be exact rather than a different sample, pass your
# own function for the type via the `hash_funcs` argument of
# `@st.cache_data` / `@st.cache_resource`, which bypasses sampling entirely.
#
# Default: 0
cacheHashSeed = 0
```

#### Server

```toml
[server]

# List of directories to watch for changes.
#
# By default, Streamlit watches files in the current working directory
# and its subdirectories. Use this option to specify additional
# directories to watch. Paths must be absolute.
#
# Default: []
folderWatchList = []

# List of directories to ignore for changes.
#
# By default, Streamlit watches files in the current working directory
# and its subdirectories. Use this option to specify exceptions within
# watched directories. Paths can be absolute or relative to the current
# working directory.
#
# Example: ['/home/user1/env', 'relative/path/to/folder']
#
# Default: []
folderWatchBlacklist = []

# Change the type of file watcher used by Streamlit, or turn it off
# completely.
#
# Allowed values:
# - "auto"     : Streamlit will attempt to use the watchdog module, and
#                falls back to polling if watchdog isn't available. In WSL
#                environments, polling is always used for compatibility.
# - "watchdog" : Force Streamlit to use the watchdog module.
# - "poll"     : Force Streamlit to always use polling.
# - "none"     : Streamlit will not watch files.
#
# Default: "auto"
fileWatcherType = "auto"

# If True, Streamlit will use a recursive object graph traversal to
# calculate memory usage statistics for the /_stcore/metrics endpoint.
#
# This can be slow for large session state or cached resource objects. If
# False (the default), Streamlit reports fast proxy values for those
# objects: item counts (the number of cached entries or session-state
# keys) rather than byte sizes. The cache_memory_bytes metric will
# therefore reflect entry counts, not memory consumption, for those
# objects.
#
# Default: false
enableExpensiveMemoryStats = false

# Maximum combined serialized size of all in-memory @st.cache_data entries
# across functions and sessions. This limit counts serialized bytes, not
# process RSS, and does not apply to st.cache_resource.
# Use a binary-unit string such as "2gb" or "500mb" (units are powers of
# 1024). Leave unset (the default), or set to bare TOML 0 or the string
# "0", to disable the limit.
# When the total exceeds the limit, Streamlit evicts the least-recently-used
# in-memory entries; persisted disk entries are not deleted. A single value
# larger than the limit is still cached. Budget enforcement runs when entries
# are inserted and can reduce throughput when many sessions populate caches
# concurrently. Streamlit reads this value when the server starts.
maxCacheDataSize =

# Symmetric key used to produce signed cookies. If deploying on multiple
# replicas, this should be set to the same value across all replicas to ensure
# they all share the same secret.
#
# Default: randomly generated secret key.
cookieSecret = "a-random-key-appears-here"

# If false, will attempt to open a browser window on start.
#
# Default: false unless (1) we are on a Linux box where DISPLAY is unset, or
# (2) we are running in the Streamlit Atom plugin.
headless = false

# Whether to show a terminal prompt for the user's email address when
# they run Streamlit (locally) for the first time. If you set
# `server.headless=True`, Streamlit will not show this prompt.
#
# Default: true
showEmailPrompt = true

# Automatically rerun script when the file is modified on disk.
#
# Default: false
runOnSave = false

# The address where the server will listen for client and browser
# connections.
#
# Use this if you want to bind the server to a specific address.
# If set, the server will only be accessible from this address, and not from
# any aliases (like localhost).
#
# Default: (unset)
address =

# The port where the server will listen for browser connections.
#
# Default: 8501
port = 8501

# The base path for the URL where Streamlit should be served from.
#
# Default: ""
baseUrlPath = ""

# Enables support for Cross-Origin Resource Sharing (CORS) protection,
# for added security.
#
# If you set this option to `False`, Streamlit sends
# `Access-Control-Allow-Origin: *` on most HTTP routes and accepts a
# WebSocket connection from any origin. Streamlit does not enable this
# option for you when `server.enableXsrfProtection` is `True`.
#
# Default: true
enableCORS = true

# Allowed list of origins.
#
# If CORS protection is enabled (`server.enableCORS=True`), use this
# option to set a list of allowed origins that the Streamlit server will
# accept traffic from.
#
# This config option does nothing if CORS protection is disabled.
#
# Example: ['http://example.com', 'https://streamlit.io']
#
# Default: []
corsAllowedOrigins = []

# Allow-list of hostnames for incoming WebSocket connections.
#
# Use this option to protect against DNS rebinding attacks when the
# hostnames used to access the app are known. Ports in the Host header are
# ignored. Wildcard subdomains are supported with a leading `*.`. Use `*`
# to accept any valid Host header.
#
# If this list is empty (the default), Streamlit accepts any Host header
# to preserve compatibility with dynamically configured reverse proxies
# and custom domains.
#
# Example: ['localhost', 'app.example.com', '*.example.com']
#
# Default: []
allowedHosts = []

# Enables support for Cross-Site Request Forgery (XSRF) protection, for
# added security.
#
# This option does not enable `server.enableCORS`. Streamlit does not
# need a valid XSRF token to open a WebSocket connection, so this option
# does not replace `server.enableCORS`.
#
# Default: true
enableXsrfProtection = true

# Controls the SameSite attribute of the cookie Streamlit uses for
# Cross-Site Request Forgery (XSRF) protection. This only has an effect
# when XSRF protection is enabled (via `server.enableXsrfProtection` or
# an `[auth]` section in your secrets); otherwise no XSRF cookie is set.
# It does not affect authentication cookies, which always use
# SameSite=Lax.
#
# Allowed values:
# - "lax" (default): The XSRF cookie is sent on same-site requests and
#   top-level cross-site navigations. This is the recommended, secure
#   default.
# - "strict": The XSRF cookie is only sent on same-site requests.
# - "none": The XSRF cookie is sent on all requests, including cross-site
#   requests. This is required when embedding a Streamlit app in an
#   iframe hosted on a different origin (for example, to make
#   `st.file_uploader` work inside a cross-origin iframe). Browsers
#   only accept `SameSite=None` cookies that also have the `Secure`
#   attribute, so Streamlit sets `Secure` automatically in this case.
#   This means your app must be served over HTTPS (either directly or via
#   a TLS-terminating proxy), otherwise browsers will drop the cookie.
#
# Note: Setting this to "none" relaxes the browser's SameSite-based CSRF
# mitigation, so protection then relies on Streamlit's XSRF token
# validation together with the CORS origin allowlist. Only use "none" if
# you understand this tradeoff.
#
# Default: "lax"
xsrfCookieSameSite = "lax"

# Max size, in megabytes, for files uploaded with the file_uploader.
#
# Default: 200
maxUploadSize = 200

# Max size, in megabytes, of messages that can be sent via the WebSocket
# connection.
#
# Default: 200
maxMessageSize = 200

# Enables support for websocket compression.
#
# Default: false
enableWebsocketCompression = false

# The interval (in seconds) at which the server pings the client to keep
# the websocket connection alive.
#
# The default value should work for most deployments. However, if you're
# experiencing frequent disconnections in certain proxy setups (e.g.,
# "Connection error" messages), you may want to try adjusting this value.
#
# Note: When you set this option, Streamlit automatically sets the ping
# timeout to match this interval.
websocketPingInterval =

# Enable serving files from a `static` directory in the running app's
# directory.
#
# Default: false
enableStaticServing = false

# TTL in seconds for sessions whose websockets have been disconnected.
#
# The server may choose to clean up session state, uploaded files, etc
# for a given session with no active websocket connection at any point
# after this time has passed. If you are using load balancing or
# replication in your deployment, you must enable session stickiness
# in your proxy to guarantee reconnection to the existing session. For
# more information, see https://docs.streamlit.io/replication.
#
# Default: 120
disconnectedSessionTTL = 120

# Enable the agent API, which lets a non-browser client drive the app
# over HTTP at `/_stcore/agent/interact`, or as a remote MCP server at
# `/_stcore/agent/mcp`. `/_stcore/agent/openapi.json` describes the
# protocol, and reports whether the API is on.
#
# The API is off by default. Once on, it is served wherever the app is,
# with the same Host allow-list as the app's WebSocket, and a caller gets
# no more access than the app gives a browser. Requests from web pages
# are refused unless their origin is in `server.corsAllowedOrigins`.
# Identity comes from `server.trustedUserHeaders`; without it, agent
# sessions are anonymous. A proxy that strips client-supplied identity
# headers must also strip them from requests to `/_stcore/agent/`, not
# only from the WebSocket.
#
# Note: This is an experimental feature. The API and its options are
# subject to change.
#
# Default: false
enableAgentApi = false

# Maximum number of seconds an agent API request waits for the app to
# finish running, including any reruns it triggers, before returning
# `wait_timed_out`.
#
# This bounds the wait, not the run: the app keeps running. To keep
# waiting, send only the `session_id` from the `wait_timed_out`
# response; that request waits for the same run instead of starting
# another. Resending a request without a `session_id` starts a new
# session and runs the app again. Keep this below the request timeout
# of the clients you expect.
#
# Note: This is part of the experimental agent API. See
# `server.enableAgentApi`.
#
# Default: 30
agentWaitTimeout = 30

# TTL in seconds for idle agent API sessions.
#
# Streamlit closes an agent session after it has been idle this long, so
# clients do not have to close sessions. A later request with that
# session's ID gets `unknown_session`.
#
# Note: This is part of the experimental agent API. See
# `server.enableAgentApi`.
#
# Default: 900
agentSessionTTL = 900

# Maximum number of agent API sessions the server holds at once.
#
# Each session stays in memory after the request that created it, so
# this limit caps the memory a client can use by creating sessions
# repeatedly. At the limit, Streamlit first closes sessions idle longer
# than `server.agentSessionTTL`, then refuses new ones with
# `too_many_sessions`.
#
# Note: This is part of the experimental agent API. See
# `server.enableAgentApi`.
#
# Default: 100
agentMaxSessions = 100

# Maximum number of rows an agent API response includes inline in the
# `data.preview` of a table or chart: `st.dataframe`, `st.data_editor`,
# `st.table`, and Vega-Lite charts (`st.altair_chart`,
# `st.vega_lite_chart`, and built-in charts such as `st.line_chart`).
#
# For an element with more rows, the response reports
# `data.complete: false` and serves the full data at `data.url`, unless
# `data.unavailable` says why it cannot.
#
# Note: This is part of the experimental agent API. See
# `server.enableAgentApi`.
#
# Default: 100
agentPreviewRows = 100

# Server certificate file for connecting via HTTPS.
# Must be set at the same time as "server.sslKeyFile".
#
# ['DO NOT USE THIS OPTION IN A PRODUCTION ENVIRONMENT. It has not gone through
# security audits or performance tests. For a production environment, we
# recommend performing SSL termination through a load balancer or reverse
# proxy.']
sslCertFile =

# Cryptographic key file for connecting via HTTPS.
# Must be set at the same time as "server.sslCertFile".
#
# ['DO NOT USE THIS OPTION IN A PRODUCTION ENVIRONMENT. It has not gone through
# security audits or performance tests. For a production environment, we
# recommend performing SSL termination through a load balancer or reverse
# proxy.']
sslKeyFile =
```

#### Browser

```toml
[browser]

# Internet address where users should point their browsers in order to
# connect to the app. Can be IP address or DNS name and path.
#
# This is used to:
# - Set the correct URL for CORS and XSRF protection purposes.
# - Show the URL on the terminal
# - Open the browser
#
# Default: "localhost"
serverAddress = "localhost"

# Whether to send usage statistics to Streamlit.
#
# Default: true
gatherUsageStats = true

# Port where users should point their browsers in order to connect to the
# app.
#
# This is used to:
# - Set the correct URL for XSRF protection purposes.
# - Show the URL on the terminal (part of `streamlit run`).
# - Open the browser automatically (part of `streamlit run`).
#
# This option is for advanced use cases. To change the port of your app, use
# `server.Port` instead.
#
# Default: whatever value is set in server.port.
serverPort = 8501
```

#### Theme

To define switchable light and dark themes, the configuration options in the
`[theme]` table can be used in separate `[theme.dark]` and `[theme.light]`
tables, except for the following options:

- `base`
- `fontFaces`
- `baseFontSize`
- `baseFontWeight`
- `metricValueFontSize`
- `metricValueFontWeight`
- `showSidebarBorder`

Chart series colors (`chartCategoricalColors`, `chartSequentialColors`, and `chartDivergingColors`) can be set in `[theme]`, `[theme.light]`, `[theme.dark]`, and the corresponding sidebar sections. Unset sections inherit from `[theme]`.

Additionally, everything in `[theme.sidebar]` can be configured in separate `[theme.dark.sidebar]` and `[theme.light.sidebar]` tables.

```toml
[theme]

# The theme that your custom theme inherits from.
#
# This can be one of the following:
# - "light": Streamlit's default light theme.
# - "dark" : Streamlit's default dark theme.
# - A local file path to a TOML theme file: A local custom theme, like
#   "themes/custom.toml".
# - A URL to a TOML theme file: An externally hosted custom theme, like
#   "https://example.com/theme.toml".
#
# A TOML theme file must contain a [theme] table with theme options.
# Any theme options defined in the app's config.toml file will override
# those defined in the TOML theme file.
base =

# Primary accent color.
#
# Defaults to #c53948 for the light theme and #cf4250 for the dark theme.
primaryColor =

# Background color of the app.
#
# Defaults to #ffffff for the light theme and #171614 for the dark theme.
# When a sidebar section doesn't set this, the sidebar uses #f8f8f7
# (light) or #21201d (dark) if backgroundColor and
# secondaryBackgroundColor both still match their defaults. Otherwise,
# the sidebar uses the app's secondaryBackgroundColor.
backgroundColor =

# Background color used for most interactive widgets.
#
# Defaults to #f8f8f7 for the light theme and #2d2b27 for the dark theme.
# When a sidebar section doesn't set this, the sidebar uses #f1f0ee
# (light) or #2d2b27 (dark) if backgroundColor and
# secondaryBackgroundColor both still match their defaults. Otherwise,
# the sidebar uses the app's backgroundColor.
secondaryBackgroundColor =

# Color used for almost all text.
#
# Defaults to #2f2d2b for the light theme and #edebe8 for the dark theme.
textColor =

# Red color used in the basic color palette.
#
# By default, this is #d94a57 for the light theme and #f2919a for the
# dark theme.
#
# Setting `redColor` without `redBackgroundColor` replaces the opaque
# `redBackgroundColor` default with a translucent color Streamlit derives
# from `redColor` (10% opacity in light themes, 20% in dark), even when
# `redColor` equals its documented default.
redColor =

# Orange color used in the basic color palette.
#
# By default, this is #e0682b for the light theme and #f2a56d for the
# dark theme.
#
# Setting `orangeColor` without `orangeBackgroundColor` replaces the opaque
# `orangeBackgroundColor` default with a translucent color Streamlit derives
# from `orangeColor` (10% opacity in light themes, 20% in dark), even when
# `orangeColor` equals its documented default.
orangeColor =

# Yellow color used in the basic color palette.
#
# By default, this is #bb8300 for the light theme and #fbd54f for the
# dark theme.
#
# Setting `yellowColor` without `yellowBackgroundColor` replaces the opaque
# `yellowBackgroundColor` default with a translucent color Streamlit derives
# from `yellowColor` (10% opacity in light themes, 20% in dark), even when
# `yellowColor` equals its documented default.
yellowColor =

# Blue color used in the basic color palette.
#
# By default, this is #3b82f6 for the light theme and #85b8f8 for the
# dark theme.
#
# Setting `blueColor` without `blueBackgroundColor` replaces the opaque
# `blueBackgroundColor` default with a translucent color Streamlit derives
# from `blueColor` (10% opacity in light themes, 20% in dark), even when
# `blueColor` equals its documented default.
blueColor =

# Green color used in the basic color palette.
#
# By default, this is #079464 for the light theme and #7ed5b0 for the
# dark theme.
#
# Setting `greenColor` without `greenBackgroundColor` replaces the opaque
# `greenBackgroundColor` default with a translucent color Streamlit derives
# from `greenColor` (10% opacity in light themes, 20% in dark), even when
# `greenColor` equals its documented default.
greenColor =

# Violet color used in the basic color palette.
#
# By default, this is #9b5de5 for the light theme and #bf8ef7 for the
# dark theme.
#
# Setting `violetColor` without `violetBackgroundColor` replaces the opaque
# `violetBackgroundColor` default with a translucent color Streamlit derives
# from `violetColor` (10% opacity in light themes, 20% in dark), even when
# `violetColor` equals its documented default.
violetColor =

# Gray color used in the basic color palette.
#
# By default, this is #6b7280 for the light theme and #a9a5a0 for the
# dark theme.
#
# Setting `grayColor` without `grayBackgroundColor` replaces the opaque
# `grayBackgroundColor` default with a translucent color Streamlit derives
# from `grayColor` (10% opacity in light themes, 20% in dark), even when
# `grayColor` equals its documented default.
grayColor =

# Red background color used in the basic color palette.
#
# When unset, this is #fff1f2 for the light theme and #412023 for the dark
# theme (opaque defaults).
#
# If `redColor` is set and this option is unset, Streamlit derives a
# translucent background from `redColor` (10% opacity in light
# themes, 20% in dark) instead — even when `redColor` equals its
# documented default.
redBackgroundColor =

# Orange background color used for the basic color palette.
#
# When unset, this is #fff6ed for the light theme and #342414 for the dark
# theme (opaque defaults).
#
# If `orangeColor` is set and this option is unset, Streamlit derives a
# translucent background from `orangeColor` (10% opacity in light
# themes, 20% in dark) instead — even when `orangeColor` equals its
# documented default.
orangeBackgroundColor =

# Yellow background color used for the basic color palette.
#
# When unset, this is #fffae5 for the light theme and #302917 for the dark
# theme (opaque defaults).
#
# If `yellowColor` is set and this option is unset, Streamlit derives a
# translucent background from `yellowColor` (10% opacity in light
# themes, 20% in dark) instead — even when `yellowColor` equals its
# documented default.
yellowBackgroundColor =

# Blue background color used for the basic color palette.
#
# When unset, this is #edf5ff for the light theme and #1e2a3d for the dark
# theme (opaque defaults).
#
# If `blueColor` is set and this option is unset, Streamlit derives a
# translucent background from `blueColor` (10% opacity in light
# themes, 20% in dark) instead — even when `blueColor` equals its
# documented default.
blueBackgroundColor =

# Green background color used for the basic color palette.
#
# When unset, this is #f1fbf6 for the light theme and #0e2f24 for the dark
# theme (opaque defaults).
#
# If `greenColor` is set and this option is unset, Streamlit derives a
# translucent background from `greenColor` (10% opacity in light
# themes, 20% in dark) instead — even when `greenColor` equals its
# documented default.
greenBackgroundColor =

# Violet background color used for the basic color palette.
#
# When unset, this is #f8f2ff for the light theme and #332244 for the dark
# theme (opaque defaults).
#
# If `violetColor` is set and this option is unset, Streamlit derives a
# translucent background from `violetColor` (10% opacity in light
# themes, 20% in dark) instead — even when `violetColor` equals its
# documented default.
violetBackgroundColor =

# Gray background color used for the basic color palette.
#
# When unset, this is #f5f4f2 for the light theme and #2c2925 for the dark
# theme (opaque defaults).
#
# If `grayColor` is set and this option is unset, Streamlit derives a
# translucent background from `grayColor` (10% opacity in light
# themes, 20% in dark) instead — even when `grayColor` equals its
# documented default.
grayBackgroundColor =

# Red text color used for the basic color palette.
#
# Defaults to #9e303b for the light theme and #f2919a for the dark
# theme.
#
# If `redColor` is set and this option is unset, Streamlit derives the
# text color from `redColor` (darkened by 15% in light themes,
# lightened by 15% in dark) instead — even when `redColor` equals
# its documented default.
redTextColor =

# Orange text color used for the basic color palette.
#
# Defaults to #9b4519 for the light theme and #f2a56d for the dark
# theme.
#
# If `orangeColor` is set and this option is unset, Streamlit derives the
# text color from `orangeColor` (darkened by 15% in light themes,
# lightened by 15% in dark) instead — even when `orangeColor` equals
# its documented default.
orangeTextColor =

# Yellow text color used for the basic color palette.
#
# Defaults to #956b0f for the light theme and #fbd54f for the dark
# theme.
#
# If `yellowColor` is set and this option is unset, Streamlit derives the
# text color from `yellowColor` (darkened by 15% in light themes,
# lightened by 15% in dark) instead — even when `yellowColor` equals
# its documented default.
yellowTextColor =

# Blue text color used for the basic color palette.
#
# Defaults to #244fb4 for the light theme and #85b8f8 for the dark
# theme.
#
# If `blueColor` is set and this option is unset, Streamlit derives the
# text color from `blueColor` (darkened by 15% in light themes,
# lightened by 15% in dark) instead — even when `blueColor` equals
# its documented default.
blueTextColor =

# Green text color used for the basic color palette.
#
# Defaults to #0c5a44 for the light theme and #7ed5b0 for the dark
# theme.
#
# If `greenColor` is set and this option is unset, Streamlit derives the
# text color from `greenColor` (darkened by 15% in light themes,
# lightened by 15% in dark) instead — even when `greenColor` equals
# its documented default.
greenTextColor =

# Violet text color used for the basic color palette.
#
# Defaults to #6f33b8 for the light theme and #bf8ef7 for the dark
# theme.
#
# If `violetColor` is set and this option is unset, Streamlit derives the
# text color from `violetColor` (darkened by 15% in light themes,
# lightened by 15% in dark) instead — even when `violetColor` equals
# its documented default.
violetTextColor =

# Gray text color used for the basic color palette.
#
# Defaults to #686255 for the light theme and #b8b3a8 for the dark
# theme.
#
# If `grayColor` is set and this option is unset, Streamlit derives the
# text color from `grayColor` (darkened by 15% in light themes,
# lightened by 15% in dark) instead — even when `grayColor` equals
# its documented default.
grayTextColor =

# Color used for all links.
#
# This defaults to the resolved value of `blueTextColor`.
linkColor =

# Whether or not links should be displayed with an underline.
linkUnderline =

# Text color used for code blocks.
#
# If this isn't set, Streamlit uses the resolved body text color. If
# `backgroundColor`, `secondaryBackgroundColor`, or `primaryColor`
# differs from the base theme, Streamlit uses the resolved
# `greenTextColor` instead.
codeTextColor =

# Background color used for code blocks.
#
# If this isn't set, Streamlit uses the theme's default code
# background. If `backgroundColor`, `secondaryBackgroundColor`, or
# `primaryColor` differs from the base theme, Streamlit derives the
# fill from those colors.
codeBackgroundColor =

# The font family for all text, except code blocks.
#
# This can be one of the following:
# - "sans-serif"
# - "serif"
# - "monospace"
# - The `family` value for a custom font table under [[theme.fontFaces]]
# - A URL to a CSS file in the format of "<font name>:<url>" (like
#   "Nunito:https://fonts.googleapis.com/css2?family=Nunito&display=swap")
# - A comma-separated list of these (as a single string) to specify
#   fallbacks
#
# For example, you can use the following:
#
# font = "cool-font, fallback-cool-font, sans-serif"
font =

# An array of fonts to use in your app.
#
# Each font in the array is a table (dictionary) that can have the
# following attributes, closely resembling CSS font-face definitions:
# - family
# - url
# - weight (optional)
# - style (optional)
# - unicodeRange (optional)
#
# To host a font with your app, enable static file serving with
# `server.enableStaticServing=true`.
#
# You can define multiple [[theme.fontFaces]] tables, including multiple
# tables with the same family if your font is defined by multiple files.
#
# For example, a font hosted with your app may have a [[theme.fontFaces]]
# table as follows:
#
# [[theme.fontFaces]]
# family = "font_name"
# url = "app/static/font_file.woff"
# weight = "400"
# style = "normal"
fontFaces =

# The root font size (in pixels) for the app.
#
# This determines the overall scale of text and UI elements. This is a
# positive integer.
#
# If this isn't set, the font size will be 16px.
baseFontSize =

# The root font weight for the app.
#
# This determines the overall weight of text and UI elements. This is an
# integer multiple of 50. Values can be between 100 and 600, inclusive.
#
# Streamlit derives heavier weights from this base (+100 / +200 / +300).
# The maximum is 600 so the heaviest derived weight never exceeds 900.
#
# If this isn't set, the font weight will be set to 400 (normal weight).
baseFontWeight =

# The font size for st.metric value text.
#
# Font sizes can be specified in pixels or rem, like "48px" or "3rem".
# If a numeric string is provided without a unit, it will be treated as
# pixels. If you pass an integer or float directly, it will be ignored.
#
# If this isn't set, the font size will be 2.25rem.
metricValueFontSize =

# The font weight for st.metric value text.
#
# This is an integer multiple of 50. Values can be between 100 and 900,
# inclusive.
#
# If this isn't set, the font weight will inherit from the parent element.
metricValueFontWeight =

# The font family to use for headings.
#
# This can be one of the following:
# - "sans-serif"
# - "serif"
# - "monospace"
# - The `family` value for a custom font table under [[theme.fontFaces]]
# - A URL to a CSS file in the format of "<font name>:<url>" (like
#   "Nunito:https://fonts.googleapis.com/css2?family=Nunito&display=swap")
# - A comma-separated list of these (as a single string) to specify
#   fallbacks
#
# If this isn't set, Streamlit uses `theme.font` for headings.
headingFont =

# One or more font sizes for h1-h6 headings.
#
# If no sizes are set, Streamlit will use the default sizes for h1-h6
# headings. Heading font sizes set in [theme] are not inherited by
# [theme.sidebar]. The following sizes are used by default:
# [
#     "2.75rem", # h1 (1.5rem for sidebar)
#     "2.25rem", # h2 (1.25rem for sidebar)
#     "1.75rem", # h3 (1.125rem for sidebar)
#     "1.5rem", # h4 (1rem for sidebar)
#     "1.25rem", # h5 (0.875rem for sidebar)
#     "1rem", # h6 (0.75rem for sidebar)
# ]
#
# If you specify an array with fewer than six sizes, the unspecified
# heading sizes will be the default values. For example, you can use the
# following array to set the font sizes for h1-h3 headings while keeping
# h4-h6 headings at their default sizes:
# headingFontSizes = ["3rem", "2.875rem", "2.75rem"]
#
# Setting a single value (not in an array) will set the font size for all
# h1-h6 headings to that value:
# headingFontSizes = "2.75rem"
#
# Font sizes can be specified in pixels or rem, but rem is recommended.
headingFontSizes =

# One or more font weights for h1-h6 headings.
#
# Each weight must be an integer multiple of 50, between 100 and 900
# inclusive. Invalid values are ignored and the default weight is used.
#
# If no weights are set, Streamlit will use the default weights for h1-h6
# headings. Heading font weights set in [theme] are not inherited by
# [theme.sidebar]. The following weights are used by default:
# [
#     700, # h1 (bold)
#     600, # h2 (semi-bold)
#     600, # h3 (semi-bold)
#     600, # h4 (semi-bold)
#     600, # h5 (semi-bold)
#     600, # h6 (semi-bold)
# ]
#
# If you specify an array with fewer than six weights, the unspecified
# heading weights will be the default values. For example, you can use
# the following array to set the font weights for h1-h2 headings while
# keeping h3-h6 headings at their default weights:
# headingFontWeights = [800, 700]
#
# Setting a single value (not in an array) will set the font weight for
# all h1-h6 headings to that value:
# headingFontWeights = 550
headingFontWeights =

# The font family to use for code (monospace) in the sidebar.
#
# This can be one of the following:
# - "sans-serif"
# - "serif"
# - "monospace"
# - The `family` value for a custom font table under [[theme.fontFaces]]
# - A URL to a CSS file in the format of "<font name>:<url>" (like
#   "'Space Mono':https://fonts.googleapis.com/css2?family=Space+Mono&display=swap")
# - A comma-separated list of these (as a single string) to specify
#   fallbacks
codeFont =

# The font size (in pixels or rem) for code blocks and code text.
#
# This applies to font in code blocks, `st.json`, and `st.help`. It
# doesn't apply to inline code, which is set by default to 0.75em.
#
# If this isn't set, the code font size will be 0.875rem.
codeFontSize =

# The font weight for code blocks and code text.
#
# This applies to font in inline code, code blocks, `st.json`, and
# `st.help`. This is an integer multiple of 50. Values can be between
# 100 and 600, inclusive.
#
# Streamlit derives heavier code weights from this base (+200 / +300).
# The maximum is 600 so the heaviest derived weight never exceeds 900.
#
# If this isn't set, the code font weight will be 400 (normal weight).
codeFontWeight =

# The radius used as basis for the corners of most UI elements.
#
# This can be one of the following:
# - "none"
# - "small"
# - "medium"
# - "large"
# - "full"
# - The number in pixels or rem.
#
# For example, you can use "10px", "0.5rem", or "2rem". To follow best
# practices, use rem instead of pixels when specifying a numeric size.
baseRadius =

# The radius used as basis for the corners of buttons.
#
# This can be one of the following:
# - "none"
# - "small"
# - "medium"
# - "large"
# - "full"
# - The number in pixels or rem.
#
# For example, you can use "10px", "0.5rem", or "2rem". To follow best
# practices, use rem instead of pixels when specifying a numeric size.
#
# If this isn't set, Streamlit uses `theme.baseRadius` instead.
buttonRadius =

# The gap under the header to the first widget in the main content area
# or sidebar.
#
# Set this as a quoted string in "rem" or "px" (for example "1rem",
# "16px", or "16"). A numeric string without a unit is treated as
# pixels ("16" is 16px; "1.5" is 1.5px). Zero is allowed ("0", "0rem",
# "0px"). An integer or float without quotes is ignored. Negative
# values, percentages, and other CSS units are rejected and fall back to
# the default.
#
# Prefer rem (for example "1.5rem") so spacing scales with font size.
#
# Main area: The value is the gap below any visible header chrome
# (toolbar, logo, expand button, top nav). Streamlit adds the header
# height automatically so content clears the overlay. A value of "0"
# places the first widget flush under that chrome (not flush to the top
# of the viewport). Embed options such as show_padding / show_toolbar
# do not override a configured value. In a bare embed with no header
# chrome, the configured value is used alone — very small values
# (including "0") can clip the first element's overlay toolbar. Leave
# this unset for compact embeds that need the default clearance, or use
# a small non-zero gap. Print uses the configured value with no header
# reservation. If unset, Streamlit uses its built-in defaults
# (typically 6rem, or 8rem with top nav).
#
# Sidebar: The same gap under the sidebar's own chrome (the logo and
# collapse row, plus page navigation when it is shown). Streamlit does
# not add the main header height on top of this value. With page
# navigation, the gap is from the nav to the first widget. Without page
# navigation, the gap is from the header row to the first widget. If
# unset, Streamlit uses its built-in sidebar spacing.
paddingTop =

# The aesthetic bottom inset after the last widget in the main content
# area or sidebar.
#
# Set this as a quoted string in "rem" or "px" (for example "2rem" or
# "32px"). A numeric string without a unit is treated as pixels. Zero
# is allowed. An integer or float without quotes is ignored. Negative
# values, percentages, and other CSS units are rejected and fall back
# to the default.
#
# When set, this replaces Streamlit's built-in bottom spacing: typically
# 10rem in the main area with no st.bottom content (or 1rem when
# st.bottom is present), and 6rem in the sidebar. Sticky st.bottom
# content is not affected. Horizontal padding is not configurable yet.
# If unset, Streamlit uses its built-in defaults.
paddingBottom =

# The color of the border around elements.
borderColor =

# The color of the border around dataframes and tables.
#
# If this isn't set and `theme.borderColor` is set, Streamlit uses a
# lighter version of `theme.borderColor`. If neither is set, Streamlit
# uses the theme's default dataframe border color. If
# `backgroundColor`, `secondaryBackgroundColor`, or `primaryColor`
# differs from the base theme and neither border is set, Streamlit
# derives a light border from text color.
dataframeBorderColor =

# The background color of the dataframe's header.
#
# This color applies to all non-interior cells of the dataframe. This
# includes the header row, the row-selection column (if present), and
# the bottom row of data editors with a dynamic number of rows. If this
# isn't set, Streamlit uses the theme's default dataframe header
# background. If `backgroundColor`, `secondaryBackgroundColor`, or
# `primaryColor` differs from the base theme, Streamlit derives the
# fill from those colors.
dataframeHeaderBackgroundColor =

# The text color of the dataframe's header.
#
# This color applies to column headers, grouped column headers, and
# header icons such as sort and edit. It doesn't apply to the text in
# body cells. If this is set, Streamlit uses it as-is. If it isn't
# set, Streamlit uses a faded version of `theme.textColor` (the
# configured `textColor`, or the theme default if `textColor` is also
# unset). When a column is selected, its header text and icons stay
# white, matching existing selection behavior.
dataframeHeaderTextColor =

# Whether to show a border around input widgets.
#
# If this is unset or `true`, Streamlit draws widget borders using
# `borderColor`. Set it to `false` to hide them.
showWidgetBorder =

# Whether to show a vertical separator between the sidebar and the main
# content area.
#
# If this is unset or `true`, Streamlit shows the separator. Set it to
# `false` to hide it.
showSidebarBorder =

# An array of colors to use for categorical chart data.
#
# This is a list of one or more color strings which are applied in order
# to categorical data. These colors apply to Plotly, Altair, and
# Vega-Lite charts.
#
# Invalid colors are skipped, and colors repeat cyclically if there are
# more categories than colors. If no chart categorical colors are set,
# Streamlit uses a default set of colors.
#
# This option can be set in `[theme]`, `[theme.light]`, `[theme.dark]`,
# and the corresponding sidebar sections. Unset sections inherit from
# `[theme]`.
#
# For light themes, the following colors are the default:
# [
#     "#0068c9", # blue80
#     "#83c9ff", # blue40
#     "#ff2b2b", # red80
#     "#ffabab", # red40
#     "#29b09d", # blueGreen80
#     "#7defa1", # green40
#     "#ff8700", # orange80
#     "#ffd16a", # orange50
#     "#6d3fc0", # purple80
#     "#d5dae5", # gray40
# ]
# For dark themes, the following colors are the default:
# [
#     "#83c9ff", # blue40
#     "#0068c9", # blue80
#     "#ffabab", # red40
#     "#ff2b2b", # red80
#     "#7defa1", # green40
#     "#29b09d", # blueGreen80
#     "#ffd16a", # orange50
#     "#ff8700", # orange80
#     "#6d3fc0", # purple80
#     "#d5dae5", # gray40
# ]
chartCategoricalColors =

# An array of ten colors to use for sequential or continuous chart data.
#
# The ten colors create a gradient color scale. These colors apply to
# Plotly, Altair, and Vega-Lite charts.
#
# Invalid color strings are skipped. If there are not exactly ten
# valid colors specified, Streamlit uses a default set of colors.
#
# This option can be set in `[theme]`, `[theme.light]`, `[theme.dark]`,
# and the corresponding sidebar sections. Unset sections inherit from
# `[theme]`.
#
# For light themes, the following colors are the default:
# [
#     "#e4f5ff", #blue10
#     "#c7ebff", #blue20
#     "#a6dcff", #blue30
#     "#83c9ff", #blue40
#     "#60b4ff", #blue50
#     "#3d9df3", #blue60
#     "#1c83e1", #blue70
#     "#0068c9", #blue80
#     "#0054a3", #blue90
#     "#004280", #blue100
# ]
# For dark themes, the following colors are the default:
# [
#     "#004280", #blue100
#     "#0054a3", #blue90
#     "#0068c9", #blue80
#     "#1c83e1", #blue70
#     "#3d9df3", #blue60
#     "#60b4ff", #blue50
#     "#83c9ff", #blue40
#     "#a6dcff", #blue30
#     "#c7ebff", #blue20
#     "#e4f5ff", #blue10
# ]
chartSequentialColors =

# An array of ten colors to use for diverging chart data.
#
# The ten colors create a diverging color scale, typically used for data
# with a meaningful midpoint. These colors apply to Plotly, Altair, and
# Vega-Lite charts.
#
# Invalid color strings are skipped. If there are not exactly ten
# valid colors specified, Streamlit uses a default set of colors.
#
# This option can be set in `[theme]`, `[theme.light]`, `[theme.dark]`,
# and the corresponding sidebar sections. Unset sections inherit from
# `[theme]`.
#
# The default colors are:
# [
#     "#7d353b", #red100
#     "#bd4043", #red90
#     "#ff4b4b", #red70
#     "#ff8c8c", #red50
#     "#ffc7c7", #red30
#     "#a6dcff", #blue30
#     "#60b4ff", #blue50
#     "#1c83e1", #blue70
#     "#0054a3", #blue90
#     "#004280", #blue100
# ]
chartDivergingColors =
```

#### Sidebar theme

To define switchable light and dark themes, the configuration options in the
`[theme.sidebar]` table can be used in separate `[theme.dark.sidebar]` and
`[theme.light.sidebar]`.

```toml
[theme.sidebar]

# Primary accent color.
#
# Defaults to #c53948 for the light theme and #cf4250 for the dark theme.
primaryColor =

# Background color of the app.
#
# Defaults to #ffffff for the light theme and #171614 for the dark theme.
# When a sidebar section doesn't set this, the sidebar uses #f8f8f7
# (light) or #21201d (dark) if backgroundColor and
# secondaryBackgroundColor both still match their defaults. Otherwise,
# the sidebar uses the app's secondaryBackgroundColor.
backgroundColor =

# Background color used for most interactive widgets.
#
# Defaults to #f8f8f7 for the light theme and #2d2b27 for the dark theme.
# When a sidebar section doesn't set this, the sidebar uses #f1f0ee
# (light) or #2d2b27 (dark) if backgroundColor and
# secondaryBackgroundColor both still match their defaults. Otherwise,
# the sidebar uses the app's backgroundColor.
secondaryBackgroundColor =

# Color used for almost all text.
#
# Defaults to #2f2d2b for the light theme and #edebe8 for the dark theme.
textColor =

# Red color used in the basic color palette.
#
# By default, this is #d94a57 for the light theme and #f2919a for the
# dark theme.
#
# Setting `redColor` without `redBackgroundColor` replaces the opaque
# `redBackgroundColor` default with a translucent color Streamlit derives
# from `redColor` (10% opacity in light themes, 20% in dark), even when
# `redColor` equals its documented default.
redColor =

# Orange color used in the basic color palette.
#
# By default, this is #e0682b for the light theme and #f2a56d for the
# dark theme.
#
# Setting `orangeColor` without `orangeBackgroundColor` replaces the opaque
# `orangeBackgroundColor` default with a translucent color Streamlit derives
# from `orangeColor` (10% opacity in light themes, 20% in dark), even when
# `orangeColor` equals its documented default.
orangeColor =

# Yellow color used in the basic color palette.
#
# By default, this is #bb8300 for the light theme and #fbd54f for the
# dark theme.
#
# Setting `yellowColor` without `yellowBackgroundColor` replaces the opaque
# `yellowBackgroundColor` default with a translucent color Streamlit derives
# from `yellowColor` (10% opacity in light themes, 20% in dark), even when
# `yellowColor` equals its documented default.
yellowColor =

# Blue color used in the basic color palette.
#
# By default, this is #3b82f6 for the light theme and #85b8f8 for the
# dark theme.
#
# Setting `blueColor` without `blueBackgroundColor` replaces the opaque
# `blueBackgroundColor` default with a translucent color Streamlit derives
# from `blueColor` (10% opacity in light themes, 20% in dark), even when
# `blueColor` equals its documented default.
blueColor =

# Green color used in the basic color palette.
#
# By default, this is #079464 for the light theme and #7ed5b0 for the
# dark theme.
#
# Setting `greenColor` without `greenBackgroundColor` replaces the opaque
# `greenBackgroundColor` default with a translucent color Streamlit derives
# from `greenColor` (10% opacity in light themes, 20% in dark), even when
# `greenColor` equals its documented default.
greenColor =

# Violet color used in the basic color palette.
#
# By default, this is #9b5de5 for the light theme and #bf8ef7 for the
# dark theme.
#
# Setting `violetColor` without `violetBackgroundColor` replaces the opaque
# `violetBackgroundColor` default with a translucent color Streamlit derives
# from `violetColor` (10% opacity in light themes, 20% in dark), even when
# `violetColor` equals its documented default.
violetColor =

# Gray color used in the basic color palette.
#
# By default, this is #6b7280 for the light theme and #a9a5a0 for the
# dark theme.
#
# Setting `grayColor` without `grayBackgroundColor` replaces the opaque
# `grayBackgroundColor` default with a translucent color Streamlit derives
# from `grayColor` (10% opacity in light themes, 20% in dark), even when
# `grayColor` equals its documented default.
grayColor =

# Red background color used in the basic color palette.
#
# When unset, this is #fff1f2 for the light theme and #412023 for the dark
# theme (opaque defaults).
#
# If `redColor` is set and this option is unset, Streamlit derives a
# translucent background from `redColor` (10% opacity in light
# themes, 20% in dark) instead — even when `redColor` equals its
# documented default.
redBackgroundColor =

# Orange background color used for the basic color palette.
#
# When unset, this is #fff6ed for the light theme and #342414 for the dark
# theme (opaque defaults).
#
# If `orangeColor` is set and this option is unset, Streamlit derives a
# translucent background from `orangeColor` (10% opacity in light
# themes, 20% in dark) instead — even when `orangeColor` equals its
# documented default.
orangeBackgroundColor =

# Yellow background color used for the basic color palette.
#
# When unset, this is #fffae5 for the light theme and #302917 for the dark
# theme (opaque defaults).
#
# If `yellowColor` is set and this option is unset, Streamlit derives a
# translucent background from `yellowColor` (10% opacity in light
# themes, 20% in dark) instead — even when `yellowColor` equals its
# documented default.
yellowBackgroundColor =

# Blue background color used for the basic color palette.
#
# When unset, this is #edf5ff for the light theme and #1e2a3d for the dark
# theme (opaque defaults).
#
# If `blueColor` is set and this option is unset, Streamlit derives a
# translucent background from `blueColor` (10% opacity in light
# themes, 20% in dark) instead — even when `blueColor` equals its
# documented default.
blueBackgroundColor =

# Green background color used for the basic color palette.
#
# When unset, this is #f1fbf6 for the light theme and #0e2f24 for the dark
# theme (opaque defaults).
#
# If `greenColor` is set and this option is unset, Streamlit derives a
# translucent background from `greenColor` (10% opacity in light
# themes, 20% in dark) instead — even when `greenColor` equals its
# documented default.
greenBackgroundColor =

# Violet background color used for the basic color palette.
#
# When unset, this is #f8f2ff for the light theme and #332244 for the dark
# theme (opaque defaults).
#
# If `violetColor` is set and this option is unset, Streamlit derives a
# translucent background from `violetColor` (10% opacity in light
# themes, 20% in dark) instead — even when `violetColor` equals its
# documented default.
violetBackgroundColor =

# Gray background color used for the basic color palette.
#
# When unset, this is #f5f4f2 for the light theme and #2c2925 for the dark
# theme (opaque defaults).
#
# If `grayColor` is set and this option is unset, Streamlit derives a
# translucent background from `grayColor` (10% opacity in light
# themes, 20% in dark) instead — even when `grayColor` equals its
# documented default.
grayBackgroundColor =

# Red text color used for the basic color palette.
#
# Defaults to #9e303b for the light theme and #f2919a for the dark
# theme.
#
# If `redColor` is set and this option is unset, Streamlit derives the
# text color from `redColor` (darkened by 15% in light themes,
# lightened by 15% in dark) instead — even when `redColor` equals
# its documented default.
redTextColor =

# Orange text color used for the basic color palette.
#
# Defaults to #9b4519 for the light theme and #f2a56d for the dark
# theme.
#
# If `orangeColor` is set and this option is unset, Streamlit derives the
# text color from `orangeColor` (darkened by 15% in light themes,
# lightened by 15% in dark) instead — even when `orangeColor` equals
# its documented default.
orangeTextColor =

# Yellow text color used for the basic color palette.
#
# Defaults to #956b0f for the light theme and #fbd54f for the dark
# theme.
#
# If `yellowColor` is set and this option is unset, Streamlit derives the
# text color from `yellowColor` (darkened by 15% in light themes,
# lightened by 15% in dark) instead — even when `yellowColor` equals
# its documented default.
yellowTextColor =

# Blue text color used for the basic color palette.
#
# Defaults to #244fb4 for the light theme and #85b8f8 for the dark
# theme.
#
# If `blueColor` is set and this option is unset, Streamlit derives the
# text color from `blueColor` (darkened by 15% in light themes,
# lightened by 15% in dark) instead — even when `blueColor` equals
# its documented default.
blueTextColor =

# Green text color used for the basic color palette.
#
# Defaults to #0c5a44 for the light theme and #7ed5b0 for the dark
# theme.
#
# If `greenColor` is set and this option is unset, Streamlit derives the
# text color from `greenColor` (darkened by 15% in light themes,
# lightened by 15% in dark) instead — even when `greenColor` equals
# its documented default.
greenTextColor =

# Violet text color used for the basic color palette.
#
# Defaults to #6f33b8 for the light theme and #bf8ef7 for the dark
# theme.
#
# If `violetColor` is set and this option is unset, Streamlit derives the
# text color from `violetColor` (darkened by 15% in light themes,
# lightened by 15% in dark) instead — even when `violetColor` equals
# its documented default.
violetTextColor =

# Gray text color used for the basic color palette.
#
# Defaults to #686255 for the light theme and #b8b3a8 for the dark
# theme.
#
# If `grayColor` is set and this option is unset, Streamlit derives the
# text color from `grayColor` (darkened by 15% in light themes,
# lightened by 15% in dark) instead — even when `grayColor` equals
# its documented default.
grayTextColor =

# Color used for all links.
#
# This defaults to the resolved value of `blueTextColor`.
linkColor =

# Whether or not links should be displayed with an underline.
linkUnderline =

# Text color used for code blocks.
#
# If this isn't set, Streamlit uses the resolved body text color. If
# `backgroundColor`, `secondaryBackgroundColor`, or `primaryColor`
# differs from the base theme, Streamlit uses the resolved
# `greenTextColor` instead.
codeTextColor =

# Background color used for code blocks.
#
# If this isn't set, Streamlit uses the theme's default code
# background. If `backgroundColor`, `secondaryBackgroundColor`, or
# `primaryColor` differs from the base theme, Streamlit derives the
# fill from those colors.
codeBackgroundColor =

# The font family for all text, except code blocks.
#
# This can be one of the following:
# - "sans-serif"
# - "serif"
# - "monospace"
# - The `family` value for a custom font table under [[theme.fontFaces]]
# - A URL to a CSS file in the format of "<font name>:<url>" (like
#   "Nunito:https://fonts.googleapis.com/css2?family=Nunito&display=swap")
# - A comma-separated list of these (as a single string) to specify
#   fallbacks
#
# For example, you can use the following:
#
# font = "cool-font, fallback-cool-font, sans-serif"
font =

# The font family to use for headings.
#
# This can be one of the following:
# - "sans-serif"
# - "serif"
# - "monospace"
# - The `family` value for a custom font table under [[theme.fontFaces]]
# - A URL to a CSS file in the format of "<font name>:<url>" (like
#   "Nunito:https://fonts.googleapis.com/css2?family=Nunito&display=swap")
# - A comma-separated list of these (as a single string) to specify
#   fallbacks
#
# If this isn't set, Streamlit uses `theme.font` for headings.
headingFont =

# One or more font sizes for h1-h6 headings.
#
# If no sizes are set, Streamlit will use the default sizes for h1-h6
# headings. Heading font sizes set in [theme] are not inherited by
# [theme.sidebar]. The following sizes are used by default:
# [
#     "2.75rem", # h1 (1.5rem for sidebar)
#     "2.25rem", # h2 (1.25rem for sidebar)
#     "1.75rem", # h3 (1.125rem for sidebar)
#     "1.5rem", # h4 (1rem for sidebar)
#     "1.25rem", # h5 (0.875rem for sidebar)
#     "1rem", # h6 (0.75rem for sidebar)
# ]
#
# If you specify an array with fewer than six sizes, the unspecified
# heading sizes will be the default values. For example, you can use the
# following array to set the font sizes for h1-h3 headings while keeping
# h4-h6 headings at their default sizes:
# headingFontSizes = ["3rem", "2.875rem", "2.75rem"]
#
# Setting a single value (not in an array) will set the font size for all
# h1-h6 headings to that value:
# headingFontSizes = "2.75rem"
#
# Font sizes can be specified in pixels or rem, but rem is recommended.
headingFontSizes =

# One or more font weights for h1-h6 headings.
#
# Each weight must be an integer multiple of 50, between 100 and 900
# inclusive. Invalid values are ignored and the default weight is used.
#
# If no weights are set, Streamlit will use the default weights for h1-h6
# headings. Heading font weights set in [theme] are not inherited by
# [theme.sidebar]. The following weights are used by default:
# [
#     700, # h1 (bold)
#     600, # h2 (semi-bold)
#     600, # h3 (semi-bold)
#     600, # h4 (semi-bold)
#     600, # h5 (semi-bold)
#     600, # h6 (semi-bold)
# ]
#
# If you specify an array with fewer than six weights, the unspecified
# heading weights will be the default values. For example, you can use
# the following array to set the font weights for h1-h2 headings while
# keeping h3-h6 headings at their default weights:
# headingFontWeights = [800, 700]
#
# Setting a single value (not in an array) will set the font weight for
# all h1-h6 headings to that value:
# headingFontWeights = 550
headingFontWeights =

# The font family to use for code (monospace) in the sidebar.
#
# This can be one of the following:
# - "sans-serif"
# - "serif"
# - "monospace"
# - The `family` value for a custom font table under [[theme.fontFaces]]
# - A URL to a CSS file in the format of "<font name>:<url>" (like
#   "'Space Mono':https://fonts.googleapis.com/css2?family=Space+Mono&display=swap")
# - A comma-separated list of these (as a single string) to specify
# fallbacks
codeFont =

# The font size (in pixels or rem) for code blocks and code text.
#
# This applies to font in code blocks, `st.json`, and `st.help`. It
# doesn't apply to inline code, which is set by default to 0.75em.
#
# If this isn't set, the code font size will be 0.875rem.
codeFontSize =

# The font weight for code blocks and code text.
#
# This applies to font in inline code, code blocks, `st.json`, and
# `st.help`. This is an integer multiple of 50. Values can be between
# 100 and 600, inclusive.
#
# Streamlit derives heavier code weights from this base (+200 / +300).
# The maximum is 600 so the heaviest derived weight never exceeds 900.
#
# If this isn't set, the code font weight will be 400 (normal weight).
codeFontWeight =

# The radius used as basis for the corners of most UI elements.
#
# This can be one of the following:
# - "none"
# - "small"
# - "medium"
# - "large"
# - "full"
# - The number in pixels or rem.
#
# For example, you can use "10px", "0.5rem", or "2rem". To follow best
# practices, use rem instead of pixels when specifying a numeric size.
baseRadius =

# The radius used as basis for the corners of buttons.
#
# This can be one of the following:
# - "none"
# - "small"
# - "medium"
# - "large"
# - "full"
# - The number in pixels or rem.
#
# For example, you can use "10px", "0.5rem", or "2rem". To follow best
# practices, use rem instead of pixels when specifying a numeric size.
#
# If this isn't set, Streamlit uses `theme.baseRadius` instead.
buttonRadius =

# The gap under the header to the first widget in the main content area
# or sidebar.
#
# Set this as a quoted string in "rem" or "px" (for example "1rem",
# "16px", or "16"). A numeric string without a unit is treated as
# pixels ("16" is 16px; "1.5" is 1.5px). Zero is allowed ("0", "0rem",
# "0px"). An integer or float without quotes is ignored. Negative
# values, percentages, and other CSS units are rejected and fall back to
# the default.
#
# Prefer rem (for example "1.5rem") so spacing scales with font size.
#
# Main area: The value is the gap below any visible header chrome
# (toolbar, logo, expand button, top nav). Streamlit adds the header
# height automatically so content clears the overlay. A value of "0"
# places the first widget flush under that chrome (not flush to the top
# of the viewport). Embed options such as show_padding / show_toolbar
# do not override a configured value. In a bare embed with no header
# chrome, the configured value is used alone — very small values
# (including "0") can clip the first element's overlay toolbar. Leave
# this unset for compact embeds that need the default clearance, or use
# a small non-zero gap. Print uses the configured value with no header
# reservation. If unset, Streamlit uses its built-in defaults
# (typically 6rem, or 8rem with top nav).
#
# Sidebar: The same gap under the sidebar's own chrome (the logo and
# collapse row, plus page navigation when it is shown). Streamlit does
# not add the main header height on top of this value. With page
# navigation, the gap is from the nav to the first widget. Without page
# navigation, the gap is from the header row to the first widget. If
# unset, Streamlit uses its built-in sidebar spacing.
paddingTop =

# The aesthetic bottom inset after the last widget in the main content
# area or sidebar.
#
# Set this as a quoted string in "rem" or "px" (for example "2rem" or
# "32px"). A numeric string without a unit is treated as pixels. Zero
# is allowed. An integer or float without quotes is ignored. Negative
# values, percentages, and other CSS units are rejected and fall back
# to the default.
#
# When set, this replaces Streamlit's built-in bottom spacing: typically
# 10rem in the main area with no st.bottom content (or 1rem when
# st.bottom is present), and 6rem in the sidebar. Sticky st.bottom
# content is not affected. Horizontal padding is not configurable yet.
# If unset, Streamlit uses its built-in defaults.
paddingBottom =

# The color of the border around elements.
borderColor =

# The color of the border around dataframes and tables.
#
# If this isn't set and `theme.borderColor` is set, Streamlit uses a
# lighter version of `theme.borderColor`. If neither is set, Streamlit
# uses the theme's default dataframe border color. If
# `backgroundColor`, `secondaryBackgroundColor`, or `primaryColor`
# differs from the base theme and neither border is set, Streamlit
# derives a light border from text color.
dataframeBorderColor =

# The background color of the dataframe's header.
#
# This color applies to all non-interior cells of the dataframe. This
# includes the header row, the row-selection column (if present), and
# the bottom row of data editors with a dynamic number of rows. If this
# isn't set, Streamlit uses the theme's default dataframe header
# background. If `backgroundColor`, `secondaryBackgroundColor`, or
# `primaryColor` differs from the base theme, Streamlit derives the
# fill from those colors.
dataframeHeaderBackgroundColor =

# The text color of the dataframe's header.
#
# This color applies to column headers, grouped column headers, and
# header icons such as sort and edit. It doesn't apply to the text in
# body cells. If this is set, Streamlit uses it as-is. If it isn't
# set, Streamlit uses a faded version of `theme.textColor` (the
# configured `textColor`, or the theme default if `textColor` is also
# unset). When a column is selected, its header text and icons stay
# white, matching existing selection behavior.
dataframeHeaderTextColor =

# Whether to show a border around input widgets.
#
# If this is unset or `true`, Streamlit draws widget borders using
# `borderColor`. Set it to `false` to hide them.
showWidgetBorder =

# An array of colors to use for categorical chart data.
#
# See `theme.chartCategoricalColors` for the full description. This
# option can be set in `[theme]`, `[theme.light]`, `[theme.dark]`, and
# the corresponding sidebar sections. Unset sections inherit from
# `[theme]`.
chartCategoricalColors =

# An array of ten colors to use for sequential or continuous chart data.
#
# See `theme.chartSequentialColors` for the full description. This
# option can be set in `[theme]`, `[theme.light]`, `[theme.dark]`, and
# the corresponding sidebar sections. Unset sections inherit from
# `[theme]`.
chartSequentialColors =

# An array of ten colors to use for diverging chart data.
#
# See `theme.chartDivergingColors` for the full description. This
# option can be set in `[theme]`, `[theme.light]`, `[theme.dark]`, and
# the corresponding sidebar sections. Unset sections inherit from
# `[theme]`.
chartDivergingColors =
```

#### Secrets

```toml
[secrets]

# List of locations where secrets are searched.
#
# An entry can be a path to a TOML file or directory path where
# Kubernetes style secrets are saved. Order is important, import is
# first to last, so secrets in later files will take precedence over
# earlier ones.
#
# Default: [ <path to local environment's secrets.toml file>, <path to project's secrets.toml file>,]
files = [ "~/.streamlit/secrets.toml", "~/project directory/.streamlit/secrets.toml",]
```
