dracula / sublime

🧛🏻‍♂️ Dark theme for Sublime Text
https://draculatheme.com/sublime
MIT License
94 stars 26 forks source link

Take new screenshot #21

Closed zenorocha closed 4 years ago

zenorocha commented 4 years ago

Hey @lee-reinhardt!

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.

zenorocha commented 4 years ago

Looks great! Thanks @lee-reinhardt! 🎉

lee-reinhardt commented 4 years ago

@zenorocha You're welcome! Congrats on Dracula Pro by the way.

zenorocha commented 4 years ago

Thank you so much @lee-reinhardt 💜

zenorocha commented 4 years ago

Here's the live preview, in case you haven't seen it yet: https://draculatheme.com/sublime ;)