styled.ts 850 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import styled from 'styled-components';
  2. export const Wrapper = styled.div`
  3. width: 360px;
  4. border-radius: 5px;
  5. background-color: rgba(0, 0, 0, 0.5);
  6. padding-bottom: 1px;
  7. overflow: hidden;
  8. position: relative;
  9. `;
  10. export const HueWrapper = styled.div`
  11. height: 10px;
  12. position: relative;
  13. margin: 0 10px 10px;
  14. `;
  15. export const SaturationWrapper = styled.div`
  16. height: 146px;
  17. position: relative;
  18. margin-bottom: 10px;
  19. `;
  20. export const Label = styled.label`
  21. color: white;
  22. margin-right: 5px;
  23. `;
  24. export const InputWrapper = styled.div`
  25. display: flex;
  26. align-items: center;
  27. margin-bottom: 10px;
  28. margin-left: 10px;
  29. span {
  30. display: none;
  31. }
  32. `;
  33. export const Swatch = styled('div')<{ bg: string }>`
  34. width: 28px;
  35. height: 28px;
  36. border-radius: 14px;
  37. background-color: ${(props) => props.bg};
  38. margin-right: 10px;
  39. `;