dbgate-plugin-vscode-theme
Version:
VS Code inspired theme for DbGate 
196 lines (177 loc) • 6.06 kB
JavaScript
var plugin;
/******/ (() => { // webpackBootstrap
/******/ "use strict";
/******/ // The require scope
/******/ var __webpack_require__ = {};
/******/
/************************************************************************/
/******/ /* webpack/runtime/define property getters */
/******/ (() => {
/******/ // define getter functions for harmony exports
/******/ __webpack_require__.d = (exports, definition) => {
/******/ for(var key in definition) {
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ }
/******/ }
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/hasOwnProperty shorthand */
/******/ (() => {
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ })();
/******/
/******/ /* webpack/runtime/make namespace object */
/******/ (() => {
/******/ // define __esModule on exports
/******/ __webpack_require__.r = (exports) => {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const theme = {
themeName: 'dbgate-plugin-vscode-theme',
themeType: 'dark',
themeClassName: 'theme-dbgate-plugin-vscode-theme',
themeCss: `
.theme-dbgate-plugin-vscode-theme {
--theme-font-1:
--theme-font-2:
--theme-font-3:
--theme-font-4:
--theme-font-hover:
--theme-font-link:
--theme-font-alt:
--theme-bg-0:
--theme-bg-1:
--theme-bg-2:
--theme-bg-3:
--theme-bg-4:
--theme-bg-alt:
--theme-bg-gold:
--theme-bg-orange:
--theme-bg-green:
--theme-bg-volcano:
--theme-bg-red:
--theme-bg-blue:
--theme-bg-magenta:
--theme-font-inv-1:
--theme-font-inv-15:
--theme-font-inv-2:
--theme-font-inv-3:
--theme-font-inv-4:
--theme-bg-inv-1:
--theme-bg-inv-2:
--theme-bg-inv-3:
--theme-bg-inv-4:
--theme-border:
--theme-bg-hover:
--theme-bg-selected:
--theme-bg-selected-point:
--theme-bg-statusbar-inv:
--theme-bg-statusbar-inv-hover:
--theme-bg-statusbar-inv-font:
--theme-bg-statusbar-inv-bg:
--theme-bg-modalheader:
--theme-bg-button-inv:
--theme-bg-button-inv-2:
--theme-bg-button-inv-3:
--theme-icon-blue:
--theme-icon-green:
--theme-icon-red:
--theme-icon-gold:
--theme-icon-yellow:
--theme-icon-magenta:
--theme-icon-inv-green:
--theme-icon-inv-red:
}
:root {
--dim-widget-icon-size: 55px;
--dim-statusbar-height: 28px;
--dim-left-panel-width: 300px;
--dim-tabs-panel-height: 60px;
--dim-tabs-height: 33px;
--dim-splitter-thickness: 3px;
--dim-visible-left-panel: 1; /* set from JS */
--dim-content-left: calc(
var(--dim-widget-icon-size) + var(--dim-visible-left-panel) *
(var(--dim-left-panel-width) + var(--dim-splitter-thickness))
);
--dim-visible-toolbar: 0; /* set from JS */
--dim-visible-titlebar: 0; /* set from JS */
--dim-toolbar-height: 30px;
--dim-toolstrip-height: 28px;
--dim-titlebar-height: 30px;
--dim-toolbar-top: calc(var(--dim-titlebar-height) * var(--dim-visible-titlebar));
--dim-header-top: calc(
var(--dim-titlebar-height) * var(--dim-visible-titlebar) + var(--dim-toolbar-height) * var(--dim-visible-toolbar)
);
--dim-content-top: calc(var(--dim-header-top) + var(--dim-tabs-panel-height));
--dim-large-form-margin: 20px;
}
.main-container{
div.svelte-1msuoss {
border: 2px solid var(--theme-bg-1);
}
}
input{
outline:none;
border:1px solid var(--theme-bg-inv-3) !important;
}
input:focus{
border:1px solid var(--theme-bg-selected) !important;
}
.buttonLike {
outline:none;
}
.buttonLike:hover{
border-color: transparent !important;
opacity: .8 !important;
}
.iconbar .wrapper {
cursor: pointer;
height: 45px;
}
.iconbar .wrapper.selected .mdi,
.iconbar .wrapper:hover .mdi
{
color: var( --theme-font-1);
}
.iconbar .mdi{
transition: all 300ms;
font-size: 1.4rem !important;
color: var(--theme-bg-selected);
}
/*ace_editor*/
.ace_editor{
background-color: var(--theme-bg-0);
}
.ace_gutter-layer{
background: var(--theme-bg-0);
border-right: 1px solid var(--theme-bg-1);
}
.horizontal-split-handle:hover,
.vertical-split-handle:hover{
background-color: var(--theme-bg-selected) !important;
}
.add-icon .mdi{
color: var(--theme-font-1);
}
`,
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
themes: [theme],
});
plugin = __webpack_exports__;
/******/ })()
;