NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

[SOGo] Fix comments in custom theme

4975e4ca
andryyy <[email protected]> 5 years ago
data/conf/sogo/custom-theme.js | 62 ++++--------------------------------------
 1 file changed, 5 insertions(+), 57 deletions(-)

Diff

diff --git a/data/conf/sogo/custom-theme.js b/data/conf/sogo/custom-theme.js
index a2107dec..0df50677 100644
--- a/data/conf/sogo/custom-theme.js
+++ b/data/conf/sogo/custom-theme.js
@@ -1,88 +1,36 @@
 /* EXAMPLE - EXAMPLE - EXAMPLE - EXAMPLE - EXAMPLE - EXAMPLE - EXAMPLE
-
 (function() {
   'use strict';
-
   angular.module('SOGo.Common')
     .config(configure)
 
-  /**
-   * @ngInject
-   */
   configure.$inject = ['$mdThemingProvider'];
   function configure($mdThemingProvider) {
-
-    /**
-     * The SOGo palettes are defined in js/Common/Common.app.js:
-     *
-     * - sogo-green
-     * - sogo-blue
-     * - sogo-grey
-     *
-     * The Material palettes are also available:
-     *
-     * - red
-     * - pink
-     * - purple
-     * - deep-purple
-     * - indigo
-     * - blue
-     * - light-blue
-     * - cyan
-     * - teal
-     * - green
-     * - light-green
-     * - lime
-     * - yellow
-     * - amber
-     * - orange
-     * - deep-orange
-     * - brown
-     * - grey
-     * - blue-grey
-     *
-     * See https://material.angularjs.org/latest/Theming/01_introduction
-     * and https://material.io/archive/guidelines/style/color.html#color-color-palette
-     *
-     * You can also define your own palettes. See js/Common/Common.app.js.
-     */
-
-    // Create new background palette from grey palette
     var greyMap = $mdThemingProvider.extendPalette('grey', {
-      // background color of sidebar selected item,
-      // background color of right panel,
-      // background color of menus (autocomplete and contextual menus)
       '200': 'F5F5F5',
-      // background color of sidebar
       '300': 'E5E5E5',
-       // background color of the busy periods of the attendees editor
       '1000': '4C566A'
     });
     var greenCow = $mdThemingProvider.extendPalette('green', {
       '600': 'E5E5E5'
     });
-
     $mdThemingProvider.definePalette('frost-grey', greyMap);
     $mdThemingProvider.definePalette('green-cow', greenCow);
-
-    // Apply new palettes to the default theme, remap some of the hues
     $mdThemingProvider.theme('default')
       .primaryPalette('green-cow', {
-        'default': '400',  // background color of top toolbars
+        'default': '400',
         'hue-1': '400',
-        'hue-2': '600',    // background color of sidebar toolbar
+        'hue-2': '600',
         'hue-3': 'A700'
       })
       .accentPalette('green', {
-        'default': '600',  // background color of fab buttons
-        'hue-1': '300',    // background color of center list toolbar
+        'default': '600',
+        'hue-1': '300',
         'hue-2': '300',
         'hue-3': 'A700'
       })
       .backgroundPalette('frost-grey');
-
     $mdThemingProvider.generateThemesOnDemand(false);
   }
 })();
-
-*/
+ */
\ No newline at end of file