Preparing search index...

    Function squareButtonStyles

    • Creates the side-dependent geometry for a square button.

      Colours come from the Paper theme and can't live in this static factory, so callers compose this with { backgroundColor, borderColor } in a style array at render time — see SquareButton.

      Parameters

      • side: number

        Square side length in pixels

      Returns Readonly<
          {
              squareButton: {
                  borderWidth: number;
                  width: number;
                  height: number;
                  marginHorizontal: number;
              };
          },
      >

      StyleSheet object with the square button's geometry