@@ -189,9 +189,12 @@ Define the style of the tables printed with the HTML back end.
189189- `stubhead_label::Vector{HtmlPair}`: Style for the stubhead label. 
190190- `row_label::Vector{HtmlPair}`: Style for the row label. 
191191- `row_group_label::Vector{HtmlPair}`: Style for the row group label. 
192- - `first_line_column_label::Vector{HtmlPair}`: Style for the first line of the column 
193-     labels. 
194- - `column_label::Vector{HtmlPair}`: Style for the column label. 
192+ - `first_line_column_label::Union{Vector{HtmlPair}, Vector{Vector{HtmlPair}}}`: Style for 
193+     the first line of the column labels. If a vector of `Vector{HtmlPair}}` is provided, 
194+     each column label in the first line will use the corresponding style. 
195+ - `column_label::Union{Vector{HtmlPair}, Vector{Vector{HtmlPair}}}`: Style for the rest of 
196+     the column labels. If a vector of `Vector{HtmlPair}}` is provided, each column label 
197+     will use the corresponding style. 
195198- `first_line_merged_column_label::Vector{HtmlPair}`: Style for the merged cells at the 
196199    first column label line. 
197200- `merged_column_label::Vector{HtmlPair}`: Style for the merged cells at the rest of the 
@@ -201,7 +204,10 @@ Define the style of the tables printed with the HTML back end.
201204- `footnote::Vector{HtmlPair}`: Style for the footnote. 
202205- `source_notes::Vector{HtmlPair}`: Style for the source notes. 
203206""" 
204- @kwdef  struct  HtmlTableStyle
207+ @kwdef  struct  HtmlTableStyle{
208+     TFCL<: Union{Vector{HtmlPair}, Vector{Vector{HtmlPair}}} ,
209+     TCL<: Union{Vector{HtmlPair}, Vector{Vector{HtmlPair}}} 
210+ }
205211    top_left_string:: Vector{HtmlPair}                 =  _HTML__NO_DECORATION
206212    top_right_string:: Vector{HtmlPair}                =  _HTML__ITALIC
207213    table:: Vector{HtmlPair}                           =  _HTML__NO_DECORATION
@@ -212,8 +218,8 @@ Define the style of the tables printed with the HTML back end.
212218    stubhead_label:: Vector{HtmlPair}                  =  _HTML__BOLD
213219    row_label:: Vector{HtmlPair}                       =  _HTML__BOLD
214220    row_group_label:: Vector{HtmlPair}                 =  _HTML__BOLD
215-     first_line_column_label:: Vector{HtmlPair}         =  _HTML__BOLD
216-     column_label:: Vector{HtmlPair}                    =  _HTML__NO_DECORATION
221+     first_line_column_label:: TFCL                      =  _HTML__BOLD
222+     column_label:: TCL                                  =  _HTML__NO_DECORATION
217223    first_line_merged_column_label:: Vector{HtmlPair}  =  _HTML__MERGED_CELL
218224    merged_column_label:: Vector{HtmlPair}             =  _HTML__MERGED_CELL
219225    summary_row_cell:: Vector{HtmlPair}                =  _HTML__NO_DECORATION
0 commit comments