8000 feat: add shadows tokens to theme.tokens and documentation by gabrielLAraujo · Pull Request #1388 · omnifed/cerberus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: add shadows tokens to theme.tokens and documentation #1388

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gabrielLAraujo
Copy link
8000

PR Checklist

  • Tests for the changes have been added (for bug fixes / features)

PR Type

  • Feature

What is the current behavior (required)?

The shadows tokens exist in the codebase but are not accessible via theme.tokens.shadows.
This addresses issue #1386 which requests including shadows in the theme tokens.

What is the new behavior (required)?

  • Shadows tokens are now included in theme.tokens.shadows
  • Added comprehensive documentation page for shadows
  • Created ShadowTokens component for documentation
  • Added shadows to design tokens navigation
  • Updated tokens.mdx with shadows example

Users can now:

  • Access shadows via theme.tokens.shadows
  • Use predefined shadow tokens (sm, md, lg)
  • Create custom shadow tokens following the documentation
  • Reference shadows in their Panda CSS configuration

Closes #1386

- Include shadows in theme contract (theme-contract.ts)
- Add comprehensive shadows documentation page
- Create ShadowTokens component for documentation
- Add shadows to design tokens navigation
- Update tokens.mdx with shadows example

Closes omnifed#1386
Copy link
vercel bot commented Jun 25, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cerberus-docs ❌ Failed (Inspect) Jun 25, 2025 11:31am

Copy link
Collaborator
@caseybaggz caseybaggz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great contribution! 👏

Once this update is made our preview should successfully build to finalize the review 👍

@@ -0,0 +1,55 @@
'use client'

import { Box, Grid } from '@cerberus-design/react'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great contribution! The React lib doesn't export the Box component, that instead should come from the local styled-system/jsx location.

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.

[Docs?]: add shadows page
2 participants
0