Skip to content

Commit

Permalink
🍱 (llm): CLS assets
Browse files Browse the repository at this point in the history
  • Loading branch information
jdabbech-ledger committed Jul 11, 2024
1 parent eab8c24 commit fb5b426
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export type FramedPictureConfig = {
* (the screen border is curved on the top right and bottom right corner)
*/
borderRightRadius: number;
borderLeftRadius?: number;
/**
* Source of the background picture representing a Ledger Stax
* */
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import staxTransferBackground from "./assets/transferBackground.png";
import staxPreviewBackground from "./assets/previewBackground.png";
import staxTransferBackground from "./assets/staxTransferBackground.png";
import staxPreviewBackground from "./assets/staxPreviewBackground.png";
import europaTransferBackground from "./assets/europaTransferBackground.png";
import europaPreviewBackground from "./assets/europaPreviewBackground.png";
import { FramedPictureConfig } from "./FramedPicture";
import { CLSSupportedDeviceModelId } from "@ledgerhq/live-common/device/use-cases/isCustomLockScreenSupported";

Expand Down Expand Up @@ -27,7 +29,7 @@ const europaTransferConfig: FramedPictureConfig = {
innerTop: 24, // TODO: TBD
borderRightRadius: 24, // TODO: TBD
resizeMode: "cover", // TODO: TBD
backgroundSource: staxTransferBackground, // TODO: replace by europaTransferBackground
backgroundSource: europaTransferBackground, // TODO: replace by europaTransferBackground
leftPaddingColor: "#272727", // TBD
};

Expand All @@ -40,7 +42,7 @@ const staxPreviewConfig: FramedPictureConfig = {
innerRight: 35,
innerTop: 38,
borderRightRadius: 57,
backgroundSource: staxPreviewBackground,
backgroundSource: europaPreviewBackground,
resizeMode: "cover",
};

Expand Down

0 comments on commit fb5b426

Please sign in to comment.