nmfs-fish-tools / fishdictionary

A dictionary scheme for fisheries
https://connect.fisheries.noaa.gov/fishdictionary
GNU Affero General Public License v3.0
3 stars 1 forks source link

Use nmfs-style.css #28

Closed Bai-Li-NOAA closed 1 year ago

Bai-Li-NOAA commented 1 year ago

This PR addresses the Shiny App css issue. After using includeCSS() in the ui.r, the Shiny App page uses a NOAA themed website for the App.

Currently, the App uses the nmfs-style.css from the inst/Shiny. You can also use the inst/Shiny/extra.css if you want to import the css file from the nmfspalette package.

To check the website locally, you can run following code:

remotes::install_github("nmfs-fish-tools/data_dictionary", ref="feat-shiny-css")
library(shiny)
library(stockassessmentdictionary)
shiny_dd()
ChristineStawitz-NOAA commented 1 year ago

thanks Bai!