From 036e2bfe0e80cd9b8db3bd1f6fe25c9bfdc55af0 Mon Sep 17 00:00:00 2001 From: Matthias Richter Date: Sat, 2 Jan 2016 14:38:15 +0100 Subject: [PATCH] code cleanup --- theme.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/theme.lua b/theme.lua index fa0deea..850833d 100644 --- a/theme.lua +++ b/theme.lua @@ -6,9 +6,9 @@ local theme = {} theme.cornerRadius = 4 theme.color = { - normal = {bg = { 66, 66, 66}, fg = {188,188,188}}, - hovered = {bg = { 50,153,187}, fg = {255,255,255}}, - active = {bg = {255,153, 0}, fg = {225,225,225}} + normal = {bg = { 66, 66, 66}, fg = {188,188,188}}, + hover = {bg = { 50,153,187}, fg = {255,255,255}}, + active = {bg = {255,153, 0}, fg = {225,225,225}} } @@ -18,7 +18,7 @@ function theme.getStateName(id) return 'active' end if theme.core.isHot(id) then - return 'hovered' + return 'hover' end return 'normal' end