Skip to content

Commit 5d4fa6f

Browse files
committed
update theme signature for missed components
1 parent c281638 commit 5d4fa6f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/scenic/component/input/dropdown.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ defmodule Scenic.Component.Input.Dropdown do
188188

189189
# theme is passed in as an inherited style
190190
theme =
191-
(opts[:theme] || Themes.preset(:dark))
191+
(opts[:theme] || Themes.preset({:scenic, :dark}))
192192
|> Themes.normalize()
193193

194194
# font related info

lib/scenic/component/input/radio_button.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ defmodule Scenic.Component.Input.RadioButton do
7070
def init(scene, {text, id, checked?}, opts) do
7171
# theme is passed in as an inherited style
7272
theme =
73-
(opts[:theme] || Themes.preset(:dark))
73+
(opts[:theme] || Themes.preset({:scenic, :dark}))
7474
|> Themes.normalize()
7575

7676
# font related info

lib/scenic/component/input/slider.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ defmodule Scenic.Component.Input.Slider do
192192

193193
# theme is passed in as an inherited style
194194
theme =
195-
(opts[:theme] || Themes.preset(:primary))
195+
(opts[:theme] || Themes.preset({:scenic, :dark}))
196196
|> Themes.normalize()
197197

198198
# get button specific styles

0 commit comments

Comments
 (0)