Update WFColorCode to 2.10.0

This commit is contained in:
1024jp 2024-01-25 22:20:59 +09:00
parent 9e9718b867
commit f631076046
13 changed files with 16 additions and 4 deletions

View File

@ -5,6 +5,7 @@
### Improvements
- Add “Hexadecimal with Alpha” format to the Color Code panel.
- Tweak the background color of the “Anura (Dark)” theme.

View File

@ -23,8 +23,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/1024jp/WFColorCode",
"state" : {
"revision" : "6179b7922aaeaf7476e709bac24f9afcc4f61a96",
"version" : "2.9.1"
"revision" : "f256e6b832184953e0e9a1846b7836fff8d37888",
"version" : "2.10.0"
}
},
{

View File

@ -8,7 +8,7 @@
//
// ---------------------------------------------------------------------------
//
// © 2014-2023 1024jp
// © 2014-2024 1024jp
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -228,7 +228,7 @@ private struct ColorCodePanelAccessory: View {
private extension ColorCodeType {
static let hexTypes: [Self] = [.hex, .shortHex]
static let hexTypes: [Self] = [.hex, .hexWithAlpha, .shortHex]
static let cssTypes: [Self] = [.cssRGB, .cssRGBa, .cssHSL, .cssHSLa, .cssKeyword]
@ -236,6 +236,7 @@ private extension ColorCodeType {
switch self {
case .hex: "Hexadecimal"
case .hexWithAlpha: "Hexadecimal with Alpha"
case .shortHex: "Hexadecimal (Short)"
case .cssRGB: "CSS RGB"
case .cssRGBa: "CSS RGBa"

View File

@ -590,6 +590,7 @@
"Color Code" = "Farbcode";
"Hexadecimal" = "Hexadezimal";
"Hexadecimal with Alpha" = "Hexadezimal mit Alpha";
"Hexadecimal (Short)" = "Hexadezimal (Kurz)";
"CSS RGB" = "CSS RGB";
"CSS RGBa" = "CSS RGBa";

View File

@ -589,6 +589,7 @@
"Color Code" = "Colour Code";
"Hexadecimal" = "Hexadecimal";
"Hexadecimal with Alpha" = "Hexadecimal with Alpha";
"Hexadecimal (Short)" = "Hexadecimal (Short)";
"CSS RGB" = "CSS RGB";
"CSS RGBa" = "CSS RGBa";

View File

@ -590,6 +590,7 @@
"Color Code" = "código de color";
"Hexadecimal" = "Hexadecimal";
"Hexadecimal with Alpha" = "Hexadecimal con alfa";
"Hexadecimal (Short)" = "Hexadecimal (corto)";
"CSS RGB" = "CSS RGB";
"CSS RGBa" = "CSS RGBa";

View File

@ -590,6 +590,7 @@
"Color Code" = "Code couleur";
"Hexadecimal" = "Hexa";
"Hexadecimal with Alpha" = "Hexadecimal avec Alpha";
"Hexadecimal (Short)" = "Hexa (Court)";
"CSS RGB" = "CSS RGB";
"CSS RGBa" = "CSS RGBa";

View File

@ -590,6 +590,7 @@
"Color Code" = "Codice colore";
"Hexadecimal" = "Esadecimale";
"Hexadecimal with Alpha" = "Hexadecimal con alpha";
"Hexadecimal (Short)" = "Esadecimale (Breve)";
"CSS RGB" = "CSS RGB";
"CSS RGBa" = "CSS RGBa";

View File

@ -590,6 +590,7 @@
"Color Code" = "カラーコード";
"Hexadecimal" = "16進数";
"Hexadecimal with Alpha" = "16進数アルファ値付き";
"Hexadecimal (Short)" = "16進数ショート";
"CSS RGB" = "CSS RGB";
"CSS RGBa" = "CSS RGBa";

View File

@ -590,6 +590,7 @@
"Color Code" = "código de Cor";
"Hexadecimal" = "Hexa";
"Hexadecimal with Alpha" = "Hexadecimal com Alfa";
"Hexadecimal (Short)" = "Hexa (Curto)";
"CSS RGB" = "RGB CSS";
"CSS RGBa" = "RGBa CSS";

View File

@ -590,6 +590,7 @@
"Color Code" = "Renk Kodu";
"Hexadecimal" = "Onaltılık";
"Hexadecimal with Alpha" = "Alfa ile Onaltılık";
"Hexadecimal (Short)" = "Onaltılık (Kısa)";
"CSS RGB" = "CSS RGB";
"CSS RGBa" = "CSS RGBa";

View File

@ -590,6 +590,7 @@
"Color Code" = "颜色码";
"Hexadecimal" = "十六进制";
"Hexadecimal with Alpha" = "含Alpha的十六进制";
"Hexadecimal (Short)" = "十六进制(短)";
"CSS RGB" = "CSS RGB";
"CSS RGBa" = "CSS RGBa";

View File

@ -590,6 +590,7 @@
"Color Code" = "顏色碼";
"Hexadecimal" = "十六進位";
"Hexadecimal with Alpha" = "帶有Alpha的十六進位";
"Hexadecimal (Short)" = "十六進位(短)";
"CSS RGB" = "CSS RGB";
"CSS RGBa" = "CSS RGBa";