You may install pnpm even if you don't have Node.js installed, using the following scripts.
Using PowerShell:
Code Block | ||||
---|---|---|---|---|
| ||||
iwr https://get.pnpm.io/install.ps1 -useb | iex |
Code Block | ||||
---|---|---|---|---|
| ||||
curl -fsSL https://get.pnpm.io/install.sh | sh - |
If you don't have curl installed, you would like to use wget:
Code Block | ||||
---|---|---|---|---|
| ||||
wget -qO- https://get.pnpm.io/install.sh | sh - |
Code Block | ||||
---|---|---|---|---|
| ||||
# bash wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash - # sh wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.shrc" SHELL="$(which sh)" sh - # dash wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.dashrc" SHELL="$(which dash)" dash - |
Code Block | ||||
---|---|---|---|---|
| ||||
npm install -g pnpm |
If you have the package manager installed, you can install pnpm using the following command:
Code Block | ||||
---|---|---|---|---|
| ||||
brew install pnpm |
Now install the dependencies from package.json by executing the following pnpm
Code Block | ||||
---|---|---|---|---|
| ||||
pnpm install |
Note |
---|
You can do the same thing with NPM, but we highly recommend using PNPM, mostly because of the non-flat node_modules directory, which prevents version collision |
Search UI is using the MUI Theme provider to specify the color of the components, darkness of the surfaces, level of shadow, appropriate opacity of ink elements, etc. You can learn more in Theming from MUI
Currently, Search UI implements a light and dark theme, locates on src/themes