@@ -2799,6 +2799,50 @@ var control = (function() {
27992799 render . range . count ( this ) ;
28002800 render . update ( ) ;
28012801 }
2802+ } , {
2803+ element : helper . e ( ".control-theme-color-contrast-light" ) ,
2804+ path : "theme.color.contrast.light" ,
2805+ type : "range" ,
2806+ valueMod : [ "float" ] ,
2807+ rangeCountElement : helper . e ( ".control-theme-color-contrast-light-count" ) ,
2808+ func : function ( ) {
2809+ theme . render . color . shade ( ) ;
2810+ render . range . count ( this ) ;
2811+ render . update ( ) ;
2812+ }
2813+ } , {
2814+ element : helper . e ( ".control-theme-color-contrast-light-default" ) ,
2815+ type : "button" ,
2816+ func : function ( ) {
2817+ mod . setValue ( "theme.color.contrast.light" , helper . getObject ( {
2818+ object : state . get . default ( ) ,
2819+ path : "theme.color.contrast.light"
2820+ } ) ) ;
2821+ theme . render . color . shade ( ) ;
2822+ render . update ( ) ;
2823+ }
2824+ } , {
2825+ element : helper . e ( ".control-theme-color-contrast-dark" ) ,
2826+ path : "theme.color.contrast.dark" ,
2827+ type : "range" ,
2828+ valueMod : [ "float" ] ,
2829+ rangeCountElement : helper . e ( ".control-theme-color-contrast-dark-count" ) ,
2830+ func : function ( ) {
2831+ theme . render . color . shade ( ) ;
2832+ render . range . count ( this ) ;
2833+ render . update ( ) ;
2834+ }
2835+ } , {
2836+ element : helper . e ( ".control-theme-color-contrast-dark-default" ) ,
2837+ type : "button" ,
2838+ func : function ( ) {
2839+ mod . setValue ( "theme.color.contrast.dark" , helper . getObject ( {
2840+ object : state . get . default ( ) ,
2841+ path : "theme.color.contrast.dark"
2842+ } ) ) ;
2843+ theme . render . color . shade ( ) ;
2844+ render . update ( ) ;
2845+ }
28022846 } , {
28032847 element : helper . e ( ".control-theme-accent-current-picker" ) ,
28042848 path : "theme.accent.current" ,
0 commit comments