SaturationSlider
SaturationSlider
は、ユーザーが色の彩度を選択するために使用されるコンポーネントです。
テーマ
SaturationSlider
は、複数パーツのコンポーネントです。
コンポーネントのスタイルを変更したい場合は、こちらをご覧ください。
export const SaturationSlider: ComponentMultiStyle<"SaturationSlider"> = {baseStyle: {container: {w: "full",rounded: "md",cursor: "pointer",_readOnly: { cursor: "auto" },_disabled: {opacity: 0.6,cursor: "not-allowed",},},inner: {rounded: "md",},overlay: {rounded: "md",},track: {},thumb: {rounded: "full",outline: 0,borderWidth: "3px",borderColor: "whiteAlpha.950",boxShadow: ["md", "dark-md"],transitionProperty: "transform",transitionDuration: "normal",_active: {transform: `scale(1.15)`,},_focusVisible: {boxShadow: ["outline", "outline"],},},},sizes: {sm: {container: { maxW: "xs" },thumb: { boxSize: "3" },},md: {container: { maxW: "sm" },thumb: { boxSize: "4" },},lg: {container: { maxW: "md" },thumb: { boxSize: "5" },},full: {container: { maxW: "full" },thumb: { boxSize: "5" },},},defaultProps: {size: "md",},}
GitHubでこのページを編集する