Skip to content

Commit

Permalink
Merge pull request #30 from openfga/chore/theme-fix
Browse files Browse the repository at this point in the history
fix: remove UI theme
  • Loading branch information
rhamzeh authored Sep 6, 2024
2 parents edae909 + d3882f5 commit aa96ae1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ public class OpenFGASyntaxHighlighter extends SyntaxHighlighterBase {
public static final TextAttributesKey RELATION_NAME =
createTextAttributesKey("OPENFGA_RELATION_NAME", DefaultLanguageHighlighterColors.INSTANCE_METHOD);
public static final TextAttributesKey RELATION_REFERENCE =
createTextAttributesKey("OPENFGA_RELATION_REFERENCE", DefaultLanguageHighlighterColors.INSTANCE_METHOD);
createTextAttributesKey("OPENFGA_RELATION_REFERENCE", DefaultLanguageHighlighterColors.IDENTIFIER);
public static final TextAttributesKey TYPE_IDENTIFIER =
createTextAttributesKey("OPENFGA_TYPE_IDENTIFIER", DefaultLanguageHighlighterColors.CLASS_NAME);
public static final TextAttributesKey TYPE_REFERENCE =
createTextAttributesKey("OPENFGA_TYPE_REFERENCE", DefaultLanguageHighlighterColors.CLASS_REFERENCE);
createTextAttributesKey("OPENFGA_TYPE_REFERENCE", DefaultLanguageHighlighterColors.PARAMETER);
public static final TextAttributesKey CONDITION_IDENTIFIER =
createTextAttributesKey("OPENFGA_CONDITION_IDENTIFIER", DefaultLanguageHighlighterColors.CLASS_NAME);
public static final TextAttributesKey CONDITION_REFERENCE =
Expand Down
17 changes: 1 addition & 16 deletions src/main/resources/OpenFGA_Dark.theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,7 @@
"dark": true,
"author": "",
"editorScheme": "/OpenFGA_Dark.xml",
"colors": {
"primaryForeground": "#eeffff",
"primaryBackground": "#141517"
},
"ui": {
"*": {
"background": "primaryBackground",
"separatorColor": "primaryForeground",
"foreground": "primaryForeground"
},
"ToolWindow": {
"Header": {
"inactiveBackground": "primaryBackground"
}
}
}
"ui": {}
}


0 comments on commit aa96ae1

Please sign in to comment.