libs/ngx-cookieconsent/src/lib/model/palette-options.ts
Palette Options
Colours can be defined in additional stylesheets or using attributes.
Properties |
Optional button |
Type : NgcPalette
|
Default value : { background: 'transparent', border: '#f8e71c', text: '#f8e71c' }
|
Optional highlight |
Type : NgcPalette
|
Default value : { background: '#f8e71c', border: '#f8e71c', text: '#000000' }
|
Optional popup |
Type : NgcPalette
|
Default value : { background: '#000000', text: '#fff', link: '#fff' }
|
import { NgcPalette } from './common-interfaces';
/**
* Palette Options
*
* Colours can be defined in additional stylesheets or using attributes.
*/
export class NgcPaletteOptions {
popup?: NgcPalette = { background: '#000000', text: '#fff', link: '#fff' };
button?: NgcPalette = { background: 'transparent', border: '#f8e71c', text: '#f8e71c' };
highlight?: NgcPalette = { background: '#f8e71c', border: '#f8e71c', text: '#000000' };
}