Skip to content

Commit

Permalink
Combine docs for values and palettes
Browse files Browse the repository at this point in the history
  • Loading branch information
alice-hannah committed Oct 28, 2024
1 parent 450c57c commit 067ec67
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 102 deletions.
59 changes: 20 additions & 39 deletions R/data.R
Original file line number Diff line number Diff line change
@@ -1,67 +1,48 @@
# nolint start
# nolint: start
#' @title Scottish Government colour names and hex codes
#'
#' @description A vector containing colour names and their corresponding
#' hex code.
#' @description
#' * \code{sg_colour_values} is a vector containing colour names and their corresponding
#' hex codes.
#' * \code{sg_colour_palettes} is a list grouping colours into palettes.
#'
#' @format A character vector
#' @source \href{https://designsystem.gov.scot/guidance/charts/data-visualisation-colour-palettes}{Scottish Government Design System}
# nolint end
#' @md
# nolint: end

"sg_colour_values"


# nolint start
#' @title Scottish Government colour palettes
#'
#' @description A list grouping colours into palettes.
#'
#' @format A character list
#' @source \href{https://designsystem.gov.scot/guidance/charts/data-visualisation-colour-palettes}{Scottish Government Design System}
# nolint end

#' @rdname sg_colour_values
"sg_colour_palettes"


#' @title Social Security Scotland colour names and hex codes
#'
#' @description A vector containing colour names and their corresponding
#' hex code.
#'
#' @format A character vector
#' @description
#' * \code{sss_colour_values} is a vector containing colour names and their corresponding
#' hex codes.
#' * \code{sss_colour_palettes} is a list grouping colours into palettes.
#' @md

"sss_colour_values"


#' @title Social Security Scotland colour palettes
#'
#' @description A list grouping colours into palettes.
#'
#' @format A character list

#' @rdname sss_colour_values
"sss_colour_palettes"


# nolint start
#' @title Analysis Function colour names and hex codes
#'
#' @description A vector containing colour names and their corresponding
#' hex code.
#' @description
#' * \code{af_colour_values} is a vector containing colour names and their corresponding
#' hex codes.
#' * \code{af_colour_palettes} is a list grouping colours into palettes.
#'
#' @format A character vector
#' @source \href{https://analysisfunction.civilservice.gov.uk/policy-store/data-visualisation-colours-in-charts/}{Government Analysis Function Colours Guidance}
#' @md
# nolint end

"af_colour_values"


# nolint start
#' @title Analysis Function colour palettes
#'
#' @description A list grouping colours into palettes.
#'
#' @format A character list
#' @source \href{https://analysisfunction.civilservice.gov.uk/policy-store/data-visualisation-colours-in-charts/}{Government Analysis Function Colours Guidance}
# nolint end

#' @rdname af_colour_values
"af_colour_palettes"
19 changes: 0 additions & 19 deletions man/af_colour_palettes.Rd

This file was deleted.

14 changes: 11 additions & 3 deletions man/af_colour_values.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 0 additions & 19 deletions man/sg_colour_palettes.Rd

This file was deleted.

14 changes: 11 additions & 3 deletions man/sg_colour_values.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 0 additions & 16 deletions man/sss_colour_palettes.Rd

This file was deleted.

14 changes: 11 additions & 3 deletions man/sss_colour_values.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 067ec67

Please sign in to comment.