The only icons in hicolor here are pattern-* for yast-packager. Other icons are shipped with the module that uses them.
Oxygen and Crystal themes are still shipped, but pretty much deprecated due to lack of maintenance.
This is the fancy YaST theme used in the Qt installation workflow.
The openSUSE/wizard
counterpart to SLE/wizard
lives
in the yast
directory of the openSUSE branding repository.
All icons will be stored in /usr/share/icons/.
/usr/share/icons/hicolor
/usr/share/icons/oxygen
/usr/share/icons/breeze
/usr/share/icons/breeze-dark
The SLE (SUSE Linux Enterprise) installation theme files are built from the
*.scss
sources in the src/
subdirectory. If you change any of the source
files then regenerate the files (see below) and commit the changes to Git
as well.
The Git repository contains the generated files to simplify the package build and testing the changes in a real installation.
- Install npm:
sudo zypper install npm-default
- Go to the
src/
subdirectory. - Install the SASS processor and the tools:
npm ci
- The NPM packages are installed into the
node_modules
subdirectory
- The NPM packages are installed into the
- Run
rake generate
- This generates all
theme/SLE/wizard/*.qss
andtheme/SLE/wizard/*.css
files.
The npm ci
command installs the NPM packages exactly in the versions specified
in the package-lock.json
file.
If you want to update the packages to the latest semver compatible version then
run command npm install
.
If you want to update the packages to a newer, possibly incompatible version,
then edit the package.json
file and run npm install
. Carefully check the
built result.
In all cases do not forget to commit the changes in both package.json
and
package-lock.json
files to git.
src/scss/components/*.scss
- style definition split into logical groupssrc/scss/theme-vars/*.scss
- color definitions for each theme, some shared settingssrc/scss/*.scss
- the main files, these are rendered to the final QSS files
This package uses the Stylelint tool for linting with the stylelint-config-standard-scss default configuration.
Because the Qt style sheet supports only a subset of the CSS features and some
values or settings are a bit different than in full CSS some checks were disabled
or the settings were adjusted. See the src/.stylelintrc.yml
configuration
file.
You can find the descriptions of the Stylelint rules in the documentation.
- Run
npx gulp lint
to start the linter. - This will check whether the files are valid and well formatted.
The Rakefile
has been adapted to support the yupdate
tool, that allows
patching the installer directly from GitHub or from a local Git checkout (see
the documentation).
Do not forget to regenerate the theme files if you touch any *.scss
source file!