Skip to content

Commit b95e40f

Browse files
authored
Merge pull request pterodactyl#2543 from pterodactyl/issue/2541
Fix white highlight hiding console text
2 parents b02a49f + 820d8f7 commit b95e40f

File tree

3 files changed

+36
-18
lines changed

3 files changed

+36
-18
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@
9393
"source-map-loader": "^1.0.1",
9494
"style-loader": "^1.2.1",
9595
"svg-url-loader": "^6.0.0",
96-
"tailwindcss": "^1.4.6",
96+
"tailwindcss": "^1.9.4",
9797
"terser-webpack-plugin": "^3.0.6",
98-
"twin.macro": "^1.4.1",
98+
"twin.macro": "^1.10.0",
9999
"typescript": "^3.9.6",
100100
"typescript-plugin-tw-template": "^2.0.1",
101101
"webpack": "^4.43.0",

resources/scripts/components/server/Console.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ import SpinnerOverlay from '@/components/elements/SpinnerOverlay';
77
import { ServerContext } from '@/state/server';
88
import styled from 'styled-components/macro';
99
import { usePermissions } from '@/plugins/usePermissions';
10-
import tw from 'twin.macro';
10+
import tw, { theme } from 'twin.macro';
1111
import 'xterm/css/xterm.css';
1212
import useEventListener from '@/plugins/useEventListener';
1313
import { debounce } from 'debounce';
1414

