Improve notion theme, remove trash

This commit is contained in:
2017-08-17 14:12:42 +03:00
parent feb0371dd3
commit 3d3c44fd60
4 changed files with 27 additions and 372 deletions

View File

@@ -1,133 +0,0 @@
-- look-zenburn-ion3.lua --- Zenburn color theme for Ion3
-- This file is in the public domain.
-- Author: Daniel Brockman <daniel@brockman.se>
-- URL: http://www.brockman.se/software/zenburn/look-zenburn-ion3.lua
-- Based on Jani Nurminen's original Zenburn color scheme for Vim,
-- and the classic brownsteel look for pwm.
-- Thanks to Luke Renn for porting this to Ion3.
if not gr.select_engine("de") then return end
de.reset()
font_medium = "terminus-*-med-*-11-*"
font_bold = font_medium
de.defstyle("*", {
shadow_colour = "#262626",
highlight_colour = "#767676",
background_colour = "#464646",
foreground_colour = "#acac9c",
padding_pixels = 0,
highlight_pixels = 0,
shadow_pixels = 1,
border_style = "elevated",
font = font_medium,
text_align = "center",
})
de.defstyle("frame", {
based_on = "*",
padding_colour = "#505050",
background_colour = "#3f3f3f",
foreground_colour = "#ffffff",
padding_pixels = 2,
highlight_pixels = 1,
shadow_pixels = 1,
de.substyle("active", {
shadow_colour = "#204050",
highlight_colour = "#607080",
background_colour = "#505050",
foreground_colour = "#ffffff",
}),
})
de.defstyle("frame-ionframe", {
based_on = "frame",
border_style = "inlaid",
padding_pixels = 1,
spacing = 2,
})
de.defstyle("frame-floatframe", {
based_on = "frame",
border_style = "ridge"
})
de.defstyle("tab", {
based_on = "*",
font = font_bold,
de.substyle("inactive-unselected", {
shadow_colour = "#262626",
highlight_colour = "#767676",
background_colour = "#464646",
foreground_colour = "#acac9c",
}),
de.substyle("inactive-selected", {
shadow_colour = "#404040",
highlight_colour = "#909090",
background_colour = "#606060",
foreground_colour = "#dcdccc",
}),
de.substyle("active-unselected", {
shadow_colour = "#203040",
highlight_colour = "#607080",
background_colour = "#405060",
foreground_colour = "#a0a0a0",
}),
de.substyle("active-selected", {
shadow_colour = "#304050",
highlight_colour = "#708090",
background_colour = "#506070",
foreground_colour = "#ffffff",
}),
text_align = "center",
})
de.defstyle("tab-frame", {
based_on = "tab",
de.substyle("*-*-*-*-activity", {
shadow_colour = "#404040",
highlight_colour = "#707070",
background_colour = "#990000",
foreground_colour = "#eeeeee",
}),
})
de.defstyle("tab-frame-ionframe", {
based_on = "tab-frame",
spacing = 1,
})
de.defstyle("tab-menuentry", {
based_on = "tab",
text_align = "left",
})
de.defstyle("tab-menuentry-big", {
based_on = "tab-menuentry",
padding_pixels = 2,
})
de.defstyle("input", {
based_on = "*",
background_colour = "#000000",
foreground_colour = "#ffffff",
padding_pixels = 1,
highlight_pixels = 1,
shadow_pixels = 1,
border_style = "elevated",
de.substyle("*-cursor", {
background_colour = "#ffffff",
foreground_colour = "#000000",
}),
de.substyle("*-selection", {
background_colour = "#505050",
foreground_colour = "#ffffff",
}),
})
gr.refresh()

View File

