@@ -2530,16 +2530,16 @@ var control = (function(){
25302530render . class ( ) ;
25312531}
25322532} , {
2533- element : helper . e ( ".control-link-item-color-by -picker" ) ,
2534- path : "link.item.color.custom " ,
2533+ element : helper . e ( ".control-link-item-color-rgb -picker" ) ,
2534+ path : "link.item.color.rgb " ,
25352535type : "color" ,
25362536func : function ( ) {
25372537link . render . item . color . custom ( ) ;
25382538link . render . input . hex ( ) ;
25392539}
25402540} , {
2541- element : helper . e ( ".control-link-item-color-by -hex" ) ,
2542- path : "link.item.color.custom " ,
2541+ element : helper . e ( ".control-link-item-color-rgb -hex" ) ,
2542+ path : "link.item.color.rgb " ,
25432543type : "text" ,
25442544valueMod : [ "hexTextString" ] ,
25452545func : function ( ) {
@@ -3151,16 +3151,16 @@ var control = (function(){
31513151render . class ( ) ;
31523152}
31533153} , {
3154- element : helper . e ( ".control-background-color-by- picker" ) ,
3155- path : "background.color.custom " ,
3154+ element : helper . e ( ".control-background-color-picker" ) ,
3155+ path : "background.color.rgb " ,
31563156type : "color" ,
31573157func : function ( ) {
31583158background . render . color . custom ( ) ;
31593159background . render . input . hex ( ) ;
31603160}
31613161} , {
3162- element : helper . e ( ".control-background-color-by- hex" ) ,
3163- path : "background.color.custom " ,
3162+ element : helper . e ( ".control-background-color-hex" ) ,
3163+ path : "background.color.rgb " ,
31643164type : "text" ,
31653165valueMod : [ "hexTextString" ] ,
31663166func : function ( ) {
@@ -4173,8 +4173,8 @@ var control = (function(){
41734173_disable . element ( ".control-link-item-color-by-theme-helper" , true ) ;
41744174_disable . input ( ".control-link-item-color-by-custom" , true ) ;
41754175_disable . element ( ".control-link-item-color-by-custom-helper" , true ) ;
4176- _disable . input ( ".control-link-item-color-by -picker" , true ) ;
4177- _disable . input ( ".control-link-item-color-by -hex" , true ) ;
4176+ _disable . input ( ".control-link-item-color-rgb -picker" , true ) ;
4177+ _disable . input ( ".control-link-item-color-rgb -hex" , true ) ;
41784178_disable . element ( "[for=control-link-item-border]" , true ) ;
41794179_disable . input ( ".control-link-item-border" , true ) ;
41804180_disable . element ( ".control-link-item-border-count" , true ) ;
@@ -4295,8 +4295,8 @@ var control = (function(){
42954295_disable . input ( ".control-link-item-display-gutter-default" , false ) ;
42964296} ;
42974297if ( state . get . current ( ) . link . item . color . by == "custom" ) {
4298- _disable . input ( ".control-link-item-color-by -picker" , false ) ;
4299- _disable . input ( ".control-link-item-color-by -hex" , false ) ;
4298+ _disable . input ( ".control-link-item-color-rgb -picker" , false ) ;
4299+ _disable . input ( ".control-link-item-color-rgb -hex" , false ) ;
43004300} ;
43014301} ;
43024302} ;
@@ -4387,11 +4387,11 @@ var control = (function(){
43874387_disable . element ( ".control-background-image-url-helper" , true ) ;
43884388} ;
43894389if ( state . get . current ( ) . background . color . by == "theme" ) {
4390- _disable . input ( ".control-background-color-by- picker" , true ) ;
4391- _disable . input ( ".control-background-color-by- hex" , true ) ;
4390+ _disable . input ( ".control-background-color-picker" , true ) ;
4391+ _disable . input ( ".control-background-color-hex" , true ) ;
43924392} else if ( state . get . current ( ) . background . color . by == "custom" ) {
4393- _disable . input ( ".control-background-color-by- picker" , false ) ;
4394- _disable . input ( ".control-background-color-by- hex" , false ) ;
4393+ _disable . input ( ".control-background-color-picker" , false ) ;
4394+ _disable . input ( ".control-background-color-hex" , false ) ;
43954395} ;
43964396} ;
43974397_header ( ) ;
0 commit comments