No description
Find a file
2024-05-27 09:25:23 +02:00
custom.css Update custom.css 2024-05-27 09:25:23 +02:00
custom.min.css Added possibility of another login image, fix on centering icon and fix in preview hd color 2022-06-01 23:52:10 -03:00
LICENSE Create LICENSE 2021-12-19 06:38:11 +01:00
README.md Update README.md 2022-01-04 23:16:14 +01:00

Modern

Alternative dark theme for https://github.com/filebrowser/filebrowser/

Main window

Settings

Usage

Local:

Copy the contents of custom.css or custom.min.css to your own custom.css file.

You can read about the File-Browser custom.css customization here.

CDN:

Add the following to your custom.css file:

@import url("https://cdn.jsdelivr.net/gh/Teraskull/file-browser-modern-theme@master/custom.min.css");

Customizing

Icons

Because the icon replacements rely on aria-label, most of the new icons are only visible when English language is selected.

To use the default icons, remove the styles between the following comments at the end of custom.css:

/* ############### ICON THEME ############### */

/* ############### END ICON THEME ############### */

Editor theme

  1. Copy the contents of any CSS theme from https://github.com/ajaxorg/ace/blob/master/lib/ace/theme/.
  2. Replace all instances of the theme class name with .ace-twilight.

For example, if you copy the nord-dark theme, replace all .ace-nord-dark classes with .ace-twilight.

  1. Paste the replaced contents between the following comments:
/* ############### EDITOR THEME ############### */

/* ############### END EDITOR THEME ############### */

License

Distributed under the AGPL-3.0 License. See LICENSE for more information.