Skip to content

Commit

Permalink
theme radio buttons and checkboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
thedumbtechguy committed Feb 2, 2025
1 parent 2a45502 commit cd2f1a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lib/plutonium/ui/form/theme.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ def self.theme
invalid_input: "bg-red-50 border-red-500 dark:border-red-500 text-red-900 dark:text-red-500 placeholder-red-700 dark:placeholder-red-500 focus:ring-red-500 focus:border-red-500",
valid_input: "bg-green-50 border-green-500 dark:border-green-500 text-green-900 dark:text-green-400 placeholder-green-700 dark:placeholder-green-500 focus:ring-green-500 focus:border-green-500",
neutral_input: "border-gray-300 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white focus:ring-primary-500 focus:border-primary-500",
# checkbox
checkbox: "p-2 border rounded-md shadow-sm font-medium text-sm dark:bg-gray-700",
# radio buttons
radio_button: "p-2 border shadow-sm font-medium text-sm dark:bg-gray-700",
# color
color: "pu-color-input appearance-none bg-transparent border-none cursor-pointer w-10 h-10",
invalid_color: nil,
Expand Down
2 changes: 1 addition & 1 deletion lib/plutonium/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Plutonium
VERSION = "0.19.9"
VERSION = "0.19.10"
NEXT_MAJOR_VERSION = VERSION.split(".").tap { |v|
v[1] = v[1].to_i + 1
v[2] = 0
Expand Down

0 comments on commit cd2f1a1

Please sign in to comment.