1515
const theme = {
16-
background: 'transparent',
16+
background: theme`colors.black`,
1717
cursor: 'transparent',
18-
black: '#000000',
18+
black: theme`colors.black`,
1919
red: '#E54B4B',
2020
green: '#9ECE58',
2121
yellow: '#FAED70',

yarn.lock

Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2174,7 +2174,7 @@ chalk@^2.0, chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2:
21742174
escape-string-regexp "^1.0.5"
21752175
supports-color "^5.3.0"
21762176

2177-
chalk@^4.0.0, chalk@^4.1.0:
2177+
"chalk@^3.0.0 || ^4.0.0", chalk@^4.0.0, chalk@^4.1.0:
21782178
version "4.1.0"
21792179
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a"
21802180
integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==
@@ -3937,6 +3937,11 @@ html-parse-stringify2@2.0.1:
39373937
dependencies:
39383938
void-elements "^2.0.1"
39393939

3940+
html-tags@^3.1.0:
3941+
version "3.1.0"
3942+
resolved "https://registry.yarnpkg.com/html-tags/-/html-tags-3.1.0.tgz#7b5e6f7e665e9fb41f30007ed9e0d41e97fb2140"
3943+
integrity sha512-1qYz89hW3lFDEazhjW0yVAV87lw8lVkrJocr72XmBkMKsoSVJCQx3W8BXsC7hO2qAt8BoVjYjtAcZ9perqGnNg==
3944+
39403945
http-deceiver@^1.2.7:
39413946
version "1.2.7"
39423947
resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87"
@@ -4610,7 +4615,7 @@ lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15:
46104615
version "4.17.15"
46114616
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
46124617

4613-
lodash@^4.17.19:
4618+
lodash@^4.17.19, lodash@^4.17.20:
46144619
version "4.17.20"
46154620
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
46164621
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==
@@ -5119,6 +5124,11 @@ object-copy@^0.1.0:
51195124
define-property "^0.2.5"
51205125
kind-of "^3.0.3"
51215126

5127+
object-hash@^2.0.3:
5128+
version "2.0.3"
5129+
resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-2.0.3.tgz#d12db044e03cd2ca3d77c0570d87225b02e1e6ea"
5130+
integrity sha512-JPKn0GMu+Fa3zt3Bmr66JhokJU5BaNBIh4ZeTlaCBzrBsOeXzwcKKAK1tbLiPKgvwmPXsDvvLHoWh5Bm7ofIYg==
5131+
51225132
object-inspect@^1.7.0:
51235133
version "1.8.0"
51245134
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.8.0.tgz#df807e5ecf53a609cc6bfe93eac3cc7be5b3a9d0"
@@ -5581,6 +5591,11 @@ postcss-value-parser@^4.0.0, postcss-value-parser@^4.0.2:
55815591
version "4.0.2"
55825592
resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.0.2.tgz#482282c09a42706d1fc9a069b73f44ec08391dc9"
55835593

5594+
postcss-value-parser@^4.1.0:
5595+
version "4.1.0"
5596+
resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz#443f6a20ced6481a2bda4fa8532a6e55d789a2cb"
5597+
integrity sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==
5598+
55845599
postcss@7.0.32, postcss@^7.0.27:
55855600
version "7.0.32"
55865601
resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.32.tgz#4310d6ee347053da3433db2be492883d62cec59d"
@@ -6840,27 +6855,30 @@ table@^5.2.3:
68406855
slice-ansi "^2.1.0"
68416856
string-width "^3.0.0"
68426857

6843-
tailwindcss@^1.4.4, tailwindcss@^1.4.6:
6844-
version "1.4.6"
6845-
resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-1.4.6.tgz#17b37166ccda08d7e7f9ca995ea48ce1e0089700"
6846-
integrity sha512-qV0qInUq1FWih39Bc5CWECdgObSzRrbjGD4ke4kAPSIq6WXrPhv0wwOcUWJgJ66ltT9j+XnSRYikG8WNRU/fTQ==
6858+
tailwindcss@^1.8.8, tailwindcss@^1.9.4:
6859+
version "1.9.4"
6860+
resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-1.9.4.tgz#5ae8ff84bc8234df22ba5f2c7feafb64bb14da55"
6861+
integrity sha512-CVeP4J1pDluBM/AF11JPku9Cx+VwQ6MbOcnlobnWVVZnq+xku8sa+XXmYzy/GvE08qD8w+OmpSdN21ZFPoVDRg==
68476862
dependencies:
68486863
"@fullhuman/postcss-purgecss" "^2.1.2"
68496864
autoprefixer "^9.4.5"
68506865
browserslist "^4.12.0"
68516866
bytes "^3.0.0"
6852-
chalk "^4.0.0"
6867+
chalk "^3.0.0 || ^4.0.0"
68536868
color "^3.1.2"
68546869
detective "^5.2.0"
68556870
fs-extra "^8.0.0"
6856-
lodash "^4.17.15"
6871+
html-tags "^3.1.0"
6872+
lodash "^4.17.20"
68576873
node-emoji "^1.8.1"
68586874
normalize.css "^8.0.1"
6875+
object-hash "^2.0.3"
68596876
postcss "^7.0.11"
68606877
postcss-functions "^3.0.0"
68616878
postcss-js "^2.0.0"
68626879
postcss-nested "^4.1.1"
68636880
postcss-selector-parser "^6.0.0"
6881+
postcss-value-parser "^4.1.0"
68646882
pretty-hrtime "^1.0.3"
68656883
reduce-css-calc "^2.1.6"
68666884
resolve "^1.14.2"
@@ -7063,10 +7081,10 @@ tty-browserify@0.0.0:
70637081
version "0.0.0"
70647082
resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6"
70657083

7066-
twin.macro@^1.4.1:
7067-
version "1.4.1"
7068-
resolved "https://registry.yarnpkg.com/twin.macro/-/twin.macro-1.4.1.tgz#48de95e52c34d068486610889a68d44c766bac1a"
7069-
integrity sha512-/hUXvyQepce26FvgfZmMl7IEgwxKy57te99FuECxeRUVjrX31A1F27lt+SSrtFNivoCN4Dk7FimUx5jqjth2jQ==
7084+
twin.macro@^1.10.0:
7085+
version "1.10.0"
7086+
resolved "https://registry.yarnpkg.com/twin.macro/-/twin.macro-1.10.0.tgz#b13d0934457d4cae54f1504a3a2ed744ed603960"
7087+
integrity sha512-+K9xvBvlx7iQ+CRatqNO/3VVV2+D+rbxexViKFtkjlICd+7A9hp5/8IOQ3SUPTQp80Ouist3Zcs/89quSLaoZg==
70707088
dependencies:
70717089
"@babel/parser" "^7.10.2"
70727090
babel-plugin-macros "^2.8.0"
@@ -7077,7 +7095,7 @@ twin.macro@^1.4.1:
70777095
dset "^2.0.1"
70787096
lodash.merge "^4.6.2"
70797097
string-similarity "^4.0.1"
7080-
tailwindcss "^1.4.4"
7098+
tailwindcss "^1.8.8"
70817099
timsort "^0.3.0"
70827100

70837101
type-check@^0.4.0, type-check@~0.4.0:

0 commit comments

Comments
 (0)