_tailwindcss.scss 923 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ._tailwindcss {
  2. // Styling for customizing-colors page - color swatches (based on original tailwind display design)
  3. .colors {
  4. display: flex;
  5. gap: 1.2rem;
  6. // Text offset
  7. margin-bottom: 1rem;
  8. }
  9. // Color swatch title
  10. .color > div:first-child {
  11. font-weight: bold;
  12. }
  13. .color-swatch-group {
  14. display: flex;
  15. gap: 1rem;
  16. flex-wrap: wrap;
  17. }
  18. .color-swatch-container {
  19. display: inline-block;
  20. }
  21. // Tiny box with the color set as background
  22. .color-swatch {
  23. width: 120px;
  24. height: 40px;
  25. border-radius: 4px;
  26. }
  27. .color-tone-information {
  28. display: flex;
  29. justify-content: space-between;
  30. }
  31. // Styling for large quick-reference lookup tables
  32. .long-quick-reference {
  33. max-height: 40vh;
  34. width: fit-content;
  35. overflow-y: auto;
  36. padding: .3rem;
  37. border-top: 1px solid var(--textColor);
  38. border-bottom: 1px solid var(--textColor);
  39. }
  40. }