and_cesbo icon

Astra. Custom Theme

and_cesbo | PRO | 11/03/17 11:05:04 AM UTC | 0 ⭐ | 1028 👁️ | Never ⏰ | []
Lua |

920 B

|

None

|

0 👍

/

0 👎

-- Additional Theme
-- Save script to /etc/astra/mod/theme.lua
-- Restart Astra
-- Press Ctrl + Shift + R in your browser to reset cache
 
astra_storage["/dark-c.css"] = [[
.dark-c .card { margin: 1px; }
.dark-c .card .card-image { display: none; }
.dark-c .card .card-status { display: none; }
.dark-c .card div { background-color: inherit; }
.dark-c .card.card-true-3, .dark-c .card.card-false-0 { background-color: #434857; }
.dark-c .card.card-true-2 { background-color: #66bb6a; }
.dark-c .card.card-true-0, .dark-c .card.card-true-1  { background-color: #ef5350; }
]]
 
astra_storage["/mod.js"] = astra_storage["/mod.js"] .. [[
(function() {
    app.themes.push({ value: "dark dark-c", label: "Dark Condensed" });
 
    $.head.addChild($.element("link")
        .addAttr("rel", "stylesheet")
        .addAttr("type", "text/css")
        .addAttr("href", "/dark-c.css")
        .addAttr("media", "all"));
})();
]]

Comments