camaleon-8.x-1.x-dev/color/color.inc
color/color.inc
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | <?php /** * @file * Lists available colors and color schemes for the Bartik theme. */ $info = [ // Available colors and color labels used in theme. 'fields' => [ 'top' => t( 'Header background top' ), 'bottom' => t( 'Header background bottom' ), 'breadcrumb' => t( 'Breadcrumb background' ), 'bg' => t( 'Main background' ), 'sidebar' => t( 'Sidebar background' ), 'sidebarborders' => t( 'Sidebar borders' ), 'footer' => t( 'Footer background' ), 'titleslogan' => t( 'Title and slogan' ), 'text' => t( 'Text color' ), 'link' => t( 'Link color' ), ], // Pre-defined color schemes. 'schemes' => [ 'default' => [ 'title' => t( 'Blue Lagoon (default)' ), 'colors' => [ 'top' => '#055a8e' , 'bottom' => '#1d84c3' , 'breadcrumb' => '#cccccc' , 'bg' => '#ffffff' , 'sidebar' => '#f6f6f2' , 'sidebarborders' => '#f9f9f9' , 'footer' => '#292929' , 'titleslogan' => '#fffeff' , 'text' => '#3b3b3b' , 'link' => '#0071b3' , ], ], 'firehouse' => [ 'title' => t( 'Firehouse' ), 'colors' => [ 'top' => '#cd2d2d' , 'bottom' => '#d64e4e' , 'breadcrumb' => '#cccccc' , 'bg' => '#ffffff' , 'sidebar' => '#f1f4f0' , 'sidebarborders' => '#ededed' , 'footer' => '#1f1d1c' , 'titleslogan' => '#fffeff' , 'text' => '#888888' , 'link' => '#d6121f' , ], ], ], // CSS files (excluding @import) to rewrite with new color scheme. 'css' => [ 'stylesheets/color.css' , ], // Files to copy. 'copy' => [ 'logo.svg' , ], // Gradient definitions. 'gradients' => [ [ // (x, y, width, height). 'dimension' => [0, 0, 0, 0], // Direction of gradient ('vertical' or 'horizontal'). 'direction' => 'vertical' , // Keys of colors to use for the gradient. 'colors' => [ 'top' , 'bottom' ], ], ], // Preview files. 'preview_library' => 'camaleon/color.preview' , 'preview_html' => 'color/preview.html' , // Attachments. '#attached' => [ 'drupalSettings' => [ 'color' => [ // Put the logo path into JavaScript for the live preview. 'logo' => theme_get_setting( 'logo.url' , 'camaleon' ), ], ], ], ]; |