deleted the mojave theme: we already have a built-in dark theme

This commit is contained in:
antelle 2019-10-11 20:34:30 +02:00
parent 03fb20432d
commit 55e71574c6
4 changed files with 0 additions and 101 deletions

View File

@ -1,20 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>KeeWeb Plugin: Mojave Theme</title>
<link rel="shortcut icon" href="/favicon.png" />
<style>
body {
font-family: -apple-system, "BlinkMacSystemFont", "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif;;
font-size: 14px;
}
</style>
</head>
<body>
<h1>KeeWeb Plugin: Mojave Theme</h1>
<a href="https://plugins.keeweb.info/plugins/theme-mojave">https://plugins.keeweb.info/plugins/theme-mojave</a>
<p>A KeeWeb dark theme, inspired by the new Dark Mode of macOS Mojave</a>
</p>
</body>
</html>

View File

@ -1,23 +0,0 @@
{
"version": "0.0.1",
"manifestVersion": "0.1.0",
"name": "theme-mojave",
"description": "A KeeWeb dark theme, inspired by the new Dark Mode of macOS Mojave",
"author": {
"name": "agurodriguez",
"email": "me@agurodriguez.net",
"url": "http://agurodriguez.net"
},
"resources": {
"js": "WqVhllBMwTBost0cXkOja/nrsVobHTv5OHL87564SKImsroy7XcI7YqkZscaZ99NsazbMOZBYfYQkpnY+mSB7TEhFG0aVzlT8n/4PrJq2E6xsCjJcqQiu+AfkpjzwIckP37i4sfrdlciMx9gPuZKS+9vHBBjszW0TzvO7KyVWLFhiSip5TOpvaUFGeaE1UYu4MuQ6UNcX5g3nl+O5aFx622L7jAOekJ2FV38hFrh9zR7FO4oq6QElawncJG/oIUPytV01XchbOUhyIBnVjzj18vy2R0rLwDVMwtnPE5zdbLKyIGVeAEx8mcS0rB6uOzB313KEXzb93QjFNW9H4yjYA==",
"css": "zDlZrARIb77gobUuGLEnEz4zxrD7MNjIlvQqzdHJ9T57eHwzqfZpw0VFyvvgdp+7bbKHrzJ+g92j4JAOGEKHu8Gl6WWcIS1NDGjnFegP7w3dk+OAdtL2jCfDpjW2XvwXqu13QNMiTvaEhq3jF8z1cyYKYaKZnbX+6//z/5efl2wK1OztDWt6d3E0yCt2xiuHq71Ayq90S/epOYyMXyWwDPgGck+6VDsgIOCtpr/CO8Yae8LUBFmverkRijcafpUvq2NTDRuSU/0CYAVzFcih7rbn0Lpi2nJHLdPlW1KjMTFu8HhQi7jZc9+05K+IT3rAzt6u+/ruOiQyNLHpmy8Syw=="
},
"licence": "MIT",
"url": "https://plugins.keeweb.info/plugins/theme-mojave",
"publicKey": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0oZB2Kt7AzRFNqf8FuO3C3kepHPAIQYiDPYdQxHcsiaFCwyKVx6K1cE/3vBhb8/2rj+QIIWNfAAuu1Y+2VK90ZBeq6HciukWzQRO/HWhfdy0c7JwDAslmyGI5olj0ZQkNLhkde1MiMxjDPpRhZtdJaryVO5cFJaJESpv3dV6m0qXsaQCluWYOSNfSjP9C8o2zRVjSi3ZQZnZIV5pnk9K2MtlZIPXrN9iJiM5zZ9DTSnqApI6dC9mX4R3LvGN+GTovm9C8Crl+qb106nGRR3LcweicDnPyMtZLa/E0DBpWYxUVLDp6WeLhxoUBr+6+t3Xp9IDnPoANDQXJXD0f1vQxQIDAQAB",
"license": "MIT",
"theme": {
"name": "mojave",
"title": "Mojave"
}
}

View File

@ -1,36 +0,0 @@
.th-mojave {
--action-color: #185bc9;
--background-color: #1f1e1e;
--error-color: #ed5445;
--form-box-shadow-color-focus: transparent;
--intermediate-background-color: transparent;
--light-border-color: #141415;
--medium-color: #ffffff;
--secondary-background-color: #185bc9;
--text-color: #ffffff;
--text-contrast-action-color: #ffffff;
color: white;
}
.th-mojave .app__menu {
background: #2c2d2f;
}
.th-mojave .app__menu .menu__section {
border-color: transparent;
}
.th-mojave .list__item--active .list__item-descr {
color: #78b0f9;
}
.th-mojave .list__search-field {
background: rgb(53, 53, 55);
border-radius: 3px;
padding: .4em;
}
.th-mojave .list__search-field .list__search-icon-search {
top: .4em;
right: .4em;
}

View File

@ -1,22 +0,0 @@
/**
* KeeWeb plugin: keeweb-mojave
* @author agurodriguez
* @license MIT
*/
const AppSettingsModel = require('models/app-settings-model');
const RuntimeDataModel = require('models/runtime-data-model');
const FeatureDetector = require('util/feature-detector');
const FIRST_RUN_KEY = 'keeweb-mojave-first-run';
if (FeatureDetector.isDesktop) {
if (!RuntimeDataModel.instance.get(FIRST_RUN_KEY)) {
AppSettingsModel.instance.set('titlebarStyle', 'hidden');
RuntimeDataModel.instance.set(FIRST_RUN_KEY, true);
}
}
module.exports.uninstall = function() {
RuntimeDataModel.instance.unset(FIRST_RUN_KEY);
};