This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (prefers-color-scheme: dark) { | |
:root { | |
--contrast: #fff; | |
--contrast-2: #000; | |
--contrast-3: #000; | |
--base: #1e1e1e; | |
--base-2: #212121; | |
--base-3: #212121; | |
--accent: #1e90ff; | |
--global-color-8: rgba(180, 180, 191, 0.1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#' Get sunrise and sunset time for any location and date from sunsetsunrise.io API | |
#' | |
#' @param lon longitude in decimal degree of the location | |
#' @param lat latitude in decimal degree of the location | |
#' @param date a date string in 'yyy-mm-dd' format. | |
#' | |
#' @return a tibble with sunset/sunrise time, day length, location timezone and date | |
#' @export | |
#' | |
#' @examples |
OlderNewer