PageSourceSearch

https://biblewebapp.com/study-v2/js/docs/plugins.config.theme.js

js biblewebapp.com collected 2026-09-24 19:09:29 UTC 774 bytes, 31 lines download raw bytes

1/**
2 * Adds theme options to the config window
3 *
4 * @author John Dyer (http://j.hn/)
5 */
6
7
8docs.plugins.push({
9
10	init: function(docManager) {
11
12		var
13			// THEME colors
14			themeOptions = [
15				{name: 'Default'},
16				{name: 'Brown'},
17				{name: 'White'},
18				{name: 'Steel'},				
19			],
20			renderThemeOption = function(id, name) {
21				return 	'<label for="' + id + '" class="' + id + '" title="' + name + '">' +
22							'<span class="config-theme-' + name.toLowerCase() + '-demo1 theme-demo"></span><span class="config-theme-' + name.toLowerCase() + '-demo2 theme-demo"></span>' +
23						'</label>';
24			};
25			
26			
27		docManager.createOptionSet(docs.Localizer.get('plugin_config_option_theme'), 'theme', themeOptions, renderThemeOption);
28			
29	}
30	
31});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.