romannurik / SlidesCodeHighlighter

A little web app that helps you copy+paste syntax-highlighted code into slide decks.
https://romannurik.github.io/SlidesCodeHighlighter/
Apache License 2.0
1.06k stars 92 forks source link

Add Angular Material Color theme #56

Closed twerske closed 3 years ago

twerske commented 3 years ago

Add an Angular Material color theme for formatting code for decks following the styling of Angular Material.

This custom theme is currently used for all external slides by the Angular team at Google - so having a drop down option would be super helpful!

romannurik commented 3 years ago

Hi there! Two things:

  1. This doesn't actually allow you to choose the color theme from the dropdown (you need to edit index.html for that)
  2. What is this theme? Is this for decks for the Angular Material team? Some description might be useful :)
twerske commented 3 years ago

@romannurik sorry for the massive massive delay on this - I've updated the PR with the dropdown html and added a description. As on 2021+ this theme is the official external code styling theme of Angular's code snippets in slides, so it'd be great to be a dropdown!

romannurik commented 3 years ago

Hi there! Almost ready to merge! Just one piece of feedback:

But -- I leave this entirely up to you... happy to merge as-is if you prefer.

screenshot of the theme

twerske commented 3 years ago

Updated and addressed those colors - we're prioritizing visual simplicity over accessibility of unfocused content

romannurik commented 3 years ago

Looks great!