Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cimentadaj/eutheme
A Shiny Theme for the European Union
https://github.com/cimentadaj/eutheme
Last synced: 5 days ago
JSON representation
A Shiny Theme for the European Union
- Host: GitHub
- URL: https://github.com/cimentadaj/eutheme
- Owner: cimentadaj
- License: other
- Created: 2023-11-21T13:12:54.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-03-20T18:06:12.000Z (8 months ago)
- Last Synced: 2024-03-20T19:29:53.482Z (8 months ago)
- Language: CSS
- Size: 9.85 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# eutheme
The `eutheme` package is a Shiny theme that wraps the European Union design theme. It was built to be compatible with `shiny.semantic`. However, this package is focused exclusively on the EU Project [DIGCLASS](https://joint-research-centre.ec.europa.eu/tools-and-laboratories/centre-advanced-studies/digclass_en) so it has properties exclusive to that project.
## Installation
You can install the development version of `eutheme` from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("cimentadaj/eutheme")
```## Example
You can use the package by simply wrapping your Shiny app with `fluidEuTheme`:
```{r example, eval = FALSE}
library(eutheme)
library(shiny)
library(shiny.semantic)ui <- fluidEuTheme(
tabset(
tabs = list(
list(
menu = "Tab 1",
content = "hey",
id = "first_tab"
)
)
)
)server <- function(input, output, session) {
}shinyApp(ui, server)
```