mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
removed green theme
This commit is contained in:
parent
9adf4d7e8e
commit
05d077ce28
@ -157,7 +157,6 @@ export default class ApperanceOptions {
|
|||||||
|
|
||||||
async optionsLoaded(options) {
|
async optionsLoaded(options) {
|
||||||
const themes = [
|
const themes = [
|
||||||
{ val: 'green', title: 'Green' },
|
|
||||||
{ val: 'white', title: 'White' },
|
{ val: 'white', title: 'White' },
|
||||||
{ val: 'dark', title: 'Dark' }
|
{ val: 'dark', title: 'Dark' }
|
||||||
].concat(await server.get('options/user-themes'));
|
].concat(await server.get('options/user-themes'));
|
||||||
|
@ -45,6 +45,10 @@ export default class CalendarMenuWidget extends BasicWidget {
|
|||||||
doRender() {
|
doRender() {
|
||||||
this.$widget = $(TPL);
|
this.$widget = $(TPL);
|
||||||
|
|
||||||
|
const $button = this.$widget.find(".calendar-menu-button");
|
||||||
|
$button.tooltip({ trigger: "hover" });
|
||||||
|
$button.on("click", () => $button.tooltip("hide"));
|
||||||
|
|
||||||
this.$month = this.$widget.find('[data-calendar-area="month"]');
|
this.$month = this.$widget.find('[data-calendar-area="month"]');
|
||||||
this.$next = this.$widget.find('[data-calendar-toggle="next"]');
|
this.$next = this.$widget.find('[data-calendar-toggle="next"]');
|
||||||
this.$previous = this.$widget.find('[data-calendar-toggle="previous"]');
|
this.$previous = this.$widget.find('[data-calendar-toggle="previous"]');
|
||||||
|
@ -97,11 +97,7 @@ export default class GlobalMenuWidget extends BasicWidget {
|
|||||||
this.$widget = $(TPL);
|
this.$widget = $(TPL);
|
||||||
|
|
||||||
const $button = this.$widget.find(".global-menu-button");
|
const $button = this.$widget.find(".global-menu-button");
|
||||||
|
$button.tooltip({ trigger: "hover" });
|
||||||
$button.tooltip({
|
|
||||||
trigger: "hover"
|
|
||||||
});
|
|
||||||
|
|
||||||
$button.on("click", () => $button.tooltip("hide"));
|
$button.on("click", () => $button.tooltip("hide"));
|
||||||
|
|
||||||
this.$widget.find(".show-about-dialog-button").on('click',
|
this.$widget.find(".show-about-dialog-button").on('click',
|
||||||
|
@ -62,70 +62,6 @@
|
|||||||
--link-color: blue;
|
--link-color: blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.theme-green {
|
|
||||||
--main-font-family: MontserratLight;
|
|
||||||
--main-font-size: normal;
|
|
||||||
|
|
||||||
--tree-font-family: MontserratLight;
|
|
||||||
--tree-font-size: normal;
|
|
||||||
|
|
||||||
--detail-font-family: MontserratLight;
|
|
||||||
--detail-font-size: normal;
|
|
||||||
|
|
||||||
--font-family-monospace: JetBrainsLight;
|
|
||||||
--detail-text-font-family: MontserratLight;
|
|
||||||
|
|
||||||
--main-background-color: white;
|
|
||||||
--main-text-color: black;
|
|
||||||
--main-border-color: #3F9D38;
|
|
||||||
|
|
||||||
--accented-background-color: #51C048;
|
|
||||||
--more-accented-background-color: #3F9D38;
|
|
||||||
|
|
||||||
--button-background-color: transparent;
|
|
||||||
--button-disabled-background-color: #ddd;
|
|
||||||
--button-border-color: #3F9D38;
|
|
||||||
--button-text-color: #3F9D38;
|
|
||||||
--button-border-radius: 5px;
|
|
||||||
|
|
||||||
--primary-button-background-color: #6c757d;
|
|
||||||
--primary-button-text-color: white;
|
|
||||||
--primary-button-border-color: #6c757d;
|
|
||||||
|
|
||||||
--muted-text-color: #666;
|
|
||||||
|
|
||||||
--input-text-color: black;
|
|
||||||
--input-background-color: transparent;
|
|
||||||
|
|
||||||
--hover-item-text-color: black;
|
|
||||||
--hover-item-background-color: #ddd;
|
|
||||||
|
|
||||||
--active-item-text-color: black;
|
|
||||||
--active-item-background-color: #ddd;
|
|
||||||
|
|
||||||
--menu-text-color: black;
|
|
||||||
--menu-background-color: white;
|
|
||||||
|
|
||||||
--modal-background-color: white;
|
|
||||||
--modal-backdrop-color: black;
|
|
||||||
|
|
||||||
--left-pane-background-color: #98DB92;
|
|
||||||
--left-pane-text-color: #333;
|
|
||||||
|
|
||||||
--launcher-pane-background-color: #98DB92;
|
|
||||||
--launcher-pane-text-color: #333;
|
|
||||||
|
|
||||||
--active-tab-background-color: #51C048;
|
|
||||||
--active-tab-text-color: black;
|
|
||||||
|
|
||||||
--inactive-tab-background-color: #98DB92;
|
|
||||||
--inactive-tab-text-color: #666;
|
|
||||||
|
|
||||||
--scrollbar-border-color: #3F9D38;
|
|
||||||
--tooltip-background-color: #f8f8f8;
|
|
||||||
--link-color: blue;
|
|
||||||
}
|
|
||||||
|
|
||||||
body.theme-dark {
|
body.theme-dark {
|
||||||
--main-font-family: MontserratLight;
|
--main-font-family: MontserratLight;
|
||||||
--main-font-size: normal;
|
--main-font-size: normal;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user