# Border color variable gets inserted as border width

**URL:** https://forum.pinegrow.com/t/border-color-variable-gets-inserted-as-border-width/7545
**Category:** Bug Reports
**Created:** [December 29, 2022, 3:54am UTC](https://forum.pinegrow.com/t/border-color-variable-gets-inserted-as-border-width/7545 "2022-12-29T03:54:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![adamslowe](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/adamslowe/32/4590_2.png) [@adamslowe](https://forum.pinegrow.com/u/adamslowe)
#### Post date: [December 29, 2022, 3:54am UTC](https://forum.pinegrow.com/t/border-color-variable-gets-inserted-as-border-width/7545/1 "2022-12-29T03:54:42Z")

</div>

This is a low-priority bug in my opinion, but I don’t want to lose track of it. Right-clicking on the border color and selecting a variable puts it in the border width position instead of the color position of the border rule.

The control also seems like it’s generating some odd rules, but I haven’t taken the time to figure out exactly what’s happening. For example, I see a border-style rule with a border-bottom-width, then a border-top shorthand rule. None of it seems wrong, aside from the color issue, but I’m not following the logic Pinegrow is trying to use.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/8/8b1d670dad492dcda96c90079362458f6ca07154.jpeg)
