NiLuJe 2 years ago committed by GitHub
parent 4d8e2f0ea1
commit f58d1c0449
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1 +1 @@
Subproject commit 1b3a23eed12ff93ee7f1180c86fdbd8f23523dc4
Subproject commit 0fd29ac60a0a301cdad73c799b5ce1a4992d6320

@ -180,13 +180,11 @@ DMINIBAR_CONTAINER_HEIGHT = 14, -- Larger means more padding at the bottom, at
-- insensitive sort
DALPHA_SORT_CASE_INSENSITIVE = true,
-- Light parameter for Kobo
KOBO_LIGHT_ON_START = -2, -- -1, -2 or 0-100.
-- -1 uses previous koreader session saved brightness
-- -2 uses 'Kobo eReader.conf' brighness,
-- other sets light on start to a fix brighness
KOBO_SYNC_BRIGHTNESS_WITH_NICKEL = true, -- Save brightness set in KOreader
-- with nickel's 'Kobo eReader.conf'
-- Frontlight behavior on Kobo
KOBO_LIGHT_ON_START = -2, -- -1, -2 or 0-100.
-- -1 uses the brightness set by KOReader (if any, 20% otherwise)
-- -2 uses the brightness set in Nickel
KOBO_SYNC_BRIGHTNESS_WITH_NICKEL = true, -- Update Nickel's config to match our own
-- Network proxy settings
-- proxy url should be a string in the format of "http://localhost:3128"

@ -332,7 +332,7 @@ function BookMapRow:init()
end
local color = Blitbuffer.COLOR_BLACK
if self.current_session_duration and self.read_pages[page][2] < self.current_session_duration then
color = Blitbuffer.COLOR_DIM_GRAY
color = Blitbuffer.COLOR_GRAY_5
end
table.insert(self.pages_markers, {
x = x, y = y,

@ -185,7 +185,7 @@ function BookStatusWidget:genHeader(title)
local header_title = TextWidget:new{
text = title,
face = self.medium_font_face,
fgcolor = Blitbuffer.COLOR_WEB_GRAY,
fgcolor = Blitbuffer.COLOR_GRAY_9,
}
local padding_span = HorizontalSpan:new{ width = self.padding }

@ -199,7 +199,7 @@ function ProgressWidget:updateStyle(thick, height)
self.bordersize = 0
self.radius = 0
self.bgcolor = Blitbuffer.COLOR_GRAY
self.fillcolor = Blitbuffer.COLOR_DIM_GRAY
self.fillcolor = Blitbuffer.COLOR_GRAY_5
self.ticks = nil
self._orig_margin_v = nil
self._orig_bordersize = nil

@ -250,9 +250,9 @@ local SPAN_COLORS = {
{ Blitbuffer.COLOR_BLACK, Blitbuffer.COLOR_GRAY_E },
{ Blitbuffer.COLOR_BLACK, Blitbuffer.COLOR_LIGHT_GRAY },
{ Blitbuffer.COLOR_BLACK, Blitbuffer.COLOR_GRAY },
{ Blitbuffer.COLOR_WHITE, Blitbuffer.COLOR_WEB_GRAY },
{ Blitbuffer.COLOR_WHITE, Blitbuffer.COLOR_GRAY_9 },
{ Blitbuffer.COLOR_WHITE, Blitbuffer.COLOR_DARK_GRAY },
{ Blitbuffer.COLOR_WHITE, Blitbuffer.COLOR_DIM_GRAY },
{ Blitbuffer.COLOR_WHITE, Blitbuffer.COLOR_GRAY_5 },
{ Blitbuffer.COLOR_WHITE, Blitbuffer.COLOR_BLACK },
}

@ -22,7 +22,7 @@ local util = require("util")
local _ = require("gettext")
local Screen = Device.screen
local LINE_COLOR = Blitbuffer.COLOR_WEB_GRAY
local LINE_COLOR = Blitbuffer.COLOR_GRAY_9
local BG_COLOR = Blitbuffer.COLOR_LIGHT_GRAY
-- Oh, hey, this one actually *is* an InputContainer!

Loading…
Cancel
Save