dev-launchers / dev-launchers-platform

Monorepo for all DevLaunchers internal products and libraries used by the official platform
https://devlaunchers.org
GNU General Public License v3.0
41 stars 30 forks source link

[feat]: button-update #2115

Open annaisaacks opened 3 weeks ago

annaisaacks commented 3 weeks ago

Feature description

Overview: Develop a versatile button component based on the provided design system. This button will support multiple styles, states, and features, ensuring flexibility and consistency across different UI implementations.

Requirements:

Button Properties:

Color Properties:

Visibility Properties:

Version Styling:

Composition Properties:

Styling Specifications:

Color Styles:

Theme Compatibility:

Behavior:

Additional Notes:

Color Alias Layering:

Spacing Alias Layering: -Base Token: num-fixed → 4px (A global static value, used as the fundamental unit for spacing across all components.) -Semantic Token: scale-ui → defines specific padding or margins for ui components (Adapts num-fixed values into scalable sizes: small, base, large, depending on the component's size requirements.) -Component Token: btn/default/space → p-x, p-y (Applies the scale-ui values specifically to button padding (p-x, p-y) to ensure consistent spacing in the default button state.) -Dynamic Token: btn/responsive/space → adjusts padding dynamically (Ensures padding (p-x, p-y) adapts proportionally to responsive states (small, base, large) across different screen sizes and interaction states (e.g., hover, active).)

Design Reference: Component: https://www.figma.com/design/EwzuhhvTulvFRMvhTD5VAh/DL-Universal-Design-System?node-id=14747-13363&t=wtGcKj1RQyD0O3Af-4

Prototype: https://www.figma.com/proto/EwzuhhvTulvFRMvhTD5VAh/DL-Universal-Design-System?node-id=16161-19051&node-type=frame&t=qfsizVFFsrZubysr-1&scaling=min-zoom&content-scaling=fixed&page-id=11487%3A38324&starting-point-node-id=11488%3A71572

Affected component/components

Button

Additional Context

@dbradham Creating an issue for the button update.

Before submitting