Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 807B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # color-no-hex
  2. Disallow hex colors.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a { color: #333 }
  6. /** ↑
  7. * This hex color */
  8. ```
  9. ## Options
  10. ### `true`
  11. The following patterns are considered violations:
  12. <!-- prettier-ignore -->
  13. ```css
  14. a { color: #000; }
  15. ```
  16. <!-- prettier-ignore -->
  17. ```css
  18. a { color: #fff1aa; }
  19. ```
  20. <!-- prettier-ignore -->
  21. ```css
  22. a { color: #123456aa; }
  23. ```
  24. Hex values that are not valid also cause violations:
  25. <!-- prettier-ignore -->
  26. ```css
  27. a { color: #foobar; }
  28. ```
  29. <!-- prettier-ignore -->
  30. ```css
  31. a { color: #0000000000000000; }
  32. ```
  33. The following patterns are _not_ considered violations:
  34. <!-- prettier-ignore -->
  35. ```css
  36. a { color: black; }
  37. ```
  38. <!-- prettier-ignore -->
  39. ```css
  40. a { color: rgb(0, 0, 0); }
  41. ```
  42. <!-- prettier-ignore -->
  43. ```css
  44. a { color: rgba(0, 0, 0, 1); }
  45. ```