Skip to content

Commit

Permalink
update special colors
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhahnweilheim committed Dec 12, 2023
1 parent 2f7dce3 commit 7b6b4a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion models/ColorSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ class ColorSettings extends \yii\base\Model
public $background4;

// Special colors which were generated by Less functions lighten(), darken() or fade()
const SPECIAL_COLORS = ['background_color_page__darken__5','background_color_page__darken__8','background_color_page__lighten__3','background_color_secondary__darken__5','danger__darken__10','danger__darken__5','danger__lighten__20','danger__lighten__5','default__darken__2','default__darken__5','default__lighten__2','info__darken__10','info__darken__5','info__lighten__25','info__lighten__30','info__lighten__40','info__lighten__45','info__lighten__5','info__lighten__50','info__lighten__8','link__darken__2','link__fade__60','link__lighten__5','primary__darken__10','primary__darken__5','primary__lighten__10','primary__lighten__20','primary__lighten__25','primary__lighten__5','primary__lighten__8','success__darken__10','success__darken__5','success__lighten__5','text_color_secondary__lighten__25','warning__darken__10','warning__darken__2','warning__darken__5','warning__lighten__10','warning__lighten__20','warning__lighten__40','warning__lighten__5',];
const SPECIAL_COLORS = ['background_color_page__darken__5','background_color_page__darken__8','background_color_page__lighten__3','background_color_secondary__darken__5','color__darken__10','color__lighten__20','danger__darken__10','danger__darken__5','danger__lighten__20','danger__lighten__5','default__darken__2','default__darken__5','default__lighten__2','info__darken__10','info__darken__5','info__lighten__25','info__lighten__30','info__lighten__40','info__lighten__45','info__lighten__5','info__lighten__50','info__lighten__8','link__darken__2','link__fade__60','link__lighten__5','primary__darken__10','primary__darken__5','primary__lighten__10','primary__lighten__20','primary__lighten__25','primary__lighten__5','primary__lighten__8','success__darken__10','success__darken__5','success__lighten__20','success__lighten__5','text_color_secondary__lighten__25','warning__darken__10','warning__darken__2','warning__darken__5','warning__lighten__10','warning__lighten__20','warning__lighten__40','warning__lighten__5',];

public $background_color_page__darken__5;
public $background_color_page__darken__8;
public $background_color_page__lighten__3;
public $background_color_secondary__darken__5;
public $color__darken__10;
public $color__lighten__20;
public $danger__darken__10;
public $danger__darken__5;
public $danger__lighten__20;
Expand Down Expand Up @@ -79,6 +81,7 @@ class ColorSettings extends \yii\base\Model
public $primary__lighten__8;
public $success__darken__10;
public $success__darken__5;
public $success__lighten__20;
public $success__lighten__5;
public $text_color_secondary__lighten__25;
public $warning__darken__10;
Expand Down

0 comments on commit 7b6b4a4

Please sign in to comment.