Computed Styles Panel

Sometimes you might want to understand where an element in your component is receiving its styling from, and this isn't always easy to do when projects can contain multiple stylesheets with many rules. The Computed Styles panel in Codux makes it easy to visually understand which styles are applying what styling to the elements in your components.
The information laid out in this panel makes it a helpful place to copy styles from, and to jump straight to the areas in the Styles panel or code drawer to make any changes.
Note:
Codux computes not just styles from the project's CSS code, but also the styles that the browser uses for those specific elements. Keep in mind that different browsers use different CSS defaults for each HTML element.

Working with Computed Styles 

To see the computed styles of an element, select the element from a board in your project, and click on the Computed Styles panel tab on the right.
The computed styles panel located on the right side of Codux.
For example, you might want to check that one of your elements — a button, is using the same hover color that you included in the initial design. Switch to Select mode to select the element, and then open the Computed Styles panel where you'll see all the styles that the button is using. From there, you can select the color style that you want to change to make the updates in the Styles pane, or in the code drawer.
After you've made your changes, you can commit them and create a pull request with Git for other project users to see.
Tip!
🔍 Use the Search Properties bar at the top of the Computed Styles panel to effectively narrow down the results to only the CSS properties that match your query.
Note:
Default CSS Values for HTML Elements also apply to a component's elements, but these do not show in the computed styles panel.

Computed Styles Categories 

Codux categorizes CSS properties into the following groups of styles:
  • Layout
  • Spacing
  • Size
  • Position
  • Text
  • Border & Corners
  • Backgrounds
  • Effects
There is also an Others category that includes the styles detected by Codux that didn't fit into the other ones.