No description
Find a file
Nextcloud bot 56311940d1
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-03-14 02:21:59 +00:00
.github/workflows chore(CI): Updating pr-feedback.yml workflow from template 2025-02-04 18:53:59 +00:00
.tx [tx-robot] Update transifex configuration 2022-10-01 03:15:37 +00:00
appinfo chore: Prepare 1.20.0 2026-03-03 22:29:46 +01:00
css Initial commit 2017-04-29 10:48:50 +02:00
img Initial commit 2017-04-29 10:48:50 +02:00
js Initial commit 2017-04-29 10:48:50 +02:00
l10n fix(l10n): Update translations from Transifex 2026-03-14 02:21:59 +00:00
lib fix(controller): Don't require finished 2fa on existing public route 2024-09-25 10:18:50 -04:00
templates Fix text string for button 2021-11-03 22:37:17 +01:00
tests Initial commit 2017-04-29 10:48:50 +02:00
.gitignore Add krankerl.toml and gitignore 2018-08-03 16:35:16 +02:00
.nextcloudignore Update krankerl config 2020-05-22 07:55:30 +02:00
CHANGELOG.md chore: Prepare 1.20.0 2026-03-03 22:29:46 +01:00
krankerl.toml Update krankerl config 2020-05-22 07:55:30 +02:00
phpunit.xml Initial commit 2017-04-29 10:48:50 +02:00
README.md Update README.md - change formatting (content unchanged) 2026-03-05 16:47:01 +01:00
screenshot.png Add screenshot 2017-04-29 11:01:51 +02:00

Custom CSS: customize your CSS to better fit your Theming needs

Allow admins to add custom CSS to their Nextcloud instance from inside the Theming settings.

Use theming color values

Admin can use CSS custom properties to make use of the variables that are available from the default.css variables file file:

Example:

#element {
  color: var(--color-primary);
}

How can I recover if my customized CSS code has broken the user interface?

The css configuration is stored in the app config database table, but you can use the occ config:app:* commands to obtain, modify or reset it as well. e.g.

occ config:app:get theming_customcss customcss
occ config:app:set theming_customcss customcss --value "body { background-color: red; }"
occ config:app:delete theming_customcss customcss

Usage via occ command

Examples:

occ config:app:get theming_customcss customcss
occ config:app:set theming_customcss customcss --value "body { background-color: red; }"
occ config:app:delete theming_customcss customcss

Note:

  • If your CSS contains single or double quotes, make sure they are properly escaped so the shell does not break the command.
occ config:app:set theming_customcss customcss --value '.app-navigation-personal li[data-section-id="workflow"] { display:none } '