Update plymouth theme to support smaller displays

This commit is contained in:
Daniel Ruiz de Alegría 2022-11-15 12:46:09 +01:00
parent 50292a3b73
commit c47e062f68
No known key found for this signature in database
GPG Key ID: 59667A77E8BFCB6C
7 changed files with 8 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

@ -18,6 +18,14 @@ outline.image = Image("outline.png");
fade.image = Image("kali-logo-fade.png");
passwordDot.image = Image("password-dot.png");
if (Window.GetHeight() < 800) {
container.image = Image("kali-logo-container_small.png");
logo.image = Image("kali-logo_small.png");
outline.image = Image("outline_small.png");
fade.image = Image("kali-logo-fade_small.png");
passwordDot.image = Image("password-dot_small.png");
}
// Kali logo can't be aligned by its natural center but by the circle center
// formed inside its body curve. This can be easily calculated by the offset
// ratio defined before.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 531 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 716 B