Skip to content

Commit 9d0e043

Browse files
authored
Merge pull request #76 from Appsilon/release-tweaks
Release tweaks
2 parents 5d4b891 + 83ce3d8 commit 9d0e043

File tree

5 files changed

+23
-18
lines changed

5 files changed

+23
-18
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
### Changes
2+
Closes #
3+
4+
### How to test

.github/PULL_REQUEST_TEMPLATE/component.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# shiny.blueprint
1+
# shiny.blueprint <a href="https://appsilon.github.io/shiny.blueprint/"><img src="man/figures/shiny-blueprint.png" alt="shiny.blueprint logo" style="float: right; height: 140px;"></a>
22

33
> _Palantir's Blueprint for Shiny apps_
44
@@ -7,7 +7,7 @@
77
[![CI](https://github.com/Appsilon/shiny.blueprint/actions/workflows/ci.yml/badge.svg)](https://github.com/Appsilon/shiny.blueprint/actions/workflows/ci.yml)
88
[![downloads monthly](https://cranlogs.r-pkg.org/badges/shiny.blueprint)](https://CRAN.R-project.org/package=shiny.blueprint)
99
[![downloads total](https://cranlogs.r-pkg.org/badges/grand-total/shiny.blueprint)](https://CRAN.R-project.org/package=shiny.blueprint)
10-
[![License: LGPL-3.0](https://img.shields.io/badge/License-LGPL--3.0-blue.svg)](https://opensource.org/licenses/LGPL-3.0/)
10+
[![License: LGPL-3.0](https://img.shields.io/badge/License-LGPL--3.0-blue.svg)](https://opensource.org/license/lgpl-3-0/)
1111
<!-- badges: end -->
1212

1313
## Why `shiny.blueprint`?
@@ -22,14 +22,17 @@ We believe that a great UI plays a huge role in the success of application proje
2222

2323
Stable version:
2424
```r
25-
install.packages("shiny.blueprint")
25+
install.packages("shiny.blueprint", dependencies = TRUE)
2626
```
2727

2828
Development version:
2929
```r
30-
remotes::install_github("Appsilon/shiny.blueprint")
30+
remotes::install_github("Appsilon/shiny.blueprint", dependencies = TRUE)
3131
```
3232

33+
With `dependencies = TRUE` the suggested packages (required to run some examples)
34+
will be installed in addition to mandatory dependencies.
35+
3336
## Quick start
3437

3538
Here's how to create a basic `shiny.blueprint` app:

man/figures/shiny-blueprint.png

139 KB
Loading

pkgdown/extra.css

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
1+
:root {
2+
--primary: rgb(70, 115, 182);
3+
--primary-dark: rgb(63, 104, 166);
4+
}
5+
16
.navbar {
2-
background-color: rgb(69, 179, 196) !important;
7+
background-color: var(--primary) !important;
38
}
49

510
#navbar > ul.navbar-nav > li.nav-item a:hover {
6-
background-color: rgb(69, 179, 196) !important;
11+
background-color: var(--primary) !important;
712
}
813

914
.navbar-dark .navbar-nav .nav-link {
1015
color: rgba(255, 255, 255, 0.7) !important;
1116
}
1217

1318
.navbar-dark .navbar-nav .active > .nav-link {
14-
background-color: rgb(69, 179, 196) !important;
19+
background-color: var(--primary) !important;
1520
color: #fff !important;
1621
}
1722

@@ -25,16 +30,16 @@ nav .text-muted {
2530
}
2631

2732
a {
28-
color: rgb(69, 179, 196);
33+
color: var(--primary);
2934
}
3035

3136
a:hover {
32-
color: rgb(63, 162, 177);
37+
color: var(--primary-dark);
3338
}
3439

3540
button.btn.btn-primary.btn-copy-ex {
36-
background-color: rgb(69, 179, 196);
37-
border-color: rgb(69, 179, 196);
41+
background-color: var(--primary);
42+
border-color: var(--primary);
3843
}
3944

4045

0 commit comments

Comments
 (0)