• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Custom code themes in Dreamweaver 2019

Contributor ,
Jun 13, 2021 Jun 13, 2021

Copy link to clipboard

Copied

Hi everyone,

 

I’m trying to create a custom code theme (version CC2019), but not having any luck.

 

Per the instructions found on this page ( https://helpx.adobe.com/dreamweaver/using/customize-code-coloring.html#Token-inspector ), I created a new code theme based on an existing theme and renamed it. custom-light.


Instructions

Now that you know the selectors that you need to edit, make the changes to the main.less file.

Go to the end of the file until you see the following comment:

/* Custom code colors or overrides should start after this line */

 

Type in the selectors for the code elements whose colors you want to edit. Use syntax similar to the following example:

.cm-tag {color: #00D0D0; }

 

I’ve done just this, but the colors will not change.

 

I’ve included a pic. with the hope that helps.

 

Any help would be appreciated.

 

Thanks.

 

Mark

codecolors.jpg

TOPICS
Code , How to

Views

218

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 13, 2021 Jun 13, 2021

Save & close the less CSS file.

Go back to Preferences and select the newly edited code color theme and hit the blue Apply button.

On some systems, you may need to restart DW, too.

 

 

 

Votes

Translate

Translate
Community Expert ,
Jun 13, 2021 Jun 13, 2021

Copy link to clipboard

Copied

Save & close the less CSS file.

Go back to Preferences and select the newly edited code color theme and hit the blue Apply button.

On some systems, you may need to restart DW, too.

 

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 18, 2021 Jun 18, 2021

Copy link to clipboard

Copied

LATEST

Hi Nancy,

 

Sorry for the delay in responding.

 

Hitting the Apply button solved the problem, and you only have to do it once. Now, whenever I change the colors and save the file, the changes are reflected immediately.

 

Thanks so much for your help.

 

Mark

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines