Skip to content

Commit

Permalink
Change theme color
Browse files Browse the repository at this point in the history
  • Loading branch information
jhang-jhe-wei committed Jul 11, 2021
1 parent 91dbac3 commit 03b8ca3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def image_flex(*image_urls, **options)
end
end

def menu(title, backgroundColor = "#D99AC5")
def menu(title, backgroundColor = "#FEB9EF")
bubble size: "kilo" do
header backgroundColor: backgroundColor do
vertical_box do
Expand Down
8 changes: 4 additions & 4 deletions app/helpers/notifies_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module NotifiesHelper
def cover
bubble do
header backgroundColor: "#00CE39", layout: "horizontal" do
header backgroundColor: "#F3D23C", layout: "horizontal" do
text "Line Notify", align: "center", color: "#ffffff", size: "xl", margin: "none", weight: "bold"
end
body do
Expand All @@ -10,14 +10,14 @@ def cover
footer paddingTop: "0px" do
separator color: "#c2c2c2", margin: "xl"
message_button "設定說明", "notify操作說明"
url_button "開始設定", @auth_link, style: "primary"
url_button "開始設定", @auth_link, style: "primary", color: "#F3D23C"
end
end
end

def page(title, content, notify_id)
bubble do
header backgroundColor: "#00CE39", layout: "horizontal" do
header backgroundColor: "#F3D23C", layout: "horizontal" do
text title, align: "center", color: "#ffffff", size: "xl", margin: "none", weight: "bold"
end
body do
Expand All @@ -26,7 +26,7 @@ def page(title, content, notify_id)
footer paddingTop: "0px" do
separator color: "#c2c2c2", margin: "xl"
message_button "取消訂閱", "取消通知#{notify_id}"
message_button "開始訂閱", "訂閱通知#{notify_id}", style: "primary"
message_button "開始訂閱", "訂閱通知#{notify_id}", style: "primary", color: "#F3D23C"
end
end
end
Expand Down
8 changes: 4 additions & 4 deletions app/views/guides/index.line.erb
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<%= raw(Kamiflex.hash(self) do
carousel do
menu "美食", "#6184D8" do
menu "美食", "#6676C1" do
menu_text_item("美食")
menu_text_item("學餐位置")
end

menu "生活機能", "#6184D8" do
menu "生活機能", "#6676C1" do
menu_text_item("提款機")
menu_text_item("剪髮廳")
menu_text_item("生活用品")
end

menu "娛樂", "#6184D8" do
menu "娛樂", "#6676C1" do
menu_text_item("社團")
menu_text_item("校園運動設施")
end

menu "賺錢機會", "#6184D8" do
menu "賺錢機會", "#6676C1" do
menu_text_item("獎學金")
menu_text_item("工讀機會")
end
Expand Down

0 comments on commit 03b8ca3

Please sign in to comment.