# Styling nodes using grass file not working as intended

**URL:** <https://community.neo4j.com/t/styling-nodes-using-grass-file-not-working-as-intended/58482>\
**Category:** Neo4j Graph Platform\
**Tags:** migrated\
**Created:** [January 25, 2023, 7:53am UTC](https://community.neo4j.com/t/styling-nodes-using-grass-file-not-working-as-intended/58482 "2023-01-25T07:53:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![richylyq](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@richylyq](https://community.neo4j.com/u/richylyq)\
**Post date:** [January 25, 2023, 7:53am UTC](https://community.neo4j.com/t/styling-nodes-using-grass-file-not-working-as-intended/58482/1 "2023-01-25T07:53:11Z")

</div>

I am trying to style my Knowledge graph with the .grass file that i exported previously, but then when i drag and drop the .grass file into neo4j browser, the nodes are not colored as per what I've assigned in the .grass file. Is this a bug in neo4j browser or am i missing anything. Please assist.

style.grass file

```auto
node {
  diameter: 50px;
  color: #A5ABB6;
  border-color: #9AA1AC;
  border-width: 2px;
  text-color-internal: #FFFFFF;
  font-size: 10px;
}
relationship {
  color: #A5ABB6;
  shaft-width: 1px;
  font-size: 8px;
  padding: 3px;
  text-color-external: #000000;
  text-color-internal: #FFFFFF;
  caption: "<type>";
}
node.Title {
  color: #C990C0;
  border-color: #b261a5;
  text-color-internal: #FFFFFF;
  defaultCaption: "<id>";
}
node.Checklist {
  color: #C990C0;
  border-color: #b261a5;
  text-color-internal: #FFFFFF;
  defaultCaption: "<id>";
  caption: "{name}";
}

node.Executive_Summary {
  color: #F79767;
  border-color: #f36924;
  text-color-internal: #FFFFFF;
  defaultCaption: "<id>";
  caption: "{name}";
}
node.Missing Data {
  color: #FFC454;
  border-color: #eb2728;
  text-color-internal: #FFFFFF;
  defaultCaption: "<id>";
}
node.Additional Data {
  color: #4C8EDA;
  border-color: #2870c2;
  text-color-internal: #FFFFFF;
  defaultCaption: "<id>";
}
node.Wrong Data {
  color: #F16667;
  border-color: #d7a013;
  text-color-internal: #2A2C34;
  defaultCaption: "<id>";
}
node.Report Data {
  color: #569480;
  border-color: #447666;
  text-color-internal: #FFFFFF;
  defaultCaption: "<id>";
}

```

intended node colors

![1.png](https://us1.discourse-cdn.com/flex021/uploads/neo4jcommunity/original/3X/7/1/71131d24573760a80fe5ccaee1c81411cb2cca1f.png "1.png")

actual node colors

![2.png](https://us1.discourse-cdn.com/flex021/uploads/neo4jcommunity/original/3X/2/9/299cbcf0708aa91042e940f2458e7acd8df40314.png "2.png")

Neo4j Browser version: 5.0.0

Neo4j Server version: 5.2.0 (community)

Build number: 205

Build date: 10/4/2022
