From 0e18cc76f60ce1904405137f19b2d2f05c6231d6 Mon Sep 17 00:00:00 2001 From: Ben Dalling Date: Mon, 15 May 2017 17:16:56 +0100 Subject: [PATCH] Stop deprecation warnings. --- package.json | 2 +- styles/editor.less | 8 ++++---- styles/packages.less | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 3278141..17beaf2 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,6 @@ "main": "lib/settings", "repository": "https://github.com/v3ss0n/steam-pirate-ui", "engines": { - "atom": ">0.40.0" + "atom": "1.13.0 <2.0.0" } } diff --git a/styles/editor.less b/styles/editor.less index 79c47c9..92c1358 100644 --- a/styles/editor.less +++ b/styles/editor.less @@ -5,7 +5,7 @@ atom-text-editor[mini] { overflow: auto; } atom-text-editor, -:host{ +editor { background-color: @app-background-color; } @@ -14,7 +14,7 @@ atom-text-editor, background-color: transparent ; } atom-text-editor, -atom-text-editor::shadow { +atom-text-editor.editor { .scroll-view { background-color: @app-background-color !important ; @@ -40,7 +40,7 @@ atom-text-editor[mini] { padding-left: @ui-padding/2; &, - &::shadow { + &.editor { .placeholder-text { color: @text-color-subtle; } @@ -54,7 +54,7 @@ atom-text-editor[mini] { } &.is-focused, - &.is-focused::shadow { + &.is-focused.editor { .focus(); background-color: @input-background-color-focus; .selection .region { diff --git a/styles/packages.less b/styles/packages.less index 07723b9..c490670 100644 --- a/styles/packages.less +++ b/styles/packages.less @@ -121,7 +121,7 @@ background-clip: padding-box; } - atom-text-editor::shadow { + atom-text-editor.editor { .line.cursor-line { background-color: transparent; } @@ -173,4 +173,4 @@ atom-panel.termrk-panel .termrk-container{ } atom-panel .termrk .terminal { background-color: @app-background-color; -} \ No newline at end of file +}