Would like PHP syntax colors to be more prominent #13015

Open
tzhu07 opened this Issue Jan 1, 2017 · 1 comment

Projects

None yet

2 participants

@tzhu07
tzhu07 commented Jan 1, 2017 edited

Perhaps making the<?php and?> in red or something that's a stark contrast to the HTML. Right now the PHP snippets and HTML just sort of blend in with each other.

@petetnt
Member
petetnt commented Jan 5, 2017 edited

Hi @tzhu07,

you can override the keyword .cm-m-clike.cm-meta to achieve that:

.cm-m-clike.cm-meta {
  color: red;
}

which will look something like this:

image

To do this, you'll need to create a theme and in your package.json you'll need to make sure that _Mode aware styles` are enabled with

"theme": {
  "file": "theme.less",
  "addModeClass": true
},

To get started, see https://github.com/adobe/brackets/wiki/Creating-Themes and sure to post back if you have any issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment