Giter VIP home page Giter VIP logo

rstudio-themes's People

Contributors

max-alletsee avatar rileytwo avatar thedbcooper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rstudio-themes's Issues

Complete Nord theme

Hi, I've made a port of the Nord theme for RStudio. In addition to the syntax highlighting this RStheme reskins all UI elements in accordance to the Nord palette. Complete Nord theme

install_rstudio_themes wrapper function didn't work properly.

Running
install_rstudio_themes(theme = "all_dark")
gaves the following error:

Error in subset.default(x = data, subset = is_dark == TRUE, select = github_direct_link) :
object 'is_dark' not found

I check the wrapper function by running install_rstudio_themes
In the source code:

function (theme, globally = FALSE) 
{
  require(rstudioapi)
  data <- data("rstudio_themes")
  if (theme == "all") {
    themes_to_install <- subset(x = rstudio_themes, select = github_direct_link)
  }
  else if (theme == "all_dark") {
    themes_to_install <- subset(x = data, subset = is_dark == 
                                  TRUE, select = github_direct_link)
  }
  else if (theme == "all_light") {
    themes_to_install <- subset(x = data, subset = is_dark == 
                                  FALSE, select = github_direct_link)
  }
  else {
    themes_to_install <- subset(x = data, subset = theme_name %in% 
                                  theme, select = github_direct_link)
  }
  if (nrow(themes_to_install) == 0) {
    warning("Theme name(s) not found. Please check for spelling or if the theme is included in the data.")
  }
  for (theme_url in themes_to_install$github_direct_link) {
    try(rstudioapi::addTheme(themePath = theme_url, globally = FALSE))
  }
}

I saw data <- data("rstudio_themes"), which didn't work properly, while data <- rstudio_themes would do.
Please kindly check the issue.

Best regards.

-------------------------------------------------------------------------

R version 4.1.0 (2021-05-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19042)

Matrix products: default

locale:
[1] LC_COLLATE=Chinese (Simplified)_China.936 LC_CTYPE=Chinese (Simplified)_China.936
[3] LC_MONETARY=Chinese (Simplified)_China.936 LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_China.936

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] xml2_1.3.2 rstudioapi_0.13 rstudiothemes_0.1 scales_1.1.1
[5] ggsci_2.9 pheatmap_1.0.12 ggpubr_0.4.0 forcats_0.5.1
[9] stringr_1.4.0 dplyr_1.0.6 purrr_0.3.4 readr_1.4.0
[13] tidyr_1.1.3 tibble_3.1.2 tidyverse_1.3.1 SeuratObject_4.0.2
[17] Seurat_4.0.3 ggplot2_3.3.3

loaded via a namespace (and not attached):
[1] uuid_0.1-4 readxl_1.3.1 backports_1.2.1 systemfonts_1.0.2
[5] plyr_1.8.6 igraph_1.2.6 lazyeval_0.2.2 splines_4.1.0
[9] listenv_0.8.0 scattermore_0.7 usethis_2.0.1 digest_0.6.27
[13] htmltools_0.5.1.1 viridis_0.6.1 fansi_0.5.0 memoise_2.0.0
[17] magrittr_2.0.1 tensor_1.5 cluster_2.1.2 ROCR_1.0-11
[21] remotes_2.4.0 openxlsx_4.2.4 globals_0.14.0 modelr_0.1.8
[25] matrixStats_0.59.0 officer_0.3.18 spatstat.sparse_2.0-0 prettyunits_1.1.1
[29] colorspace_2.0-1 rvest_1.0.0 ggrepel_0.9.1 haven_2.4.1
[33] xfun_0.23 callr_3.7.0 crayon_1.4.1 jsonlite_1.7.2
[37] spatstat.data_2.1-0 survival_3.2-11 zoo_1.8-9 glue_1.4.2
[41] polyclip_1.10-0 gtable_0.3.0 leiden_0.3.8 pkgbuild_1.2.0
[45] car_3.0-10 future.apply_1.7.0 abind_1.4-5 DBI_1.1.1
[49] rstatix_0.7.0 miniUI_0.1.1.1 Rcpp_1.0.6 viridisLite_0.4.0
[53] xtable_1.8-4 reticulate_1.20 spatstat.core_2.1-2 foreign_0.8-81
[57] htmlwidgets_1.5.3 httr_1.4.2 RColorBrewer_1.1-2 ellipsis_0.3.2
[61] ica_1.0-2 pkgconfig_2.0.3 farver_2.1.0 uwot_0.1.10
[65] dbplyr_2.1.1 deldir_0.2-10 utf8_1.2.1 tidyselect_1.1.1
[69] labeling_0.4.2 rlang_0.4.11 reshape2_1.4.4 later_1.2.0
[73] cachem_1.0.5 munsell_0.5.0 cellranger_1.1.0 tools_4.1.0
[77] cli_2.5.0 generics_0.1.0 devtools_2.4.2 broom_0.7.7
[81] ggridges_0.5.3 evaluate_0.14 fastmap_1.1.0 goftest_1.2-2
[85] processx_3.5.2 knitr_1.33 fs_1.5.0 fitdistrplus_1.1-5
[89] zip_2.2.0 RANN_2.6.1 pbapply_1.4-3 future_1.21.0
[93] nlme_3.1-152 mime_0.10 compiler_4.1.0 plotly_4.9.4
[97] curl_4.3.1 png_0.1-7 testthat_3.0.3 ggsignif_0.6.2
[101] spatstat.utils_2.1-0 reprex_2.0.0 stringi_1.6.1 ps_1.6.0
[105] desc_1.3.0 gdtools_0.2.3 lattice_0.20-44 Matrix_1.3-3
[109] vctrs_0.3.8 pillar_1.6.1 lifecycle_1.0.0 BiocManager_1.30.15
[113] spatstat.geom_2.1-0 lmtest_0.9-38 RcppAnnoy_0.0.18 flextable_0.6.6
[117] data.table_1.14.0 cowplot_1.1.1 irlba_2.3.3 httpuv_1.6.1
[121] patchwork_1.1.1 R6_2.5.0 promises_1.2.0.1 KernSmooth_2.23-20
[125] gridExtra_2.3 rio_0.5.26 parallelly_1.26.0 sessioninfo_1.1.1
[129] codetools_0.2-18 pkgload_1.2.1 MASS_7.3-54 assertthat_0.2.1
[133] rprojroot_2.0.2 withr_2.4.2 sctransform_0.3.2 mgcv_1.8-35
[137] parallel_4.1.0 hms_1.1.0 grid_4.1.0 rpart_4.1-15
[141] rmarkdown_2.8 carData_3.0-4 Rtsne_0.15 base64enc_0.1-3
[145] shiny_1.6.0 lubridate_1.7.10

Themes Preview

Hi, very cool project!

Is there a way to preview all the themes? Because it would be impractical to install and test one by one...

I'm specifically looking for some very similar to Idle Fingers but with just a few tweaks.

Thank you

More automated output

  • CSV with all themes, incl. dark themes
  • R script for generating output: sort by dark color, then alphabetically
  • R script for generating output: CSV file for website, without header
  • readme file: generate via Rmd
  • check for duplicate names

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.