@@ -1,152 +0,0 @@
if not gr.select_engine("de") then return end
de.reset()
de.defstyle("*", {
shadow_colour = "#00aa00",
highlight_colour = "#00aa00",
-- background_colour = "#000000",
foreground_colour = "#00aa00",
padding_pixels = 1,
highlight_pixels = 1,
shadow_pixels = 1,
border_style = "elevated",
font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*",
text_align = "center",
})
de.defstyle("frame", {
based_on = "*",
shadow_colour = "#000000",
highlight_colour = "#000000",
padding_colour = "#00aa00",
-- transparent_background = true,
-- background_colour = "#000000",
foreground_colour = "#ffffff",
padding_pixels = 2,
highlight_pixels = 1,
shadow_pixels = 1,
de.substyle("active", {
shadow_colour = "#000000",
highlight_colour = "#000000",
padding_colour = "#00aa00",
foreground_colour = "#ffffff",
}),
})
de.defstyle("frame-ionframe", {
based_on = "frame",
border_style = "inlaid",
padding_pixels = 1,
spacing = 1,
})
de.defstyle("frame-floatframe", {
based_on = "frame",
border_style = "ridge",
})
de.defstyle("tab", {
based_on = "*",
font = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*",
de.substyle("active-selected", {
shadow_colour = "#00aa00",
highlight_colour = "#00aa00",
background_colour = "#000000",
foreground_colour = "#00aa00",
}),
de.substyle("active-unselected", {
shadow_colour = "#006600",
highlight_colour = "#006600",
background_colour = "#000000",
foreground_colour = "#006600",
}),
de.substyle("inactive-selected", {
shadow_colour = "#006600",
highlight_colour = "#006600",
background_colour = "#000000",
foreground_colour = "#006600",
}),
de.substyle("inactive-unselected", {
shadow_colour = "#003300",
highlight_colour = "#003300",
background_colour = "#000000",
foreground_colour = "#003300",
}),
text_align = "center",
})
de.defstyle("tab-frame", {
based_on = "tab",
de.substyle("*-*-*-*-activity", {
shadow_colour = "#00aa00",
highlight_colour = "#00aa00",
background_colour = "#000000",
foreground_colour = "#00aa00",
}),
})
de.defstyle("tab-frame-ionframe", {
based_on = "tab-frame",
spacing = 1,
})
de.defstyle("tab-menuentry", {
based_on = "tab",
text_align = "left",
highlight_pixels = 0,
shadow_pixels = 0,
--give pmenus the same brightness as the other menus.
de.substyle("inactive-selected", {
shadow_colour = "#00aa00",
highlight_colour = "#00aa00",
background_colour = "#000000",
foreground_colour = "#00aa00",
}),
de.substyle("inactive-unselected", {
shadow_colour = "#006600",
highlight_colour = "#006600",
background_colour = "#000000",
foreground_colour = "#006600",
}),
})
de.defstyle("tab-menuentry-big", {
based_on = "tab-menuentry",
font = "-*-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*",
padding_pixels = 7,
})
de.defstyle("input", {
based_on = "*",
shadow_colour = "#00aa00",
highlight_colour = "#00aa00",
background_colour = "#000000",
foreground_colour = "#00aa00",
padding_pixels = 1,
highlight_pixels = 1,
shadow_pixels = 1,
border_style = "elevated",
de.substyle("*-cursor", {
background_colour = "#ffffff",
foreground_colour = "#000000",
}),
de.substyle("*-selection", {
background_colour = "#505050",
foreground_colour = "#ffffff",
}),
})
de.defstyle("input-menu", {
based_on = "*",
de.substyle("active", {
shadow_colour = "#00aa00",
highlight_colour = "#00aa00",
background_colour = "#000000",
foreground_colour = "#00aa00",
}),
})
gr.refresh()

View File

