Skip to content

WIP: Redesign backoffice component system based on Figma UI kit#95

Draft
gazdagergo wants to merge 2 commits intomainfrom
547-component-redesign
Draft

WIP: Redesign backoffice component system based on Figma UI kit#95
gazdagergo wants to merge 2 commits intomainfrom
547-component-redesign

Conversation

@gazdagergo
Copy link
Collaborator

Summary

Implements atomic design changes from the OpenDLP Figma UI kit to modernize the backoffice component system.

Button Component Redesign

  • Add new variants: primary, secondary, tertiary (ghost), icon (icon-only)
  • Add icon support with leading_icon, trailing_icon, and icon props
  • Update typography: Lato 700, 14px, 16px line-height, 0.4px letter-spacing
  • Update styling: 4px border radius, 12px/16px padding
  • Add button-specific semantic tokens for theming
  • Add hover/focus CSS classes with proper state transitions
  • Maintain backwards compatibility: variant="outline" maps to secondary

Design Tokens

  • Add button-specific semantic tokens (--color-button-*)
  • Update focus ring to use brand-400 with 4px offset

Related

Test Plan

  • Verify button variants render correctly in showcase
  • Test hover states on all variants
  • Test focus ring on keyboard navigation
  • Verify icons display correctly (stroke-based SVGs)
  • Check backwards compatibility with existing variant="outline" usage

🤖 Generated with Claude Code

gazdagergo and others added 2 commits March 25, 2026 20:58
Implement atomic design changes from OpenDLP UI kit:
- Add new variants: primary, secondary, tertiary (ghost), icon-only
- Add icon support with leading_icon, trailing_icon, and icon props
- Update typography: Lato 700, 14px, 16px line-height, 0.4px spacing
- Update styling: 4px border radius, 12px/16px padding
- Add button-specific semantic tokens for theming
- Add hover/focus CSS classes with proper state transitions
- Maintain backwards compatibility: "outline" maps to "secondary"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Implement custom checkbox styling from OpenDLP UI kit:
- Custom 16x16 checkbox box with brand-400 border
- SVG checkmark (12x12) shown when checked
- Checked state fills box with brand-400
- Hover state darkens to brand-600
- Focus ring with 2px outline, 2px offset
- Disabled state at 50% opacity
- Label: Lato 500, 14px, 20px line-height

Add checkbox showcase demonstrating all states.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant