diff --git a/apps/website/pages/components/button/code.tsx b/apps/website/pages/components/button/code.tsx new file mode 100644 index 0000000000..dd7055f5a4 --- /dev/null +++ b/apps/website/pages/components/button/code.tsx @@ -0,0 +1,17 @@ +import Head from "next/head"; +import type { ReactElement } from "react"; +import ButtonPageLayout from "screens/components/button/ButtonPageLayout"; +import ButtonCodePage from "screens/components/button/code/ButtonCodePage"; + +const Code = () => ( + <> +
+type attribute of the HTML button element. See{" "}
- type attribute of the HTML button element. See{" "}
+ focusBorderColor
- color-blue-500
- paddingSmallTop
- spacing-0
- paddingSmallLeft
- spacing-08
- paddingSmallBottom
- spacing-0
- paddingSmallRight
- spacing-08
- paddingSmallOnlyIconTop
- spacing-0
- paddingSmallOnlyIconLeft
- spacing-04
- paddingSmallOnlyIconBottom
- spacing-0
- paddingSmallOnlyIconRight
- spacing-04
- paddingMediumTop
- spacing-0
- paddingMediumLeft
- spacing-08
- paddingMediumBottom
- spacing-0
- paddingMediumRight
- spacing-08
- paddingMediumOnlyIconTop
- spacing-0
- paddingMediumOnlyIconLeft
- spacing-08
- paddingMediumOnlyIconBottom
- spacing-0
- paddingMediumOnlyIconRight
- spacing-08
- paddingLargeTop
- spacing-0
- paddingLargeLeft
- spacing-16
- paddingLargeBottom
- spacing-0
- paddingLargeRight
- spacing-16
- paddingLargeOnlyIconTop
- spacing-0
- paddingLargeOnlyIconLeft
- spacing-08
- paddingLargeOnlyIconBottom
- spacing-0
- paddingLargeOnlyIconRight
- spacing-08
- width can adopt the following values:
- small
- medium
- large
- fillParent
- fitContent
- height is fixed:
- min-height
- xxsmall
- xsmall
- small
- medium
- large
- xlarge
- xxlarge
- top,{" "}
- bottom, left,right.
- labelFontLineHeight
- font-leading-normal
- labelLetterSpacing
- font-spacing-wide-01
- primaryDefaultBackgroundColor
- color-purple-700
- primaryErrorBackgroundColor
- color-red-700
- primaryWarningBackgroundColor
- color-orange-700
- primarySuccessBackgroundColor
- color-green-700
- primaryInfoBackgroundColor
- color-blue-700
- primaryDefaultFontColor
- color-white
- primaryErrorFontColor
- color-white
- primaryWarningFontColor
- color-white
- primarySuccessFontColor
- color-white
- primaryInfoFontColor
- color-white
- primaryHoverDefaultBackgroundColor
- color-purple-800
- primaryHoverErrorBackgroundColor
- color-red-800
- primaryHoverWarningBackgroundColor
- color-orange-800
- primaryHoverSuccessBackgroundColor
- color-green-800
- primaryHoverInfoBackgroundColor
- color-blue-800
- primaryActiveDefaultBackgroundColor
- color-purple-900
- primaryActiveErrorBackgroundColor
- color-red-900
- primaryActiveWarningBackgroundColor
- color-orange-900
- primaryActiveSuccessBackgroundColor
- color-green-900
- primaryActiveInfoBackgroundColor
- color-blue-900
- primaryDisabledDefaultBackgroundColor
- color-purple-100
- primaryDisabledErrorBackgroundColor
- color-red-100
- primaryDisabledWarningBackgroundColor
- color-orange-100
- primaryDisabledSuccessBackgroundColor
- color-green-100
- primaryDisabledInfoBackgroundColor
- color-blue-100
- primaryDisabledDefaultFontColor
- color-purple-300
- primaryDisabledErrorFontColor
- color-red-300
- primaryDisabledWarningFontColor
- color-orange-300
- primaryDisabledSuccessFontColor
- color-green-300
- primaryDisabledInfoFontColor
- color-blue-300
- primaryBorderThickness
- border-width-0
- primaryBorderStyle
- border-style-none
- primaryBorderRadius
- border-radius-medium
- primaryFontFamily
- font-family-sans
- primarySmallFontSize
- font-scale-02
- primaryMediumFontSize
- font-scale-02
- primaryLargeFontSize
- font-scale-03
- primaryFontWeight
- font-semibold
- secondaryDefaultBackgroundColor
- color-transparent
- secondaryErrorBackgroundColor
- color-transparent
- secondaryWarningBackgroundColor
- color-transparent
- secondarySuccessBackgroundColor
- color-transparent
- secondaryInfoBackgroundColor
- color-transparent
- secondaryDefaultFontColor
- color-purple-700
- secondaryErrorFontColor
- color-red-700
- secondaryWarningFontColor
- color-orange-700
- secondarySuccessFontColor
- color-green-700
- secondaryInfoFontColor
- color-blue-700
- secondaryDefaultBorderColor
- color-purple-700
- secondaryErrorBorderColor
- color-red-700
- secondaryWarningBorderColor
- color-orange-700
- secondarySuccessBorderColor
- color-green-700
- secondaryInfoBorderColor
- color-blue-700
- secondaryHoverDefaultBackgroundColor
- color-purple-700
- secondaryHoverErrorBackgroundColor
- color-red-700
- secondaryHoverWarningBackgroundColor
- color-orange-700
- secondaryHoverSuccessBackgroundColor
- color-green-700
- secondaryHoverInfoBackgroundColor
- color-blue-700
- secondaryHoverDefaultFontColor
- color-white
- secondaryHoverErrorFontColor
- color-white
- secondaryHoverWarningFontColor
- color-white
- secondaryHoverSuccessFontColor
- color-white
- secondaryHoverInfoFontColor
- color-white
- secondaryActiveDefaultBackgroundColor
- color-purple-800
- secondaryActiveErrorBackgroundColor
- color-red-800
- secondaryActiveWarningBackgroundColor
- color-orange-800
- secondaryActiveSuccessBackgroundColor
- color-green-800
- secondaryActiveInfoBackgroundColor
- color-blue-800
- secondaryDisabledDefaultBackgroundColor
- color-transparent
- secondaryDisabledErrorBackgroundColor
- color-transparent
- secondaryDisabledWarningBackgroundColor
- color-transparent
- secondaryDisabledSuccessBackgroundColor
- color-transparent
- secondaryDisabledInfoBackgroundColor
- color-transparent
- secondaryDisabledDefaultFontColor
- color-purple-300
- secondaryDisabledErrorFontColor
- color-red-300
- secondaryDisabledWarningFontColor
- color-orange-300
- secondaryDisabledSuccessFontColor
- color-green-300
- secondaryDisabledInfoFontColor
- color-blue-300
- secondaryDisabledDefaultBorderColor
- color-purple-300
- secondaryDisabledErrorBorderColor
- color-red-300
- secondaryDisabledWarningBorderColor
- color-orange-300
- secondaryDisabledSuccessBorderColor
- color-green-300
- secondaryDisabledInfoBorderColor
- color-blue-300
- secondaryBorderThickness
- border-width-1
- secondaryBorderStyle
- border-style-solid
- secondaryBorderRadius
- border-radius-medium
- secondaryFontFamily
- font-family-sans
- secondarySmallFontSize
- font-scale-02
- secondaryMediumFontSize
- font-scale-02
- secondaryLargeFontSize
- font-scale-03
- secondaryFontWeight
- font-semibold
- tertiaryDefaultBackgroundColor
- color-transparent
- tertiaryErrorBackgroundColor
- color-transparent
- tertiaryWarningBackgroundColor
- color-transparent
- tertiarySuccessBackgroundColor
- color-transparent
- tertiaryInfoBackgroundColor
- color-transparent
- tertiaryDefaultFontColor
- color-purple-700
- tertiaryErrorFontColor
- color-red-700
- tertiaryWarningFontColor
- color-orange-700
- tertiarySuccessFontColor
- color-green-700
- tertiaryInfoFontColor
- color-blue-700
- tertiaryHoverDefaultBackgroundColor
- color-purple-100
- tertiaryHoverErrorBackgroundColor
- color-red-100
- tertiaryHoverWarningBackgroundColor
- color-orange-100
- tertiaryHoverSuccessBackgroundColor
- color-green-100
- tertiaryHoverInfoBackgroundColor
- color-blue-100
- tertiaryActiveDefaultBackgroundColor
- color-purple-200
- tertiaryActiveErrorBackgroundColor
- color-red-200
- tertiaryActiveWarningBackgroundColor
- color-orange-200
- tertiaryActiveSuccessBackgroundColor
- color-green-200
- tertiaryActiveInfoBackgroundColor
- color-blue-200
- tertiaryDisabledDefaultBackgroundColor
- color-transparent
- tertiaryDisabledErrorBackgroundColor
- color-transparent
- tertiaryDisabledWarningBackgroundColor
- color-transparent
- tertiaryDisabledSuccessBackgroundColor
- color-transparent
- tertiaryDisabledInfoBackgroundColor
- color-transparent
- tertiaryDisabledDefaultFontColor
- color-purple-300
- tertiaryDisabledErrorFontColor
- color-red-300
- tertiaryDisabledWarningFontColor
- color-orange-300
- tertiaryDisabledSuccessFontColor
- color-green-300
- tertiaryDisabledInfoFontColor
- color-blue-300
- tertiaryBorderThickness
- border-width-0
- tertiaryBorderStyle
- border-style-none
- tertiaryBorderRadius
- border-radius-medium
- tertiaryFontFamily
- font-family-sans
- tertiarySmallFontSize
- font-scale-02
- tertiaryMediumFontSize
- font-scale-03
- tertiaryLargeFontSize
- font-scale-03
- tertiaryFontWeight
- font-semibold
-