% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/theme.R
\name{nestable_theme}
\alias{nestable_theme}
\title{Create a nestable theme}
\usage{
nestable_theme(
  title = "",
  font_family = "-apple-system, BlinkMacSystemFont, \\"Segoe UI\\", Roboto, sans-serif",
  font_size = "14px",
  table_bg = "#ffffff",
  table_shadow = "0 1px 4px rgba(0,0,0,.12)",
  table_radius = "6px",
  table_max_w = "680px",
  header_bg = "#37474f",
  header_color = "#ffffff",
  row_border = "#eceff1",
  row_hover_bg = "#f9fbe7",
  parent_weight = "600",
  toggle_color = "#546e7a",
  indent_px = 20L,
  zoom = "normal"
)
}
\arguments{
\item{title}{Character. Title shown above the table. Default \code{""} (no title).}

\item{font_family}{CSS font-family string.}

\item{font_size}{CSS font-size string. Default \code{"14px"}.}

\item{table_bg}{Table background colour. Default \code{"#ffffff"}.}

\item{table_shadow}{CSS box-shadow for the table.}

\item{table_radius}{CSS border-radius. Default \code{"6px"}.}

\item{table_max_w}{CSS max-width. Default \code{"680px"}.}

\item{header_bg}{Header row background. Default \code{"#37474f"}.}

\item{header_color}{Header row text colour. Default \code{"#ffffff"}.}

\item{row_border}{Row separator colour. Default \code{"#eceff1"}.}

\item{row_hover_bg}{Row hover background. Default \code{"#f9fbe7"}.}

\item{parent_weight}{CSS font-weight for parent rows. Default \code{"600"}.}

\item{toggle_color}{Colour of the expand/collapse arrow. Default \code{"#546e7a"}.}

\item{indent_px}{Integer pixels of indentation per nesting level. Default \code{20L}.}

\item{zoom}{CSS zoom level applied to the entire widget. Accepts any valid
CSS \code{zoom} value: a number (\code{1.25}), a percentage (\code{"125\%"}), or \code{"normal"}
(default). Useful for global size/scale adjustments without touching
individual font-size or dimension settings.}
}
\value{
A named list of theme values.
}
\description{
Every argument maps to a CSS custom property (\verb{--ntbl-*}) set inline on
the widget's wrapper \verb{<div>}, so multiple instances with different themes
can coexist on the same page without conflict.
}
