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 835B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # color-no-invalid-hex
  2. Disallow invalid hex colors.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a { color: #y3 }
  6. /** ↑
  7. * This hex color */
  8. ```
  9. Longhand hex colors can be either 6 or 8 (with alpha channel) hexadecimal characters. And their shorthand variants are 3 and 4 characters respectively.
  10. ## Options
  11. ### `true`
  12. The following patterns are considered violations:
  13. <!-- prettier-ignore -->
  14. ```css
  15. a { color: #00; }
  16. ```
  17. <!-- prettier-ignore -->
  18. ```css
  19. a { color: #fff1az; }
  20. ```
  21. <!-- prettier-ignore -->
  22. ```css
  23. a { color: #12345aa; }
  24. ```
  25. The following patterns are _not_ considered violations:
  26. <!-- prettier-ignore -->
  27. ```css
  28. a { color: #000; }
  29. ```
  30. <!-- prettier-ignore -->
  31. ```css
  32. a { color: #000f; }
  33. ```
  34. <!-- prettier-ignore -->
  35. ```css
  36. a { color: #fff1a0; }
  37. ```
  38. <!-- prettier-ignore -->
  39. ```css
  40. a { color: #123450aa; }
  41. ```