dracula/notepad-plus-plus

Take new screenshot

zenorocha opened this issue · 2 comments

Hey @ukarim!

Can you update the screenshot to use the new code snippet?

New Snippet

/*
 * Once upon a time...
 */

class Vampire {
  constructor(props) {
    this.location = props.location;
    this.birthDate = props.birthDate;
    this.deathDate = props.deathDate;
    this.weaknesses = props.weaknesses;
  }

  get age() {
    return this.calcAge();
  }

  calcAge() {
    return this.deathDate - this.birthDate;
  }
}

// ...there was a guy named Vlad

const Dracula = new Vampire({
  location: 'Transylvania',
  birthDate: 1428,
  deathDate: 1476,
  weaknesses: ['Sunlight', 'Garlic']
}); 

Why use this?

  • It contains examples of string, number, and array
  • It contains examples of single line and multi-line comments
  • It contains examples of inheritance and functions
  • It's simple, funny, and silly

Want to use another language?

Feel free to send a pull request to the template repo under the sample folder.

Awesome! Here's the live preview: https://draculatheme.com/notepad-plus-plus/

One thing I noticed is that the string colors are not standardized between the other themes. Can you change that red to be the yellow? https://spec.draculatheme.com/#sec-Strings