sudo apt-get install --yes nodejs
1.) go to https://github.com/coreybutler/nvm-windows/releases and download nvm-setup.exe
2.) install NVM (Node version manager for Windows) on Windows via installation file
3.) restart windows before next step
4.) install the latest Node.js via NVM version
nvm install lts
5.) list all the installed node versions with
nvm list
6.) specify the node version you would like to use e.g. 18.16.0
nvm use 20.10.0
-
change the package.json to the new fomantic ui version
-
change the semantic.json to the new fomantic ui version
-
check if the needed node version is installed on your pc with 'nvm current'
-
go to the folder 'files\frontend'
npm install --ignore-scripts fomantic-ui npm update cd node_modules/fomantic-ui npx gulp install
npm install -g gulp
- only the themes 'default' and 'wekb' should remain in 'files/frontend/semantic/src/themes'
- add them to git repository
-
go to folder 'frontend\semantic'
gulp build
Our custom themes and the default theme override the *.less in 'src/definitions'. The folder 'src/side' is not used yet.
- we got the themes 'laser' and 'accessibility'
- all changes in css we make by changing inside the theme!
- the original semantic ui file for gulp bilding 'app/semantic/tasks/build.js' is changed in order to build two themes at the same time (laser & accessibility)
- meanwile the gulp build process temp files are builded and moved around
I would like to change the padding between an icon and content in a list
1.) find the variable in default theme. In this case there
src/themes/default/elements/list.variables
2.) create the list.variables in the laser theme folder
src/themes/laser/elements/list.variables
3.) change the specifig variable only there
4.) Change the theme.config
/files/frontend/semantic/src/definitions/themes/laser/theme.config
/files/frontend/semantic/src/definitions/themes/accessibility/theme.config
old:
@list : 'default';
new:
@list : 'laser';
5.) Build css
cd semantic
gulp build