International Rice Research Institute commited on
Update app.R
Browse files
app.R
CHANGED
|
@@ -8,7 +8,7 @@ library(emmeans)
|
|
| 8 |
library(plotly)
|
| 9 |
library(shinyWidgets)
|
| 10 |
library(ggplot2)
|
| 11 |
-
library(
|
| 12 |
|
| 13 |
# UI with updated styling, now including Descriptive Statistics and color options
|
| 14 |
ui <- fluidPage(
|
|
@@ -290,10 +290,10 @@ ui <- fluidPage(
|
|
| 290 |
div(
|
| 291 |
class = "color-picker-container",
|
| 292 |
div(class = "color-picker-title", "🎨 Plot Colors"),
|
| 293 |
-
colourInput("color_primary", "Primary Color", value = "#1E3A8A"),
|
| 294 |
-
colourInput("color_secondary", "Secondary Color", value = "#6B8E23"),
|
| 295 |
-
colourInput("color_accent", "Accent Color", value = "#4169E1"),
|
| 296 |
-
colourInput("color_highlight", "Highlight Color", value = "#FF8C00"),
|
| 297 |
actionButton("apply_colors", "Apply Colors", class = "btn-primary", style = "width: 100%;")
|
| 298 |
),
|
| 299 |
|
|
|
|
| 8 |
library(plotly)
|
| 9 |
library(shinyWidgets)
|
| 10 |
library(ggplot2)
|
| 11 |
+
library(colourpicker) # Added for colourInput
|
| 12 |
|
| 13 |
# UI with updated styling, now including Descriptive Statistics and color options
|
| 14 |
ui <- fluidPage(
|
|
|
|
| 290 |
div(
|
| 291 |
class = "color-picker-container",
|
| 292 |
div(class = "color-picker-title", "🎨 Plot Colors"),
|
| 293 |
+
colourpicker::colourInput("color_primary", "Primary Color", value = "#1E3A8A"),
|
| 294 |
+
colourpicker::colourInput("color_secondary", "Secondary Color", value = "#6B8E23"),
|
| 295 |
+
colourpicker::colourInput("color_accent", "Accent Color", value = "#4169E1"),
|
| 296 |
+
colourpicker::colourInput("color_highlight", "Highlight Color", value = "#FF8C00"),
|
| 297 |
actionButton("apply_colors", "Apply Colors", class = "btn-primary", style = "width: 100%;")
|
| 298 |
),
|
| 299 |
|