get_question_color: Get the color for the question based on its sequence number

Description Usage Arguments Value

View source: R/utils.R

Description

Helper function for assembling the navigation bars.

Usage

1
get_question_color(n, question_colors, named_colors)

Arguments

n

The sequence number of the question.

question_colors

List of question colors as created by [quiz_setup()].

named_colors

Named list of colors as created by [quiz_setup()].

Value

The color of the question for sequence numbers within questions and average color otherwise.


martina-starc/peRson documentation built on April 14, 2021, 3:48 p.m.