diff --git a/docs/README.md b/docs/README.md index a9aa0ec..f6532ac 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,4 +1,4 @@ # Navigation updates - Added the **Units Ordered** nav button beneath **Units Shipped** on every Sales canvas so the new sales dashboard route is reachable from Capacity Planning, Units Ordered, and Units Shipped. -- Each page now hardcodes the appropriate nav button to `appsmith.theme.colors.primaryColor` and keeps the others at `appsmith.theme.colors.backgroundColor`, guaranteeing only the current canvas renders with the darker highlight without referencing `appsmith.page`. +- Each page now hardcodes the highlighted button to `appsmith.theme.colors.backgroundColor` (what used to be the default background) and keeps the inactive buttons at `#ffffff`, so the active canvas still renders distinctly without referencing `appsmith.page`. diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button1.json b/pages/Sales - Capacity Planning/widgets/Container1/Button1.json index e10b3ae..9bbd73e 100644 --- a/pages/Sales - Capacity Planning/widgets/Container1/Button1.json +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button1.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 8, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json index cd60901..bd9dfd8 100644 --- a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json @@ -3,14 +3,10 @@ "borderRadius": "0.375rem", "bottomRow": 12, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonColor": "#ffffff", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - } - ], + "dynamicBindingPathList": [], "dynamicTriggerPathList": [ { "key": "onClick" diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json index cb12b58..cb4ef44 100644 --- a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json @@ -3,14 +3,10 @@ "borderRadius": "0.375rem", "bottomRow": 16, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonColor": "#ffffff", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - } - ], + "dynamicBindingPathList": [], "dynamicTriggerPathList": [ { "key": "onClick" diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button1.json b/pages/Sales - Units Ordered/widgets/Container1/Button1.json index 82481c9..ec9d78a 100644 --- a/pages/Sales - Units Ordered/widgets/Container1/Button1.json +++ b/pages/Sales - Units Ordered/widgets/Container1/Button1.json @@ -3,14 +3,10 @@ "borderRadius": "0.375rem", "bottomRow": 8, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonColor": "#ffffff", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - } - ], + "dynamicBindingPathList": [], "dynamicTriggerPathList": [ { "key": "onClick" diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json index 382cae4..0d86fd9 100644 --- a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json +++ b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json @@ -3,14 +3,10 @@ "borderRadius": "0.375rem", "bottomRow": 12, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonColor": "#ffffff", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - } - ], + "dynamicBindingPathList": [], "dynamicTriggerPathList": [ { "key": "onClick" diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json index bfb84a1..13c1a09 100644 --- a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json +++ b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 16, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button1.json b/pages/Sales - Units Shipped/widgets/Container1/Button1.json index 82481c9..ec9d78a 100644 --- a/pages/Sales - Units Shipped/widgets/Container1/Button1.json +++ b/pages/Sales - Units Shipped/widgets/Container1/Button1.json @@ -3,14 +3,10 @@ "borderRadius": "0.375rem", "bottomRow": 8, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonColor": "#ffffff", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - } - ], + "dynamicBindingPathList": [], "dynamicTriggerPathList": [ { "key": "onClick" diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json index 19b9a8d..382cae4 100644 --- a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json +++ b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 12, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json index d7e51b7..f3c15ba 100644 --- a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json +++ b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json @@ -3,14 +3,10 @@ "borderRadius": "0.375rem", "bottomRow": 16, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonColor": "#ffffff", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - } - ], + "dynamicBindingPathList": [], "dynamicTriggerPathList": [ { "key": "onClick"