Styling adjustments

This commit is contained in:
Aleksey Samoilov 2023-06-08 06:31:02 -04:00
parent 2839d7ede7
commit 23fb2ae2f6
10 changed files with 65 additions and 21 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

View file

@ -13,17 +13,17 @@ strings:
bootloaderEntryName: TileOS bootloaderEntryName: TileOS
images: images:
productLogo: "debian-logo.png" productLogo: "tileos-logo.png"
productIcon: "debian-logo.png" productIcon: "tileos-logo.png"
productWelcome: "welcome.png" productWelcome: "welcome.png"
# productWallpaper: "wallpaper.png" # productWallpaper: "wallpaper.png"
slideshow: "show.qml" slideshow: "show.qml"
style: style:
sidebarBackground: "#2c3133" sidebarBackground: "#1e2030"
sidebarText: "#FFFFFF" sidebarText: "#cad3f5"
sidebarTextSelect: "#4d7079" sidebarTextSelect: "#24273a"
sidebarTextSelect: "#292F34" sidebarTextSelect: "#24273a"
slideshowAPI: 2 slideshowAPI: 2

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

View file

@ -0,0 +1,46 @@
/*
A branding component can ship a stylesheet (like this one)
which is applied to parts of the Calamares user-interface.
In principle, all parts can be styled through CSS.
Missing parts should be filed as issues.
The IDs are based on the object names in the C++ code.
Documentation for styling Qt Widgets through a stylesheet
can be found at
https://doc.qt.io/qt-5/stylesheet-examples.html
In Calamares, styling widget classes is supported (e.g.
using `QComboBox` as a selector). You can also use specific
object names (ids), which you can find through debugging tools.
*/
/* Main application window. */
#mainApp {
}
/*-----QPushButton-----*/
QPushButton::flat {
background-color: transparent;
border: none;
color: #cad3f5;
}
/* Partitioning module.
#bootInfoIcon { }
#bootInfoLable { }
#deviceInfoIcon { }
#defineInfoLabel { }
#scrollAreaWidgetContents { }
#partitionBarView { }
*/
/* Licensing module.
#licenseItem { }
#licenseItemFullText { }
*/

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

View file

@ -6,6 +6,8 @@ showReleaseNotesUrl: true
requirements: requirements:
requiredStorage: 20 requiredStorage: 20
requiredRam: 1.0 requiredRam: 1.0
internetCheckUrl: https://google.com/
check: check:
- storage - storage
- ram - ram

View file

@ -31,6 +31,14 @@ disable-cancel: false
# YAML: boolean. # YAML: boolean.
disable-cancel-during-exec: false disable-cancel-during-exec: false
# If this is set to true, the "Next" and "Back" button will be hidden once
# you start the 'Installation'.
#
# Default is false, but Calamares will complain if this is not explicitly set.
#
# YAML: boolean.
hide-back-and-next-during-exec: false
# If this is set to true, then once the end of the sequence has # If this is set to true, then once the end of the sequence has
# been reached, the quit (done) button is clicked automatically # been reached, the quit (done) button is clicked automatically
# and Calamares will close. Default is false: the user will see # and Calamares will close. Default is false: the user will see

1
debian/install vendored
View file

@ -3,4 +3,3 @@ calamares-modules/* usr/lib/calamares/modules
scripts/* usr/sbin scripts/* usr/sbin
*.desktop usr/share/applications *.desktop usr/share/applications
install-tileos usr/bin install-tileos usr/bin
artwork/install-debian.png usr/share/pixmaps

View file

@ -1,15 +1,4 @@
#!/bin/sh #!/bin/sh
###
# Wrapper for running calamares on Debian live media
###
# Stale file left behind by live-build that messes with partitioning # Set GTK2 Qt plugin for Calamares. This fixes styling issues with dark Qt theme
sudo mv /etc/fstab /etc/fstab.orig.calamares QT_QPA_PLATFORMTHEME=gtk2 sudo -E calamares -d
# Access control to run calamares as root for xwayland
xhost +si:localuser:root
pkexec calamares -d -style Fusion
xhost -si:localuser:root
# Restore stale fstab, for what it's worth
sudo mv /etc/fstab.orig.calamares /etc/fstab

View file

@ -6,7 +6,7 @@ GenericName=Calamares Installer
Exec=install-tileos Exec=install-tileos
Comment=Calamares Installer for TileOS Comment=Calamares Installer for TileOS
Keywords=calamares;system;install;debian;installer Keywords=calamares;system;install;debian;installer
Icon=install-debian Icon=calamares
Terminal=false Terminal=false
Categories=Qt;System; Categories=Qt;System;
StartupWMClass=calamares StartupWMClass=calamares