Skip to content

Instantly share code, notes, and snippets.

@timcole
Last active December 8, 2020 22:21
Show Gist options
  • Save timcole/765fa65fe8d07e84074fe8afe1e8bd18 to your computer and use it in GitHub Desktop.
Save timcole/765fa65fe8d07e84074fe8afe1e8bd18 to your computer and use it in GitHub Desktop.
Makes octotree match githubs theme
@-moz-document url-prefix("https://github.com/") {
.octotree-sidebar.octotree-github-sidebar .octotree-view-header,
.octotree-sidebar.octotree-github-sidebar .octotree-footer,
.octotree-sidebar.octotree-github-sidebar .octotree-views .octotree-tree-view .jstree-default .jstree-wholerow-clicked,
.octotree-sidebar.octotree-github-sidebar .octotree-views .octotree-tree-view .jstree-default .jstree-wholerow-hovered,
.octotree-sidebar.octotree-github-sidebar .octotree-bookmark__item:hover,
.octotree-sidebar.octotree-github-sidebar .octotree-bookmark__search,
.octotree-tabs-nav__bar::before,
.octotree-tabs-nav__bar .octotree-tabs-nav__item.active,
.octotree-tabs-nav__bar .octotree-tabs-nav__item::after,
.octotree-tabs-nav__bar .octotree-tabs-nav__item.active::before {
background-color: var(--color-header-bg) !important;
border-color: var(--color-border-primary) !important;
}
.octotree-sidebar.octotree-github-sidebar .octotree-views,
.octotree-tabs-nav__bar {
background-color: var(--color-bg-canvas) !important;
border-right-color: var(--color-border-primary) !important;
border-left-color: var(--color-border-primary) !important;
}
.octotree-sidebar.octotree-github-sidebar .octotree-views .octotree-settings-view > form > div:not(:nth-last-child(-n+2)) {
border-color: var(--color-border-primary) !important;
}
.octotree-sidebar.octotree-github-sidebar .octotree-views .octotree-tree-view .jstree-anchor div,
.octotree-sidebar.octotree-github-sidebar .octotree-bookmark__item__anchor .octotree-bookmark__item__url,
.octotree-sidebar.octotree-github-sidebar .octotree-bookmark__item__anchor > div,
.octotree-sidebar.octotree-github-sidebar .octotree-views .octotree-settings-view > form label {
color: var(--color-text-primary) !important;
}
.octotree-sidebar.octotree-github-sidebar .octotree-bookmark__item__icon.icon-file i::before, .octotree-sidebar.octotree-github-sidebar .octotree-bookmark__item__icon.icon-issue i::before, .octotree-sidebar.octotree-github-sidebar .octotree-bookmark__item__icon.icon-pr i::before, .octotree-sidebar.octotree-github-sidebar .octotree-bookmark__item__icon.icon-repo i::before,
.octotree-sidebar.octotree-github-sidebar .octotree-views .octotree-settings-view .octotree-settings-heading {
color: var(--color-text-disabled) !important;
}
.blob-code-inner {
font-family: "Operator Mono Lig", "Operator Mono", "dank mono";
}
}
@timcole
Copy link
Author

timcole commented Dec 8, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment