Skip to content

Commit 866b986

Browse files
committed
minor finishing touches
1 parent 73789a3 commit 866b986

File tree

5 files changed

+26
-43
lines changed

5 files changed

+26
-43
lines changed

docs/data.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/discrete.Rmd

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ code_icon <- HTML('<svg class="w-8 h-8" xmlns="http://www.w3.org/2000/svg" class
106106
div(class="w-full",
107107
HTML("<!-- sorting buttons & crosstalk inputs -->"),
108108
div(
109-
class="w-full mx-auto py-24 bg-cover",
109+
class="w-full mx-auto py-8 bg-cover",
110110
style="background-image: url('https://products.ls.graphics/mesh-gradients/images/33.-Beauty-Bush.jpg')",
111111
# Glassmorphic Card
112112
div(class="max-w-4xl mx-auto px-4 py-10 bg-white backdrop-filter backdrop-blur-lg bg-opacity-40 border-white border-y-2 lg:border-x-2 sm:shadow-lg lg:rounded-3xl ",
@@ -134,7 +134,7 @@ div(class="w-full",
134134
h2(class="text-2xl font-semibold tracking-tight text-grey-600 pb-4", "Filter Palettes"),
135135
div(
136136
filter_select("package_filter", "Package:", palettes_shared, ~package),
137-
filter_checkbox("type_filter", "Type:", palettes_shared, ~type)
137+
filter_checkbox("type_filter", "Type:", palettes_shared, ~type, inline = TRUE)
138138
)
139139
)
140140
)
@@ -145,14 +145,7 @@ div(class="w-full",
145145
class="text-2xl font-semibold tracking-tight text-grey-600 pb-4",
146146
"Click a palette you like to display information"),
147147
),
148-
div(class="px-4 grid grid-flow-row grid-cols-1 gap-y-8 sm:grid-cols-3 sm:gap-y-0 sm:gap-x-4",
149-
div(class="col-span-1 flex flex-col items-center gap-y-2",
150-
div(class = "flex flex-col items-center",
151-
palette_icon,
152-
p(class="text-lg font-semibold text-gray-700", "Package + Palette")
153-
),
154-
h2(class="text-xl", id="palette", "")
155-
),
148+
div(class="px-4 grid grid-flow-row grid-cols-1 gap-y-8 sm:grid-cols-2 sm:gap-y-0 sm:gap-x-4",
156149
div(class="col-span-1 flex flex-col items-center gap-y-2",
157150
div(class = "flex flex-col items-center",
158151
github_icon,
@@ -168,7 +161,7 @@ div(class="w-full",
168161
h2(class="text-xl", id="CRAN", "")
169162
)
170163
),
171-
div(class="px-4 mt-16",
164+
div(class="px-4 mt-4",
172165
div(class="py-4 px-8 w-full lg:w-4/5 mx-auto bg-white backdrop-filter backdrop-blur-lg bg-opacity-40 border-white border-y-2 border-x-2 sm:shadow-lg lg:rounded-3xl flex flex-row gap-x-12 items-center",
173166
code_icon,
174167
div(id = "example1", class="flex-grow text-xl",
@@ -184,7 +177,7 @@ div(class="w-full",
184177
)
185178
),
186179
HTML("<!-- Palettes -->"),
187-
div(class="max-w-6xl mx-auto mt-24",
180+
div(class="max-w-6xl mx-auto mt-8",
188181
shuffle_widget(
189182
shuffleId = "grid",
190183
shared_data = palettes_shared,

docs/discrete.html

Lines changed: 15 additions & 28 deletions
Large diffs are not rendered by default.

docs/index.Rmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,12 @@ tags$nav(class="bg-gray-800 px-8 py-4",
6060

6161
This is a new iteration of the [r-color-palettes](https://github.com/EmilHvitfeldt/r-color-palettes) repository.
6262

63-
This website is in early stages of development. Think alpha build. More functionality and information will be added, along with styling of the site.
63+
This website is in early stages of development. Think alpha build. More functionality and information will be added.
6464

6565
Any feedback, suggestions, or styling help are welcome as [issues](https://github.com/EmilHvitfeldt/r-color-palettes/issues).
6666

67+
Styling of website was added by [Kyle F Butts](https://twitter.com/kylefbutts)
68+
6769
Available palette pickers:
6870

6971
- [Discrete Color Palettes](discrete.html)

docs/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,9 @@
200200
<div id="r-color-palettes" class="section level1 max-w-6xl py-24 mx-auto prose">
201201
<h1>R Color Palettes</h1>
202202
<p>This is a new iteration of the <a href="https://github.com/EmilHvitfeldt/r-color-palettes">r-color-palettes</a> repository.</p>
203-
<p>This website is in early stages of development. Think alpha build. More functionality and information will be added, along with styling of the site.</p>
203+
<p>This website is in early stages of development. Think alpha build. More functionality and information will be added.</p>
204204
<p>Any feedback, suggestions, or styling help are welcome as <a href="https://github.com/EmilHvitfeldt/r-color-palettes/issues">issues</a>.</p>
205+
<p>Styling of website was added by <a href="https://twitter.com/kylefbutts">Kyle F Butts</a></p>
205206
<p>Available palette pickers:</p>
206207
<ul>
207208
<li><a href="discrete.html">Discrete Color Palettes</a></li>

0 commit comments

Comments
 (0)