Compare commits

..

No commits in common. "cc184c5b18a7e7e5435aca2bdccd98c76dc138e4" and "d0658243d98196991cfaa15ab8d714ddc07216f0" have entirely different histories.

1 changed files with 37 additions and 55 deletions

View File

@ -7,9 +7,18 @@ local theme = {}
theme.name = "unity" theme.name = "unity"
theme.font = "Ubuntu Regular 10" theme.font = "Ubuntu Regular 10"
theme.unitybar_width = dpi(60)
theme.unitybar_bg = "#0D0D09AA"
theme.unitybar_border_width = 0
theme.icon_rounding = 5 theme.icon_rounding = 5
theme.volume_slider_width = 60 theme.volume_slider_width = 60
theme.tasklist_button_shape_border_width = dpi(1)
theme.tasklist_button_shape_border_color = "#262626AA"
theme.launcher_button_shape_border_width = dpi(1)
theme.launcher_button_shape_border_color = "#262626AA"
theme.username_container_spacing_horizontal = 3 theme.username_container_spacing_horizontal = 3
theme.launcher_button_size = 44
theme.tasklist_button_size = 44
theme.macbar_rounding = 5 theme.macbar_rounding = 5
theme.macbar_height = 45 theme.macbar_height = 45
theme.menu_button_inner_margin = 2 theme.menu_button_inner_margin = 2
@ -32,77 +41,48 @@ theme.border_normal = theme.bg_focus
theme.border_focus = theme.bg_focus theme.border_focus = theme.bg_focus
theme.border_marked = theme.bg_marked theme.border_marked = theme.bg_marked
-- unitybar
theme.unitybar_width = dpi(60)
theme.unitybar_bg = "#0D0D0966"
theme.unitybar_border_width = 1
theme.unitybar_border_color = "#26262666"
theme.unitybar_inner_margin = 5
local bsize = theme.unitybar_width - (theme.unitybar_inner_margin*2)
theme.tasklist_button_shape_border_width = dpi(1)
theme.tasklist_button_shape_border_color = {
type = "radial",
from = {bsize/2,bsize/(-3),bsize/8},
to = {bsize/2,bsize/(-5),bsize*1},
stops = {
{ 0 , "#FFFFFF66"},
{ 1, "#43434366"},
}
}
theme.launcher_button_shape_border_width = dpi(1)
theme.launcher_button_shape_border_color = theme.tasklist_button_shape_border_color
theme.tasklist_bg_focus = { theme.tasklist_bg_focus = {
type = "radial", type = "radial",
from = {bsize/2,-0.5*bsize,bsize/10}, from = {25,-20,7},
to = {bsize/2,-0.5*bsize,bsize*2}, to = {25,5,55},
stops = { stops = {
{ 0 , "#FFFFFFBB"}, { 0 , "#8c8c8cBB"},
{ 0.45, "#DF744E99"}, { 0.5, "#414141AA"},
{ 0.55, "#DF744E99"}, { 1, "#535353FF"}
{ 1, "#FFFFFF44"}
} }
} }
theme.tasklist_bg_normal = { theme.tasklist_bg_normal = {
type = "radial", type = "radial",
from = {bsize/2,-0.5*bsize,bsize/10}, from = {25,-20,7},
to = {bsize/2,-0.2*bsize,bsize*1.5}, to = {25,5,55},
stops = { stops = {
{ 0 , "#FFFFFFFF"}, { 0 , "#8c8c8cBB"},
{ 0.5, "#33333333"}, { 0.5, "#232323AA"},
{ 1, "#FFFFFF22"} { 1, "#313131FF"}
} }
} }
theme.tasklist_bg_minimize = "#23232366"
theme.tasklist_bg_minimize = "#23232366"
theme.tasklist_container_spacing = 5
theme.launcher_container_spacing = 5
-- There are other variable sets -- There are other variable sets
theme.launcher_button_bg_focus = { theme.launcher_button_bg_focus = {
type = "radial", type = "radial",
from = {bsize/2,-0.5*bsize,bsize/10}, from = {25,-20,7},
to = {bsize/2,-0.5*bsize,bsize*2}, to = {25,5,55},
stops = { stops = {
{ 0 , "#FFFFFFBB"}, { 0 , "#8c8c8cBB"},
{ 0.45, "#66666699"}, { 0.5, "#414141AA"},
{ 0.55, "#66666699"}, { 1, "#535353FF"}
{ 1, "#FFFFFF44"}
} }
} }
theme.launcher_button_bg_normal = { theme.launcher_button_bg_normal = {
type = "radial", type = "radial",
from = {bsize/2,-0.5*bsize,bsize/10}, from = {25,-20,7},
to = {bsize/2,-0.2*bsize,bsize*1.5}, to = {25,5,55},
stops = { stops = {
{ 0 , "#FFFFFFFF"}, { 0 , "#8c8c8cBB"},
{ 0.5, "#33333333"}, { 0.5, "#232323AA"},
{ 1, "#FFFFFF22"} { 1, "#313131FF"}
} }
} }
-- overriding the default one when -- overriding the default one when
@ -121,23 +101,25 @@ theme.hotkeys_opacity = 0.2
theme.titlebar_bg_focus = { theme.titlebar_bg_focus = {
type = "linear", type = "linear",
from = { 0, 20 }, from = { 0, 15 },
to = { 0, 0 }, to = { 0, 0 },
stops = { { 0, "#3C3B37"} , { 1 , "#59574E"} } stops = { { 0, "#3C3B37"} , { 1 , "#5C5B56"} }
} }
theme.titlebar_bg_normal = { theme.titlebar_bg_normal = {
type = "linear", type = "linear",
from = { 0, 20 }, from = { 0, 15 },
to = { 0, 0 }, to = { 0, 0 },
stops = { { 0, "#3C3B37"} , { 1 , "#41403D"} } stops = { { 0, "#2A2A26"} , { 1 , "#454440"} }
} }
theme.topbar_bg = { theme.topbar_bg = {
type = "linear", type = "linear",
from = { 0, 20 }, from = { 0, 15 },
to = { 0, 0 }, to = { 0, 0 },
stops = { { 0, "#3C3B37"} , { 1 , "#545249"} } stops = { { 0, "#3A3A36"} , { 1 , "#454440"} }
} }
theme.titlebar_rounding = 6 theme.titlebar_rounding = 6