address an issue parsing font names (#168) * address an issue parsing font names * update comment * update changelog * Apply suggestions from code review Co-authored-by: Leon Senft <leonsenft@users.noreply.github.com> * review feedback * dart format --------- Co-authored-by: Leon Senft <leonsenft@users.noreply.github.com>
A Dart CSS parser.
Parsing CSS is easy!
import 'package:csslib/parser.dart'; main() { var stylesheet = parse( '.foo { color: red; left: 20px; top: 20px; width: 100px; height:200px }'); print(stylesheet.toDebugString()); }
You can pass a String or List<int> to parse.