diff --git a/.gitignore b/.gitignore index 1cc2ea4e8..c1e62bc38 100644 --- a/.gitignore +++ b/.gitignore @@ -36,6 +36,7 @@ runtime/pgAdmin4_resource.rc runtime/release/ runtime/ui_BrowserWindow.h web/config_local.py +web/pgadmin.themes.json web/geckodriver.log web/regression/test_config.json node_modules/ diff --git a/README b/README index e1045703d..f095c139c 100644 --- a/README +++ b/README @@ -219,6 +219,19 @@ can be used: C:\$PGADMIN4_SRC\web> yarn install C:\$PGADMIN4_SRC\web> yarn run bundle +Creating pgAdmin themes +----------------------- + +To create a pgAdmin theme, you need to create a directory under web/pgadmin/static/scss/resources. +Copy the sample file _theme.variables.scss.sample to the new directory and rename it to _theme.variables.scss. +Change the desired hexadecimal values of the colors and bundle pgAdmin. You can also add a preview image in the +theme directory with the name as