@@ -1,77 +0,0 @@
--
-- look_greenlight for Notion's default drawing engine.
--
if not gr.select_engine("de") then
return
end
-- Clear existing styles from memory.
de.reset()
font_medium = "-misc-fixed-medium-r-*-*-13-*-*-*-*-60-*-*"
-- "-*-terminus-*-medium-*-*-*-11-*-*-*-*-koi8-ru"
font_bold = font_medium
-- Base style
de.defstyle("*", {
highlight_colour = "#666666",
shadow_colour = "#666666",
background_colour = "#333333",
foreground_colour = "#cccccc",
shadow_pixels = 1,
highlight_pixels = 1,
padding_pixels = 1,
spacing = 0,
border_style = "elevated",
border_sides = "tb",
font = font_medium,
text_align = "center",
})
de.defstyle("frame", {
background_colour = "#1C1F22",
transparent_background = false,
})
de.defstyle("tab", {
font = font_medium,
spacing = 0,
de.substyle("active-selected", {
highlight_colour = "#8ac267",
shadow_colour = "#8ac267",
background_colour = "#354743",
}),
de.substyle("inactive-selected", {
highlight_colour = "#6aa247",
shadow_colour = "#6aa247",
}),
})
de.defstyle("input", {
text_align = "left",
spacing = 0,
de.substyle("*-selection", {
background_colour = "#354743",
}),
de.substyle("*-cursor", {
background_colour = "#8ac267",
foreground_colour = "#333333",
}),
})
dopath("lookcommon_emboss")
-- Refresh objects' brushes.
gr.refresh()

View File

@@ -7,13 +7,13 @@ de.reset()
de.defstyle("*", {
shadow_colour = "black",
highlight_colour = "black",
background_colour = "#222222",
background_colour = "#073642",
foreground_colour = "#9f9f9f",
padding_pixels = 0,
highlight_pixels = 0,
shadow_pixels = 0,
border_style = "elevated",
font = "-*-Fixedsys Excelsior-regular-r-*-*-14-*-*-*-*-*-*",
font = "-*-Fixedsys Excelsior-regular-r-*-*-13-*-*-*-*-*-*",
text_align = "center",
})
@@ -29,23 +29,22 @@ de.defstyle("frame", {
de.substyle("active", {
shadow_colour = "black",
highlight_colour = "black",
background_colour = "#D58919",
background_colour = "#657b83",
foreground_colour = "#ffffff",
}),
})
de.defstyle("tab", {
--font = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*",
de.substyle("active-selected", {
shadow_colour = "black",
highlight_colour = "black",
background_colour = "#D58919",
foreground_colour = "#000000",
background_colour = "#657b83",
foreground_colour = "#fdf6e3",
}),
--de.substyle("active-unselected", {
--shadow_colour = "black",
--highlight_colour = "black",
--background_colour = "#222222",
--background_colour = "#073642",
--foreground_colour = "#9f9f9f",
--}),
--de.substyle("inactive-selected", {
@@ -57,17 +56,18 @@ de.defstyle("tab", {
--de.substyle("inactive-unselected", {
--shadow_colour = "black",
--highlight_colour = "black",
--background_colour = "#222222",
--background_colour = "#073642",
--foreground_colour = "#9f9f9f",
--}),
padding_pixels = 1,
text_align = "left",
})
de.defstyle("input", {
shadow_colour = "black",
highlight_colour = "black",
background_colour = "#3f3f3f",
foreground_colour = "white",
background_colour = "#657b83",
foreground_colour = "#fdf6e3",
padding_pixels = 1,
highlight_pixels = 0,
shadow_pixels = 0,
@@ -88,5 +88,22 @@ de.defstyle("input-menu", {
dopath("lookcommon_clean")
de.defstyle("stdisp", {
shadow_pixels = 0,
highlight_pixels = 0,
text_align = "left",
background_colour = "black",
foreground_colour = "#93a1a1",
font = "-*-Fixedsys Excelsior-regular-r-*-*-13-*-*-*-*-*-*",
de.substyle("important", {
foreground_colour = "green",
}),
de.substyle("critical", {
foreground_colour = "red",
}),
})
gr.refresh()