Function buttonStyle

Hierarchy

  • Parameters

    • Optional options: VariantSelection<{
          size: {
              large: {
                  fontSize: string;
                  lineHeight: string;
                  padding: string;
              };
              medium: {
                  fontSize: string;
                  lineHeight: string;
              };
              small: {
                  fontSize: string;
                  lineHeight: string;
              };
          };
          variant: {
              error: {
                  :active: {
                      backgroundColor: CSSVarFunction;
                      color: CSSVarFunction;
                      outline: "none";
                  };
                  :focus: {
                      background: "none";
                      color: CSSVarFunction;
                  };
                  :hover: {
                      background: CSSVarFunction;
                  };
                  background: "none";
                  color: CSSVarFunction;
              };
              outline: {
                  :hover: {
                      color: CSSVarFunction;
                  };
                  background: "none";
                  color: CSSVarFunction;
              };
              regular: {
                  fontStyle: "normal";
                  fontWeight: number;
              };
              semibold: {
                  fontStyle: "normal";
                  fontWeight: number;
              };
          };
      }>

    Returns string

Generated using TypeDoc