Skip to content

Commit

Permalink
Update web app out-of-gamut colour
Browse files Browse the repository at this point in the history
  • Loading branch information
waacton committed Apr 22, 2024
1 parent 7893641 commit b4a31d4
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Example.Web/App.razor
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@
outOfGamut = !currentColour.IsInDisplayGamut;

inGamutCss = Utils.ToCss(currentColour, 100);
outGamutCss = Utils.ToCss(currentColour, outOfGamut ? 100 : 50);
outGamutCss = Utils.ToCss(currentColour, outOfGamut ? 50 : 100);

var rgbString = conversionError ? "NaN" : currentColour.Rgb.ToString();
var hexString = outOfGamut ? "#------" : currentColour.Hex;
Expand Down
Binary file not shown.
Binary file modified docs/colour-picker/_framework/Wacton.Unicolour.Example.Web.wasm
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified docs/colour-picker/_framework/Wacton.Unicolour.pdb.gz
Binary file not shown.
Binary file modified docs/colour-picker/_framework/Wacton.Unicolour.wasm
Binary file not shown.
Binary file modified docs/colour-picker/_framework/Wacton.Unicolour.wasm.br
Binary file not shown.
Binary file modified docs/colour-picker/_framework/Wacton.Unicolour.wasm.gz
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/colour-picker/_framework/blazor.boot.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"mainAssemblyName": "Wacton.Unicolour.Example.Web",
"resources": {
"hash": "sha256-4XShKx3bEb8bfrJ4jEDbCA1xgMlfi/OW0spJXwQQrQw=",
"hash": "sha256-M1ghSzO/WFYo/MebyfYGiVCXw50+cHcWYIMkoyj5+MA=",
"jsModuleNative": {
"dotnet.native.8.0.3.ir284go4ny.js": "sha256-D4sYBYmDfH/YekgYRgX959/2RG6k28sJSHmcsn+iikk="
},
Expand Down Expand Up @@ -207,8 +207,8 @@
"System.Xml.XmlSerializer.wasm": "sha256-qu7VGSlaZOqgt5JZMsE/L8ilWK5lt4teZLY9QKCkJyY=",
"System.Xml.XPath.wasm": "sha256-tUNAS6Z4TprhskLHOnOya2pco3KDsCcBMfZ+htb0HBU=",
"System.Xml.XPath.XDocument.wasm": "sha256-+MKQ87TsMm829Otiz6wsdCFe0uZLksddhf2MXc9bIUk=",
"Wacton.Unicolour.Example.Web.wasm": "sha256-vszeHs4uP/8fOaQ0gvfiNDmKOgIewDQRHXFGQbg7aVE=",
"Wacton.Unicolour.wasm": "sha256-CXxgrwod/FbXYVGYObcZdraKtzYIBVq6eUyQtLWlJfw=",
"Wacton.Unicolour.Example.Web.wasm": "sha256-awFvaZ54TldbckD0tessb4IOGceDCUAG8w/MItmAdgw=",
"Wacton.Unicolour.wasm": "sha256-U9v+ZH5GWbmiPjYPMZG573LGU64F/GoI1QXNluLQhOU=",
"WindowsBase.wasm": "sha256-lcr0/6rzYJrl+fMl5kvdeCiSzrQwR47frxhGjlR++DI="
}
},
Expand Down
Binary file modified docs/colour-picker/_framework/blazor.boot.json.br
Binary file not shown.
Binary file modified docs/colour-picker/_framework/blazor.boot.json.gz
Binary file not shown.

0 comments on commit b4a31d4

Please sign in to comment.