|
1 | 1 | /**
|
2 | 2 | * Provides access to the add-ons preferences.
|
3 | 3 | *
|
4 |
| - * Copyright (c) 2020-2023 Philippe Lieser |
| 4 | + * Copyright (c) 2020-2023;2025 Philippe Lieser |
5 | 5 | *
|
6 | 6 | * This software is licensed under the terms of the MIT License.
|
7 | 7 | *
|
@@ -420,19 +420,19 @@ export class BasePreferences {
|
420 | 420 | return this.#tryGetStringValue("color.success.text", "windowtext");
|
421 | 421 | }
|
422 | 422 | get "color.success.background"() {
|
423 |
| - return this.#tryGetStringValue("color.success.background", "#00FF00"); |
| 423 | + return this.#tryGetStringValue("color.success.background", "rgba(0,255,0,0.5)"); |
424 | 424 | }
|
425 | 425 | get "color.warning.text"() {
|
426 | 426 | return this.#tryGetStringValue("color.warning.text", "windowtext");
|
427 | 427 | }
|
428 | 428 | get "color.warning.background"() {
|
429 |
| - return this.#tryGetStringValue("color.warning.background", "orange"); |
| 429 | + return this.#tryGetStringValue("color.warning.background", "rgba(255,150,0,0.5)"); |
430 | 430 | }
|
431 | 431 | get "color.permfail.text"() {
|
432 | 432 | return this.#tryGetStringValue("color.permfail.text", "windowtext");
|
433 | 433 | }
|
434 | 434 | get "color.permfail.background"() {
|
435 |
| - return this.#tryGetStringValue("color.permfail.background", "red"); |
| 435 | + return this.#tryGetStringValue("color.permfail.background", "rgba(255,0,0,0.5)"); |
436 | 436 | }
|
437 | 437 | get "color.tempfail.text"() {
|
438 | 438 | return this.#tryGetStringValue("color.tempfail.text", "unset");
|
|
0 commit comments