Update plymouth theme to support smaller displays
This commit is contained in:
parent
50292a3b73
commit
c47e062f68
BIN
share/plymouth/themes/kali/kali-logo-container_small.png
Normal file
BIN
share/plymouth/themes/kali/kali-logo-container_small.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.4 KiB |
BIN
share/plymouth/themes/kali/kali-logo-fade_small.png
Normal file
BIN
share/plymouth/themes/kali/kali-logo-fade_small.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
BIN
share/plymouth/themes/kali/kali-logo_small.png
Normal file
BIN
share/plymouth/themes/kali/kali-logo_small.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.3 KiB |
@ -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.
|
||||
|
||||
BIN
share/plymouth/themes/kali/outline_small.png
Normal file
BIN
share/plymouth/themes/kali/outline_small.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.0 KiB |
BIN
share/plymouth/themes/kali/password-dot_small.png
Normal file
BIN
share/plymouth/themes/kali/password-dot_small.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 531 B |
BIN
share/plymouth/themes/kali/password-field_small.png
Normal file
BIN
share/plymouth/themes/kali/password-field_small.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 716 B |
Loading…
x
Reference in New Issue
Block a user