dracula / notepad-plus-plus

🧛🏻‍♂️ Dark theme for Notepad++
https://draculatheme.com/notepad-plus-plus
MIT License
275 stars 107 forks source link

Take new screenshot #30

Closed zenorocha closed 4 years ago

zenorocha commented 4 years ago

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?

Want to use another language?

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

ukarim commented 4 years ago

@zenorocha done

zenorocha commented 4 years ago

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