From 83a9e15c9cde87205d497fcee2d1072914944522 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Fri, 31 Dec 2021 15:47:04 +0100 Subject: [PATCH] Update atom config --- .atom/config.cson | 34 ++++++++++++ .../atom-hydra/styles/atom-hydra.less | 54 ++++++++++++++++--- .../vim-mode-plus/styles/vim-mode-plus.less | 2 + 3 files changed, 84 insertions(+), 6 deletions(-) diff --git a/.atom/config.cson b/.atom/config.cson index 2522c99..2edc56f 100644 --- a/.atom/config.cson +++ b/.atom/config.cson @@ -1,6 +1,33 @@ "*": + "atom-package-deps": + ignored: [ + "linter-ui-default" + ] core: autoHideMenuBar: true + disabledPackages: [ + "linter-glslify" + "github" + "spell-check" + "background-tips" + "wrap-guide" + "whitespace" + "welcome" + "markdown-preview" + "tabs" + "git-diff" + "go-to-line" + "image-view" + "language-coffee-script" + "language-git" + "autocomplete-glsl" + "autocomplete-atom-api" + "autocomplete-css" + "autocomplete-html" + "autocomplete-plus" + "autocomplete-snippets" + "notifications" + ] telemetryConsent: "no" themes: [ "one-dark-ui" @@ -12,7 +39,14 @@ scrollPastEnd: true "exception-reporting": userId: "6f9fc289-7b3c-4490-937e-5e58e9765c5e" + "linter-ui-default": + showPanel: true + "prettier-atom": + formatOnSaveOptions: + enabled: true "status-bar": isVisible: false + tabs: + alwaysShowTabBar: false welcome: showOnStartup: false diff --git a/.atom/packages/atom-hydra/styles/atom-hydra.less b/.atom/packages/atom-hydra/styles/atom-hydra.less index 58ecd9b..575790c 100644 --- a/.atom/packages/atom-hydra/styles/atom-hydra.less +++ b/.atom/packages/atom-hydra/styles/atom-hydra.less @@ -1,11 +1,23 @@ +// The ui-variables file is provided by base themes provided by Atom. +// +// See https://github.com/atom/atom-dark-ui/blob/master/styles/ui-variables.less +// for a full listing of what's available. @import "ui-variables"; &.hydra-flash { + // color: @text-color-selected; + // background-color: @background-color-selected; +// color: #000; background: rgba(255, 255, 255, 0.5) !important; + //background: #0f0 !important; } &.evalFlash { + // color: @text-color-selected; + // background-color: @background-color-selected; +// color: #000; background: rgba(255, 255, 255, 0.8) !important; + //background: #0f0 !important; } .hydra, @@ -16,7 +28,7 @@ width: 100%; height: 100%; z-index: -1; - background: #000; + background: black; } body.hydra-enabled { @@ -29,18 +41,19 @@ body.hydra-enabled { :not(.cursor):not(autocomplete-suggestion-list):not(atom-overlay):not(span):not(.region), atom-workspace *:before, atom-workspace *:after { - background: transparent; + background: transparent; /*!important;*/ border: none !important; text-shadow: 0 1px 1px black; box-shadow: none !important; } - .line > span { - background: rgba(0, 0, 0, 1); + background: rgba(0, 0, 0, 0.6); } .cursor { - border-color: solid #fff !important; + width: 0 !important; + box-shadow: 0 0 3px #0ff !important; + border-left: 4px solid #0ff !important; } autocomplete-suggestion-list, atom-overlay { @@ -54,15 +67,29 @@ body.hydra-enabled { background: #0005 !important; border-left: 8px #8888 solid !important; } + + /* transparent background for file tabs */ li.texteditor.tab{ background: rgba(0, 0, 0, 0.0)!important; } } +/*.evalFlash > span { + background-color: rgba(255, 255, 255, 0.9); +} +//styles from tidal-atom + atom-text-editor.editor .line { transition: background-color .8s ease-out; -webkit-transition: background-color .8s ease-out; background-color: rgba(0, 0, 0, 0.6); + // &.line-green { + // background-color: @green-color; + // } + // + // &.line-blue { + // background-color: @blue-color; + // } &.line-error { background-color: fadeout(@background-color-error, 95%); @@ -73,6 +100,8 @@ atom-text-editor.editor .line { background-color: @background-color-highlight; } + + &.eval-success { color: @text-color-success; background-color: fadeout(@background-color-success, 50%); @@ -83,9 +112,22 @@ atom-text-editor.editor .line { color: @text-color-error; background-color: @background-color-error; } -} +}*/ .elegante { background-color: #f00; font-family: fantasy; } +/* +atom-panel div.tidalcycles.console { + height: 100px; + padding: 3px 10px; + font-size: 14px; + overflow: scroll; + font-family: Consolas, monospace; + + .error{ + color: @text-color-error; + } +} +*/ diff --git a/.atom/packages/vim-mode-plus/styles/vim-mode-plus.less b/.atom/packages/vim-mode-plus/styles/vim-mode-plus.less index 2b19f31..99aab0f 100644 --- a/.atom/packages/vim-mode-plus/styles/vim-mode-plus.less +++ b/.atom/packages/vim-mode-plus/styles/vim-mode-plus.less @@ -1,6 +1,8 @@ @import "syntax-variables"; @import "ui-variables"; +// Cursor style +// ========================= .cursor-base () { border: none; background: none;