@@ -15,8 +15,13 @@ import {
1515 SortDescendingIcon ,
1616} from '@phosphor-icons/react'
1717
18- import { Typography } from '@genseki/react'
19- import { Button , ButtonGroup , ButtonGroupSeparator , ButtonGroupText } from '@genseki/react/v2'
18+ import {
19+ Button ,
20+ ButtonGroup ,
21+ ButtonGroupSeparator ,
22+ ButtonGroupText ,
23+ Typography ,
24+ } from '@genseki/react/v2'
2025
2126import { PlaygroundCard } from '~/src/components/card'
2227
@@ -68,7 +73,7 @@ function ButtonSizes() {
6873 < MagnifyingGlassIcon />
6974 Small
7075 </ Button >
71- < Button size = "default " >
76+ < Button size = "md " >
7277 < MagnifyingGlassIcon />
7378 Default
7479 </ Button >
@@ -270,7 +275,7 @@ export function ButtonSection() {
270275 < Typography type = "body" className = "text-muted-foreground mb-4" >
271276 Different button variants with various styles and purposes.
272277 </ Typography >
273- < div className = "p-4 bg-background w-full rounded-lg" >
278+ < div className = "p-4 bg-secondary w-full rounded-lg" >
274279 < ButtonVariants />
275280 </ div >
276281 </ PlaygroundCard >
@@ -279,7 +284,7 @@ export function ButtonSection() {
279284 < Typography type = "body" className = "text-muted-foreground mb-4" >
280285 Buttons come in three sizes: small, default, and large.
281286 </ Typography >
282- < div className = "p-4 bg-background w-full rounded-lg" >
287+ < div className = "p-4 bg-secondary w-full rounded-lg" >
283288 < ButtonSizes />
284289 </ div >
285290 </ PlaygroundCard >
@@ -288,7 +293,7 @@ export function ButtonSection() {
288293 < Typography type = "body" className = "text-muted-foreground mb-4" >
289294 Icon-only buttons in different sizes.
290295 </ Typography >
291- < div className = "p-4 bg-background w-full rounded-lg" >
296+ < div className = "p-4 bg-secondary w-full rounded-lg" >
292297 < IconButtons />
293298 </ div >
294299 </ PlaygroundCard >
@@ -297,7 +302,7 @@ export function ButtonSection() {
297302 < Typography type = "body" className = "text-muted-foreground mb-4" >
298303 Buttons with icons alongside text labels.
299304 </ Typography >
300- < div className = "p-4 bg-background w-full rounded-lg" >
305+ < div className = "p-4 bg-secondary w-full rounded-lg" >
301306 < ButtonsWithIcons />
302307 </ div >
303308 </ PlaygroundCard >
@@ -306,7 +311,7 @@ export function ButtonSection() {
306311 < Typography type = "body" className = "text-muted-foreground mb-4" >
307312 Buttons can be disabled or show a pending/loading state.
308313 </ Typography >
309- < div className = "p-4 bg-background w-full rounded-lg" >
314+ < div className = "p-4 bg-secondary w-full rounded-lg" >
310315 < ButtonStates />
311316 </ div >
312317 </ PlaygroundCard >
@@ -315,7 +320,7 @@ export function ButtonSection() {
315320 < Typography type = "body" className = "text-muted-foreground mb-4" >
316321 A button that shows loading state during async operations.
317322 </ Typography >
318- < div className = "p-4 bg-background w-full rounded-lg" >
323+ < div className = "p-4 bg-secondary w-full rounded-lg" >
319324 < LoadingButton />
320325 </ div >
321326 </ PlaygroundCard >
@@ -324,7 +329,7 @@ export function ButtonSection() {
324329 < Typography type = "body" className = "text-muted-foreground mb-4" >
325330 A simple button group with connected buttons.
326331 </ Typography >
327- < div className = "p-4 bg-background w-full rounded-lg" >
332+ < div className = "p-4 bg-secondary w-full rounded-lg" >
328333 < ButtonGroupBasic />
329334 </ div >
330335 </ PlaygroundCard >
@@ -333,7 +338,7 @@ export function ButtonSection() {
333338 < Typography type = "body" className = "text-muted-foreground mb-4" >
334339 Button groups with separators between buttons for visual distinction.
335340 </ Typography >
336- < div className = "p-4 bg-background w-full rounded-lg" >
341+ < div className = "p-4 bg-secondary w-full rounded-lg" >
337342 < ButtonGroupWithSeparators />
338343 </ div >
339344 </ PlaygroundCard >
@@ -342,7 +347,7 @@ export function ButtonSection() {
342347 < Typography type = "body" className = "text-muted-foreground mb-4" >
343348 Button groups with text labels and icons for better context.
344349 </ Typography >
345- < div className = "p-4 bg-background w-full rounded-lg" >
350+ < div className = "p-4 bg-secondary w-full rounded-lg" >
346351 < ButtonGroupWithText />
347352 </ div >
348353 </ PlaygroundCard >
@@ -351,7 +356,7 @@ export function ButtonSection() {
351356 < Typography type = "body" className = "text-muted-foreground mb-4" >
352357 Vertical button groups for stacked layouts.
353358 </ Typography >
354- < div className = "p-4 bg-background w-full rounded-lg" >
359+ < div className = "p-4 bg-secondary w-full rounded-lg" >
355360 < ButtonGroupVertical />
356361 </ div >
357362 </ PlaygroundCard >
@@ -360,7 +365,7 @@ export function ButtonSection() {
360365 < Typography type = "body" className = "text-muted-foreground mb-4" >
361366 Button groups with different button variants mixed together.
362367 </ Typography >
363- < div className = "p-4 bg-background w-full rounded-lg" >
368+ < div className = "p-4 bg-secondary w-full rounded-lg" >
364369 < ButtonGroupVariants />
365370 </ div >
366371 </ PlaygroundCard >
0 commit comments