Skip to content

Conversation

@kotAPI
Copy link
Collaborator

@kotAPI kotAPI commented Apr 29, 2025

Summary by CodeRabbit

  • Style
    • Standardized formatting for color token definitions to use double quotes for keys and values.
    • Updated alert dialog styles for improved overlay background and content color using CSS variables.
  • Chores
    • Updated import paths for color tokens in various modules for improved consistency.
    • Adjusted script command paths in configuration for token generation.
    • Removed unused imports for cleaner code.
  • Bug Fixes
    • Modified alert dialog portal root selection to a fixed container element for consistent rendering.
  • New Features
    • Added asChild prop support to alert dialog action, cancel, and trigger components for flexible rendering.
    • Introduced a new theme story showcasing light and dark mode toggling with live preview.
  • Refactor
    • Replaced alert dialog component implementation with a stub that logs a warning and disables direct usage.
    • Refactored alert dialog story to use compound components and internal state management.
    • Extended theme component to accept an optional container ID for portal targeting.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Apr 29, 2025

Walkthrough

This update refactors the AlertDialog component by removing its full implementation and replacing it with a stub that logs a warning and returns null, while preserving its exported subcomponents and types. Several AlertDialog fragment components were enhanced to accept an additional asChild prop, enabling more flexible rendering. The AlertDialogPortal now strictly uses a fixed root element with a specified ID, removing fallback behavior. The Theme component was extended to accept an optional id prop, which is applied to its root element. A new Theme story was added demonstrating theme toggling. Various import paths were adjusted to new directory structures, and color token formatting was standardized. The AlertDialog story was rewritten to use the compound components pattern.

Changes

File(s) Change Summary
src/components/ui/AlertDialog/AlertDialog.tsx Removed full AlertDialog implementation; replaced with a stub logging a warning and returning null; exports and types unchanged.
src/components/ui/AlertDialog/fragments/AlertDialogAction.tsx, AlertDialogCancel.tsx, AlertDialogTrigger.tsx Added asChild prop to these AlertDialog fragment components, passing it to underlying ButtonPrimitive components.
src/components/ui/AlertDialog/fragments/AlertDialogPortal.tsx Changed portal root selection to fixed element with ID #rad-ui-theme-container; removed fallback to document.body.
src/components/ui/AlertDialog/stories/AlertDialog.stories.tsx Refactored AlertDialog story to use compound components (Root, Trigger, Portal, Overlay, Content, Action, Cancel).
src/components/ui/Theme/Theme.tsx Added optional id prop to ThemeProps; applied id to root div with default 'rad-ui-theme-container'.
src/components/ui/Theme/stories/Theme.stories.tsx Added new Storybook story demonstrating theme toggling with light/dark modes using Theme component and SandboxEditor.
src/components/tools/SandboxEditor/SandboxEditor.tsx Removed unused forwardRef import; updated colors import path to '~/design-systems/clarity/tokens/colors'.
src/tokenGen/index.js Updated import paths for generateCSSTokens and generateAccentTokens to new transformers subdirectory.
src/tokenGen/transformers/generateAccentTokens.js, src/tokenGen/transformers/generateCSSTokens.js Updated colors import path to '~/design-systems/clarity/tokens/colors'.
styles/jsTokens/colors.tokens.js Reformatted export object to use double-quoted keys and values; no changes to color data.
styles/themes/components/alert-dialog.scss Removed .rad-ui-alert-dialog top-level selector; updated overlay background color syntax; changed content background to CSS var.
package.json Updated generate-tokens script path from "./scripts/tokenGen/index.js" to "./src/tokenGen/index.js".
src/examples/Colors/Colors.stories.js Updated colors import path to '~/design-systems/clarity/tokens/colors'.
src/core/utils/RovingFocusGroup/stories/RovingFocusGroup.stories.tsx Changed Storybook story title from 'WIP/RovingFocusGroup' to 'Utils/RovingFocusGroup'.

Possibly related PRs

  • AlertDialog Component #448: Introduced the initial full implementation of the AlertDialog component and its subcomponents; directly related to the AlertDialog refactor here.
  • [New Component] Theme #1048: Added the Theme component and related token generation changes; this PR builds upon that by extending Theme with an id prop.
  • Fixing the AlertDialogPortal dark mode #470: Modified AlertDialogPortal root element selection logic; this PR changes it further to use a fixed ID without fallback.

Suggested labels

automerge

Poem

🐇 A hop, a skip, a code rewrite spree,
AlertDialog now whispers, "Don't use me."
Fragments gain power with asChild in tow,
Theme wears an ID, a fresh new glow.
Tokens aligned and imports anew,
The rabbit nods, "This work will do!" 🌿✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a741b01 and 3904791.

📒 Files selected for processing (1)
  • src/components/ui/AlertDialog/fragments/AlertDialogPortal.tsx (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/components/ui/AlertDialog/fragments/AlertDialogPortal.tsx
⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: build
  • GitHub Check: Analyze (javascript)
✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ba4f361 and 5bf6735.

📒 Files selected for processing (6)
  • package.json (1 hunks)
  • src/components/tools/SandboxEditor/SandboxEditor.tsx (2 hunks)
  • src/tokenGen/index.js (1 hunks)
  • src/tokenGen/transformers/generateAccentTokens.js (1 hunks)
  • src/tokenGen/transformers/generateCSSTokens.js (1 hunks)
  • styles/jsTokens/colors.tokens.js (1 hunks)
🧰 Additional context used
🪛 ESLint
styles/jsTokens/colors.tokens.js

[error] 2-15: Unnecessarily quoted property 'gray' found.

(quote-props)


[error] 3-3: Unnecessarily quoted property '50' found.

(quote-props)


[error] 4-4: Unnecessarily quoted property '100' found.

(quote-props)


[error] 5-5: Unnecessarily quoted property '200' found.

(quote-props)


[error] 6-6: Unnecessarily quoted property '300' found.

(quote-props)


[error] 7-7: Unnecessarily quoted property '400' found.

(quote-props)


[error] 8-8: Unnecessarily quoted property '500' found.

(quote-props)


[error] 9-9: Unnecessarily quoted property '600' found.

(quote-props)


[error] 10-10: Unnecessarily quoted property '700' found.

(quote-props)


[error] 11-11: Unnecessarily quoted property '800' found.

(quote-props)


[error] 12-12: Unnecessarily quoted property '900' found.

(quote-props)


[error] 13-13: Unnecessarily quoted property '950' found.

(quote-props)


[error] 14-14: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 16-29: Unnecessarily quoted property 'mauve' found.

(quote-props)


[error] 17-17: Unnecessarily quoted property '50' found.

(quote-props)


[error] 18-18: Unnecessarily quoted property '100' found.

(quote-props)


[error] 19-19: Unnecessarily quoted property '200' found.

(quote-props)


[error] 20-20: Unnecessarily quoted property '300' found.

(quote-props)


[error] 21-21: Unnecessarily quoted property '400' found.

(quote-props)


[error] 22-22: Unnecessarily quoted property '500' found.

(quote-props)


[error] 23-23: Unnecessarily quoted property '600' found.

(quote-props)


[error] 24-24: Unnecessarily quoted property '700' found.

(quote-props)


[error] 25-25: Unnecessarily quoted property '800' found.

(quote-props)


[error] 26-26: Unnecessarily quoted property '900' found.

(quote-props)


[error] 27-27: Unnecessarily quoted property '950' found.

(quote-props)


[error] 28-28: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 30-43: Unnecessarily quoted property 'slate' found.

(quote-props)


[error] 31-31: Unnecessarily quoted property '50' found.

(quote-props)


[error] 32-32: Unnecessarily quoted property '100' found.

(quote-props)


[error] 33-33: Unnecessarily quoted property '200' found.

(quote-props)


[error] 34-34: Unnecessarily quoted property '300' found.

(quote-props)


[error] 35-35: Unnecessarily quoted property '400' found.

(quote-props)


[error] 36-36: Unnecessarily quoted property '500' found.

(quote-props)


[error] 37-37: Unnecessarily quoted property '600' found.

(quote-props)


[error] 38-38: Unnecessarily quoted property '700' found.

(quote-props)


[error] 39-39: Unnecessarily quoted property '800' found.

(quote-props)


[error] 40-40: Unnecessarily quoted property '900' found.

(quote-props)


[error] 41-41: Unnecessarily quoted property '950' found.

(quote-props)


[error] 42-42: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 44-57: Unnecessarily quoted property 'sage' found.

(quote-props)


[error] 45-45: Unnecessarily quoted property '50' found.

(quote-props)


[error] 46-46: Unnecessarily quoted property '100' found.

(quote-props)


[error] 47-47: Unnecessarily quoted property '200' found.

(quote-props)


[error] 48-48: Unnecessarily quoted property '300' found.

(quote-props)


[error] 49-49: Unnecessarily quoted property '400' found.

(quote-props)


[error] 50-50: Unnecessarily quoted property '500' found.

(quote-props)


[error] 51-51: Unnecessarily quoted property '600' found.

(quote-props)


[error] 52-52: Unnecessarily quoted property '700' found.

(quote-props)


[error] 53-53: Unnecessarily quoted property '800' found.

(quote-props)


[error] 54-54: Unnecessarily quoted property '900' found.

(quote-props)


[error] 55-55: Unnecessarily quoted property '950' found.

(quote-props)


[error] 56-56: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 58-71: Unnecessarily quoted property 'olive' found.

(quote-props)


[error] 59-59: Unnecessarily quoted property '50' found.

(quote-props)


[error] 60-60: Unnecessarily quoted property '100' found.

(quote-props)


[error] 61-61: Unnecessarily quoted property '200' found.

(quote-props)


[error] 62-62: Unnecessarily quoted property '300' found.

(quote-props)


[error] 63-63: Unnecessarily quoted property '400' found.

(quote-props)


[error] 64-64: Unnecessarily quoted property '500' found.

(quote-props)


[error] 65-65: Unnecessarily quoted property '600' found.

(quote-props)


[error] 66-66: Unnecessarily quoted property '700' found.

(quote-props)


[error] 67-67: Unnecessarily quoted property '800' found.

(quote-props)


[error] 68-68: Unnecessarily quoted property '900' found.

(quote-props)


[error] 69-69: Unnecessarily quoted property '950' found.

(quote-props)


[error] 70-70: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 72-85: Unnecessarily quoted property 'sand' found.

(quote-props)


[error] 73-73: Unnecessarily quoted property '50' found.

(quote-props)


[error] 74-74: Unnecessarily quoted property '100' found.

(quote-props)


[error] 75-75: Unnecessarily quoted property '200' found.

(quote-props)


[error] 76-76: Unnecessarily quoted property '300' found.

(quote-props)


[error] 77-77: Unnecessarily quoted property '400' found.

(quote-props)


[error] 78-78: Unnecessarily quoted property '500' found.

(quote-props)


[error] 79-79: Unnecessarily quoted property '600' found.

(quote-props)


[error] 80-80: Unnecessarily quoted property '700' found.

(quote-props)


[error] 81-81: Unnecessarily quoted property '800' found.

(quote-props)


[error] 82-82: Unnecessarily quoted property '900' found.

(quote-props)


[error] 83-83: Unnecessarily quoted property '950' found.

(quote-props)


[error] 84-84: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 86-99: Unnecessarily quoted property 'tomato' found.

(quote-props)


[error] 87-87: Unnecessarily quoted property '50' found.

(quote-props)


[error] 88-88: Unnecessarily quoted property '100' found.

(quote-props)


[error] 89-89: Unnecessarily quoted property '200' found.

(quote-props)


[error] 90-90: Unnecessarily quoted property '300' found.

(quote-props)


[error] 91-91: Unnecessarily quoted property '400' found.

(quote-props)


[error] 92-92: Unnecessarily quoted property '500' found.

(quote-props)


[error] 93-93: Unnecessarily quoted property '600' found.

(quote-props)


[error] 94-94: Unnecessarily quoted property '700' found.

(quote-props)


[error] 95-95: Unnecessarily quoted property '800' found.

(quote-props)


[error] 96-96: Unnecessarily quoted property '900' found.

(quote-props)


[error] 97-97: Unnecessarily quoted property '950' found.

(quote-props)


[error] 98-98: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 100-113: Unnecessarily quoted property 'red' found.

(quote-props)


[error] 101-101: Unnecessarily quoted property '50' found.

(quote-props)


[error] 102-102: Unnecessarily quoted property '100' found.

(quote-props)


[error] 103-103: Unnecessarily quoted property '200' found.

(quote-props)


[error] 104-104: Unnecessarily quoted property '300' found.

(quote-props)


[error] 105-105: Unnecessarily quoted property '400' found.

(quote-props)


[error] 106-106: Unnecessarily quoted property '500' found.

(quote-props)


[error] 107-107: Unnecessarily quoted property '600' found.

(quote-props)


[error] 108-108: Unnecessarily quoted property '700' found.

(quote-props)


[error] 109-109: Unnecessarily quoted property '800' found.

(quote-props)


[error] 110-110: Unnecessarily quoted property '900' found.

(quote-props)


[error] 111-111: Unnecessarily quoted property '950' found.

(quote-props)


[error] 112-112: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 114-127: Unnecessarily quoted property 'ruby' found.

(quote-props)


[error] 115-115: Unnecessarily quoted property '50' found.

(quote-props)


[error] 116-116: Unnecessarily quoted property '100' found.

(quote-props)


[error] 117-117: Unnecessarily quoted property '200' found.

(quote-props)


[error] 118-118: Unnecessarily quoted property '300' found.

(quote-props)


[error] 119-119: Unnecessarily quoted property '400' found.

(quote-props)


[error] 120-120: Unnecessarily quoted property '500' found.

(quote-props)


[error] 121-121: Unnecessarily quoted property '600' found.

(quote-props)


[error] 122-122: Unnecessarily quoted property '700' found.

(quote-props)


[error] 123-123: Unnecessarily quoted property '800' found.

(quote-props)


[error] 124-124: Unnecessarily quoted property '900' found.

(quote-props)


[error] 125-125: Unnecessarily quoted property '950' found.

(quote-props)


[error] 126-126: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 128-141: Unnecessarily quoted property 'crimson' found.

(quote-props)


[error] 129-129: Unnecessarily quoted property '50' found.

(quote-props)


[error] 130-130: Unnecessarily quoted property '100' found.

(quote-props)


[error] 131-131: Unnecessarily quoted property '200' found.

(quote-props)


[error] 132-132: Unnecessarily quoted property '300' found.

(quote-props)


[error] 133-133: Unnecessarily quoted property '400' found.

(quote-props)


[error] 134-134: Unnecessarily quoted property '500' found.

(quote-props)


[error] 135-135: Unnecessarily quoted property '600' found.

(quote-props)


[error] 136-136: Unnecessarily quoted property '700' found.

(quote-props)


[error] 137-137: Unnecessarily quoted property '800' found.

(quote-props)


[error] 138-138: Unnecessarily quoted property '900' found.

(quote-props)


[error] 139-139: Unnecessarily quoted property '950' found.

(quote-props)


[error] 140-140: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 142-155: Unnecessarily quoted property 'pink' found.

(quote-props)


[error] 143-143: Unnecessarily quoted property '50' found.

(quote-props)


[error] 144-144: Unnecessarily quoted property '100' found.

(quote-props)


[error] 145-145: Unnecessarily quoted property '200' found.

(quote-props)


[error] 146-146: Unnecessarily quoted property '300' found.

(quote-props)


[error] 147-147: Unnecessarily quoted property '400' found.

(quote-props)


[error] 148-148: Unnecessarily quoted property '500' found.

(quote-props)


[error] 149-149: Unnecessarily quoted property '600' found.

(quote-props)


[error] 150-150: Unnecessarily quoted property '700' found.

(quote-props)


[error] 151-151: Unnecessarily quoted property '800' found.

(quote-props)


[error] 152-152: Unnecessarily quoted property '900' found.

(quote-props)


[error] 153-153: Unnecessarily quoted property '950' found.

(quote-props)


[error] 154-154: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 156-169: Unnecessarily quoted property 'plum' found.

(quote-props)


[error] 157-157: Unnecessarily quoted property '50' found.

(quote-props)


[error] 158-158: Unnecessarily quoted property '100' found.

(quote-props)


[error] 159-159: Unnecessarily quoted property '200' found.

(quote-props)


[error] 160-160: Unnecessarily quoted property '300' found.

(quote-props)


[error] 161-161: Unnecessarily quoted property '400' found.

(quote-props)


[error] 162-162: Unnecessarily quoted property '500' found.

(quote-props)


[error] 163-163: Unnecessarily quoted property '600' found.

(quote-props)


[error] 164-164: Unnecessarily quoted property '700' found.

(quote-props)


[error] 165-165: Unnecessarily quoted property '800' found.

(quote-props)


[error] 166-166: Unnecessarily quoted property '900' found.

(quote-props)


[error] 167-167: Unnecessarily quoted property '950' found.

(quote-props)


[error] 168-168: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 170-183: Unnecessarily quoted property 'purple' found.

(quote-props)


[error] 171-171: Unnecessarily quoted property '50' found.

(quote-props)


[error] 172-172: Unnecessarily quoted property '100' found.

(quote-props)


[error] 173-173: Unnecessarily quoted property '200' found.

(quote-props)


[error] 174-174: Unnecessarily quoted property '300' found.

(quote-props)


[error] 175-175: Unnecessarily quoted property '400' found.

(quote-props)


[error] 176-176: Unnecessarily quoted property '500' found.

(quote-props)


[error] 177-177: Unnecessarily quoted property '600' found.

(quote-props)


[error] 178-178: Unnecessarily quoted property '700' found.

(quote-props)


[error] 179-179: Unnecessarily quoted property '800' found.

(quote-props)


[error] 180-180: Unnecessarily quoted property '900' found.

(quote-props)


[error] 181-181: Unnecessarily quoted property '950' found.

(quote-props)


[error] 182-182: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 184-197: Unnecessarily quoted property 'violet' found.

(quote-props)


[error] 185-185: Unnecessarily quoted property '50' found.

(quote-props)


[error] 186-186: Unnecessarily quoted property '100' found.

(quote-props)


[error] 187-187: Unnecessarily quoted property '200' found.

(quote-props)


[error] 188-188: Unnecessarily quoted property '300' found.

(quote-props)


[error] 189-189: Unnecessarily quoted property '400' found.

(quote-props)


[error] 190-190: Unnecessarily quoted property '500' found.

(quote-props)


[error] 191-191: Unnecessarily quoted property '600' found.

(quote-props)


[error] 192-192: Unnecessarily quoted property '700' found.

(quote-props)


[error] 193-193: Unnecessarily quoted property '800' found.

(quote-props)


[error] 194-194: Unnecessarily quoted property '900' found.

(quote-props)


[error] 195-195: Unnecessarily quoted property '950' found.

(quote-props)


[error] 196-196: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 198-211: Unnecessarily quoted property 'iris' found.

(quote-props)


[error] 199-199: Unnecessarily quoted property '50' found.

(quote-props)


[error] 200-200: Unnecessarily quoted property '100' found.

(quote-props)


[error] 201-201: Unnecessarily quoted property '200' found.

(quote-props)


[error] 202-202: Unnecessarily quoted property '300' found.

(quote-props)


[error] 203-203: Unnecessarily quoted property '400' found.

(quote-props)


[error] 204-204: Unnecessarily quoted property '500' found.

(quote-props)


[error] 205-205: Unnecessarily quoted property '600' found.

(quote-props)


[error] 206-206: Unnecessarily quoted property '700' found.

(quote-props)


[error] 207-207: Unnecessarily quoted property '800' found.

(quote-props)


[error] 208-208: Unnecessarily quoted property '900' found.

(quote-props)


[error] 209-209: Unnecessarily quoted property '950' found.

(quote-props)


[error] 210-210: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 212-225: Unnecessarily quoted property 'indigo' found.

(quote-props)


[error] 213-213: Unnecessarily quoted property '50' found.

(quote-props)


[error] 214-214: Unnecessarily quoted property '100' found.

(quote-props)


[error] 215-215: Unnecessarily quoted property '200' found.

(quote-props)


[error] 216-216: Unnecessarily quoted property '300' found.

(quote-props)


[error] 217-217: Unnecessarily quoted property '400' found.

(quote-props)


[error] 218-218: Unnecessarily quoted property '500' found.

(quote-props)


[error] 219-219: Unnecessarily quoted property '600' found.

(quote-props)


[error] 220-220: Unnecessarily quoted property '700' found.

(quote-props)


[error] 221-221: Unnecessarily quoted property '800' found.

(quote-props)


[error] 222-222: Unnecessarily quoted property '900' found.

(quote-props)


[error] 223-223: Unnecessarily quoted property '950' found.

(quote-props)


[error] 224-224: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 226-239: Unnecessarily quoted property 'blue' found.

(quote-props)


[error] 227-227: Unnecessarily quoted property '50' found.

(quote-props)


[error] 228-228: Unnecessarily quoted property '100' found.

(quote-props)


[error] 229-229: Unnecessarily quoted property '200' found.

(quote-props)


[error] 230-230: Unnecessarily quoted property '300' found.

(quote-props)


[error] 231-231: Unnecessarily quoted property '400' found.

(quote-props)


[error] 232-232: Unnecessarily quoted property '500' found.

(quote-props)


[error] 233-233: Unnecessarily quoted property '600' found.

(quote-props)


[error] 234-234: Unnecessarily quoted property '700' found.

(quote-props)


[error] 235-235: Unnecessarily quoted property '800' found.

(quote-props)


[error] 236-236: Unnecessarily quoted property '900' found.

(quote-props)


[error] 237-237: Unnecessarily quoted property '950' found.

(quote-props)


[error] 238-238: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 240-253: Unnecessarily quoted property 'cyan' found.

(quote-props)


[error] 241-241: Unnecessarily quoted property '50' found.

(quote-props)


[error] 242-242: Unnecessarily quoted property '100' found.

(quote-props)


[error] 243-243: Unnecessarily quoted property '200' found.

(quote-props)


[error] 244-244: Unnecessarily quoted property '300' found.

(quote-props)


[error] 245-245: Unnecessarily quoted property '400' found.

(quote-props)


[error] 246-246: Unnecessarily quoted property '500' found.

(quote-props)


[error] 247-247: Unnecessarily quoted property '600' found.

(quote-props)


[error] 248-248: Unnecessarily quoted property '700' found.

(quote-props)


[error] 249-249: Unnecessarily quoted property '800' found.

(quote-props)


[error] 250-250: Unnecessarily quoted property '900' found.

(quote-props)


[error] 251-251: Unnecessarily quoted property '950' found.

(quote-props)


[error] 252-252: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 254-267: Unnecessarily quoted property 'teal' found.

(quote-props)


[error] 255-255: Unnecessarily quoted property '50' found.

(quote-props)


[error] 256-256: Unnecessarily quoted property '100' found.

(quote-props)


[error] 257-257: Unnecessarily quoted property '200' found.

(quote-props)


[error] 258-258: Unnecessarily quoted property '300' found.

(quote-props)


[error] 259-259: Unnecessarily quoted property '400' found.

(quote-props)


[error] 260-260: Unnecessarily quoted property '500' found.

(quote-props)


[error] 261-261: Unnecessarily quoted property '600' found.

(quote-props)


[error] 262-262: Unnecessarily quoted property '700' found.

(quote-props)


[error] 263-263: Unnecessarily quoted property '800' found.

(quote-props)


[error] 264-264: Unnecessarily quoted property '900' found.

(quote-props)


[error] 265-265: Unnecessarily quoted property '950' found.

(quote-props)


[error] 266-266: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 268-281: Unnecessarily quoted property 'jade' found.

(quote-props)


[error] 269-269: Unnecessarily quoted property '50' found.

(quote-props)


[error] 270-270: Unnecessarily quoted property '100' found.

(quote-props)


[error] 271-271: Unnecessarily quoted property '200' found.

(quote-props)


[error] 272-272: Unnecessarily quoted property '300' found.

(quote-props)


[error] 273-273: Unnecessarily quoted property '400' found.

(quote-props)


[error] 274-274: Unnecessarily quoted property '500' found.

(quote-props)


[error] 275-275: Unnecessarily quoted property '600' found.

(quote-props)


[error] 276-276: Unnecessarily quoted property '700' found.

(quote-props)


[error] 277-277: Unnecessarily quoted property '800' found.

(quote-props)


[error] 278-278: Unnecessarily quoted property '900' found.

(quote-props)


[error] 279-279: Unnecessarily quoted property '950' found.

(quote-props)


[error] 280-280: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 282-295: Unnecessarily quoted property 'green' found.

(quote-props)


[error] 283-283: Unnecessarily quoted property '50' found.

(quote-props)


[error] 284-284: Unnecessarily quoted property '100' found.

(quote-props)


[error] 285-285: Unnecessarily quoted property '200' found.

(quote-props)


[error] 286-286: Unnecessarily quoted property '300' found.

(quote-props)


[error] 287-287: Unnecessarily quoted property '400' found.

(quote-props)


[error] 288-288: Unnecessarily quoted property '500' found.

(quote-props)


[error] 289-289: Unnecessarily quoted property '600' found.

(quote-props)


[error] 290-290: Unnecessarily quoted property '700' found.

(quote-props)


[error] 291-291: Unnecessarily quoted property '800' found.

(quote-props)


[error] 292-292: Unnecessarily quoted property '900' found.

(quote-props)


[error] 293-293: Unnecessarily quoted property '950' found.

(quote-props)


[error] 294-294: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 296-309: Unnecessarily quoted property 'grass' found.

(quote-props)


[error] 297-297: Unnecessarily quoted property '50' found.

(quote-props)


[error] 298-298: Unnecessarily quoted property '100' found.

(quote-props)


[error] 299-299: Unnecessarily quoted property '200' found.

(quote-props)


[error] 300-300: Unnecessarily quoted property '300' found.

(quote-props)


[error] 301-301: Unnecessarily quoted property '400' found.

(quote-props)


[error] 302-302: Unnecessarily quoted property '500' found.

(quote-props)


[error] 303-303: Unnecessarily quoted property '600' found.

(quote-props)


[error] 304-304: Unnecessarily quoted property '700' found.

(quote-props)


[error] 305-305: Unnecessarily quoted property '800' found.

(quote-props)


[error] 306-306: Unnecessarily quoted property '900' found.

(quote-props)


[error] 307-307: Unnecessarily quoted property '950' found.

(quote-props)


[error] 308-308: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 310-323: Unnecessarily quoted property 'brown' found.

(quote-props)


[error] 311-311: Unnecessarily quoted property '50' found.

(quote-props)


[error] 312-312: Unnecessarily quoted property '100' found.

(quote-props)


[error] 313-313: Unnecessarily quoted property '200' found.

(quote-props)


[error] 314-314: Unnecessarily quoted property '300' found.

(quote-props)


[error] 315-315: Unnecessarily quoted property '400' found.

(quote-props)


[error] 316-316: Unnecessarily quoted property '500' found.

(quote-props)


[error] 317-317: Unnecessarily quoted property '600' found.

(quote-props)


[error] 318-318: Unnecessarily quoted property '700' found.

(quote-props)


[error] 319-319: Unnecessarily quoted property '800' found.

(quote-props)


[error] 320-320: Unnecessarily quoted property '900' found.

(quote-props)


[error] 321-321: Unnecessarily quoted property '950' found.

(quote-props)


[error] 322-322: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 324-337: Unnecessarily quoted property 'bronze' found.

(quote-props)


[error] 325-325: Unnecessarily quoted property '50' found.

(quote-props)


[error] 326-326: Unnecessarily quoted property '100' found.

(quote-props)


[error] 327-327: Unnecessarily quoted property '200' found.

(quote-props)


[error] 328-328: Unnecessarily quoted property '300' found.

(quote-props)


[error] 329-329: Unnecessarily quoted property '400' found.

(quote-props)


[error] 330-330: Unnecessarily quoted property '500' found.

(quote-props)


[error] 331-331: Unnecessarily quoted property '600' found.

(quote-props)


[error] 332-332: Unnecessarily quoted property '700' found.

(quote-props)


[error] 333-333: Unnecessarily quoted property '800' found.

(quote-props)


[error] 334-334: Unnecessarily quoted property '900' found.

(quote-props)


[error] 335-335: Unnecessarily quoted property '950' found.

(quote-props)


[error] 336-336: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 338-351: Unnecessarily quoted property 'gold' found.

(quote-props)


[error] 339-339: Unnecessarily quoted property '50' found.

(quote-props)


[error] 340-340: Unnecessarily quoted property '100' found.

(quote-props)


[error] 341-341: Unnecessarily quoted property '200' found.

(quote-props)


[error] 342-342: Unnecessarily quoted property '300' found.

(quote-props)


[error] 343-343: Unnecessarily quoted property '400' found.

(quote-props)


[error] 344-344: Unnecessarily quoted property '500' found.

(quote-props)


[error] 345-345: Unnecessarily quoted property '600' found.

(quote-props)


[error] 346-346: Unnecessarily quoted property '700' found.

(quote-props)


[error] 347-347: Unnecessarily quoted property '800' found.

(quote-props)


[error] 348-348: Unnecessarily quoted property '900' found.

(quote-props)


[error] 349-349: Unnecessarily quoted property '950' found.

(quote-props)


[error] 350-350: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 352-365: Unnecessarily quoted property 'sky' found.

(quote-props)


[error] 353-353: Unnecessarily quoted property '50' found.

(quote-props)


[error] 354-354: Unnecessarily quoted property '100' found.

(quote-props)


[error] 355-355: Unnecessarily quoted property '200' found.

(quote-props)


[error] 356-356: Unnecessarily quoted property '300' found.

(quote-props)


[error] 357-357: Unnecessarily quoted property '400' found.

(quote-props)


[error] 358-358: Unnecessarily quoted property '500' found.

(quote-props)


[error] 359-359: Unnecessarily quoted property '600' found.

(quote-props)


[error] 360-360: Unnecessarily quoted property '700' found.

(quote-props)


[error] 361-361: Unnecessarily quoted property '800' found.

(quote-props)


[error] 362-362: Unnecessarily quoted property '900' found.

(quote-props)


[error] 363-363: Unnecessarily quoted property '950' found.

(quote-props)


[error] 364-364: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 366-379: Unnecessarily quoted property 'mint' found.

(quote-props)


[error] 367-367: Unnecessarily quoted property '50' found.

(quote-props)


[error] 368-368: Unnecessarily quoted property '100' found.

(quote-props)


[error] 369-369: Unnecessarily quoted property '200' found.

(quote-props)


[error] 370-370: Unnecessarily quoted property '300' found.

(quote-props)


[error] 371-371: Unnecessarily quoted property '400' found.

(quote-props)


[error] 372-372: Unnecessarily quoted property '500' found.

(quote-props)


[error] 373-373: Unnecessarily quoted property '600' found.

(quote-props)


[error] 374-374: Unnecessarily quoted property '700' found.

(quote-props)


[error] 375-375: Unnecessarily quoted property '800' found.

(quote-props)


[error] 376-376: Unnecessarily quoted property '900' found.

(quote-props)


[error] 377-377: Unnecessarily quoted property '950' found.

(quote-props)


[error] 378-378: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 380-393: Unnecessarily quoted property 'lime' found.

(quote-props)


[error] 381-381: Unnecessarily quoted property '50' found.

(quote-props)


[error] 382-382: Unnecessarily quoted property '100' found.

(quote-props)


[error] 383-383: Unnecessarily quoted property '200' found.

(quote-props)


[error] 384-384: Unnecessarily quoted property '300' found.

(quote-props)


[error] 385-385: Unnecessarily quoted property '400' found.

(quote-props)


[error] 386-386: Unnecessarily quoted property '500' found.

(quote-props)


[error] 387-387: Unnecessarily quoted property '600' found.

(quote-props)


[error] 388-388: Unnecessarily quoted property '700' found.

(quote-props)


[error] 389-389: Unnecessarily quoted property '800' found.

(quote-props)


[error] 390-390: Unnecessarily quoted property '900' found.

(quote-props)


[error] 391-391: Unnecessarily quoted property '950' found.

(quote-props)


[error] 392-392: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 394-407: Unnecessarily quoted property 'yellow' found.

(quote-props)


[error] 395-395: Unnecessarily quoted property '50' found.

(quote-props)


[error] 396-396: Unnecessarily quoted property '100' found.

(quote-props)


[error] 397-397: Unnecessarily quoted property '200' found.

(quote-props)


[error] 398-398: Unnecessarily quoted property '300' found.

(quote-props)


[error] 399-399: Unnecessarily quoted property '400' found.

(quote-props)


[error] 400-400: Unnecessarily quoted property '500' found.

(quote-props)


[error] 401-401: Unnecessarily quoted property '600' found.

(quote-props)


[error] 402-402: Unnecessarily quoted property '700' found.

(quote-props)


[error] 403-403: Unnecessarily quoted property '800' found.

(quote-props)


[error] 404-404: Unnecessarily quoted property '900' found.

(quote-props)


[error] 405-405: Unnecessarily quoted property '950' found.

(quote-props)


[error] 406-406: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 408-421: Unnecessarily quoted property 'amber' found.

(quote-props)


[error] 409-409: Unnecessarily quoted property '50' found.

(quote-props)


[error] 410-410: Unnecessarily quoted property '100' found.

(quote-props)


[error] 411-411: Unnecessarily quoted property '200' found.

(quote-props)


[error] 412-412: Unnecessarily quoted property '300' found.

(quote-props)


[error] 413-413: Unnecessarily quoted property '400' found.

(quote-props)


[error] 414-414: Unnecessarily quoted property '500' found.

(quote-props)


[error] 415-415: Unnecessarily quoted property '600' found.

(quote-props)


[error] 416-416: Unnecessarily quoted property '700' found.

(quote-props)


[error] 417-417: Unnecessarily quoted property '800' found.

(quote-props)


[error] 418-418: Unnecessarily quoted property '900' found.

(quote-props)


[error] 419-419: Unnecessarily quoted property '950' found.

(quote-props)


[error] 420-420: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 422-435: Unnecessarily quoted property 'orange' found.

(quote-props)


[error] 423-423: Unnecessarily quoted property '50' found.

(quote-props)


[error] 424-424: Unnecessarily quoted property '100' found.

(quote-props)


[error] 425-425: Unnecessarily quoted property '200' found.

(quote-props)


[error] 426-426: Unnecessarily quoted property '300' found.

(quote-props)


[error] 427-427: Unnecessarily quoted property '400' found.

(quote-props)


[error] 428-428: Unnecessarily quoted property '500' found.

(quote-props)


[error] 429-429: Unnecessarily quoted property '600' found.

(quote-props)


[error] 430-430: Unnecessarily quoted property '700' found.

(quote-props)


[error] 431-431: Unnecessarily quoted property '800' found.

(quote-props)


[error] 432-432: Unnecessarily quoted property '900' found.

(quote-props)


[error] 433-433: Unnecessarily quoted property '950' found.

(quote-props)


[error] 434-434: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 436-436: Newline required at end of file but not found.

(eol-last)

⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: build
🔇 Additional comments (6)
src/components/tools/SandboxEditor/SandboxEditor.tsx (2)

1-1: Remove unused forwardRef import
The cleanup of the forwardRef import from React is correct since it's no longer used in this component.


11-11: Update color tokens import path
The import path for colors has been updated to the new aliased location (~/design-systems/clarity/tokens/colors), matching the recent restructuring.

src/tokenGen/transformers/generateAccentTokens.js (1)

1-1: Update colors import to aliased path
Changed from a relative path to the centralized alias (~/design-systems/clarity/tokens/colors), aligning with other token generation modules.

src/tokenGen/transformers/generateCSSTokens.js (1)

1-1: Update colors import to aliased path
Aligned the import for colors with the new alias (~/design-systems/clarity/tokens/colors), maintaining consistency across transformers.

src/tokenGen/index.js (1)

4-5: Relocate token generator imports to transformers subdirectory
Updated the paths for generateCSSTokens and generateAccentTokens to their new location under ./transformers/, matching the directory restructure.

package.json (1)

54-54: Update: Reflect relocation of token generation script.

The generate-tokens command has been updated to point to ./src/tokenGen/index.js, aligning with the new directory structure. Ensure that the file exists at this path and that the script executes correctly in your local and CI environments.

Comment on lines 1 to +436
export default {
gray: {
50: 'var(--rad-ui-color-gray-50)',
100: 'var(--rad-ui-color-gray-100)',
200: 'var(--rad-ui-color-gray-200)',
300: 'var(--rad-ui-color-gray-300)',
400: 'var(--rad-ui-color-gray-400)',
500: 'var(--rad-ui-color-gray-500)',
600: 'var(--rad-ui-color-gray-600)',
700: 'var(--rad-ui-color-gray-700)',
800: 'var(--rad-ui-color-gray-800)',
900: 'var(--rad-ui-color-gray-900)',
950: 'var(--rad-ui-color-gray-950)',
1000: 'var(--rad-ui-color-gray-1000)'
},
mauve: {
50: 'var(--rad-ui-color-mauve-50)',
100: 'var(--rad-ui-color-mauve-100)',
200: 'var(--rad-ui-color-mauve-200)',
300: 'var(--rad-ui-color-mauve-300)',
400: 'var(--rad-ui-color-mauve-400)',
500: 'var(--rad-ui-color-mauve-500)',
600: 'var(--rad-ui-color-mauve-600)',
700: 'var(--rad-ui-color-mauve-700)',
800: 'var(--rad-ui-color-mauve-800)',
900: 'var(--rad-ui-color-mauve-900)',
950: 'var(--rad-ui-color-mauve-950)',
1000: 'var(--rad-ui-color-mauve-1000)'
},
slate: {
50: 'var(--rad-ui-color-slate-50)',
100: 'var(--rad-ui-color-slate-100)',
200: 'var(--rad-ui-color-slate-200)',
300: 'var(--rad-ui-color-slate-300)',
400: 'var(--rad-ui-color-slate-400)',
500: 'var(--rad-ui-color-slate-500)',
600: 'var(--rad-ui-color-slate-600)',
700: 'var(--rad-ui-color-slate-700)',
800: 'var(--rad-ui-color-slate-800)',
900: 'var(--rad-ui-color-slate-900)',
950: 'var(--rad-ui-color-slate-950)',
1000: 'var(--rad-ui-color-slate-1000)'
},
sage: {
50: 'var(--rad-ui-color-sage-50)',
100: 'var(--rad-ui-color-sage-100)',
200: 'var(--rad-ui-color-sage-200)',
300: 'var(--rad-ui-color-sage-300)',
400: 'var(--rad-ui-color-sage-400)',
500: 'var(--rad-ui-color-sage-500)',
600: 'var(--rad-ui-color-sage-600)',
700: 'var(--rad-ui-color-sage-700)',
800: 'var(--rad-ui-color-sage-800)',
900: 'var(--rad-ui-color-sage-900)',
950: 'var(--rad-ui-color-sage-950)',
1000: 'var(--rad-ui-color-sage-1000)'
},
olive: {
50: 'var(--rad-ui-color-olive-50)',
100: 'var(--rad-ui-color-olive-100)',
200: 'var(--rad-ui-color-olive-200)',
300: 'var(--rad-ui-color-olive-300)',
400: 'var(--rad-ui-color-olive-400)',
500: 'var(--rad-ui-color-olive-500)',
600: 'var(--rad-ui-color-olive-600)',
700: 'var(--rad-ui-color-olive-700)',
800: 'var(--rad-ui-color-olive-800)',
900: 'var(--rad-ui-color-olive-900)',
950: 'var(--rad-ui-color-olive-950)',
1000: 'var(--rad-ui-color-olive-1000)'
},
sand: {
50: 'var(--rad-ui-color-sand-50)',
100: 'var(--rad-ui-color-sand-100)',
200: 'var(--rad-ui-color-sand-200)',
300: 'var(--rad-ui-color-sand-300)',
400: 'var(--rad-ui-color-sand-400)',
500: 'var(--rad-ui-color-sand-500)',
600: 'var(--rad-ui-color-sand-600)',
700: 'var(--rad-ui-color-sand-700)',
800: 'var(--rad-ui-color-sand-800)',
900: 'var(--rad-ui-color-sand-900)',
950: 'var(--rad-ui-color-sand-950)',
1000: 'var(--rad-ui-color-sand-1000)'
},
tomato: {
50: 'var(--rad-ui-color-tomato-50)',
100: 'var(--rad-ui-color-tomato-100)',
200: 'var(--rad-ui-color-tomato-200)',
300: 'var(--rad-ui-color-tomato-300)',
400: 'var(--rad-ui-color-tomato-400)',
500: 'var(--rad-ui-color-tomato-500)',
600: 'var(--rad-ui-color-tomato-600)',
700: 'var(--rad-ui-color-tomato-700)',
800: 'var(--rad-ui-color-tomato-800)',
900: 'var(--rad-ui-color-tomato-900)',
950: 'var(--rad-ui-color-tomato-950)',
1000: 'var(--rad-ui-color-tomato-1000)'
},
red: {
50: 'var(--rad-ui-color-red-50)',
100: 'var(--rad-ui-color-red-100)',
200: 'var(--rad-ui-color-red-200)',
300: 'var(--rad-ui-color-red-300)',
400: 'var(--rad-ui-color-red-400)',
500: 'var(--rad-ui-color-red-500)',
600: 'var(--rad-ui-color-red-600)',
700: 'var(--rad-ui-color-red-700)',
800: 'var(--rad-ui-color-red-800)',
900: 'var(--rad-ui-color-red-900)',
950: 'var(--rad-ui-color-red-950)',
1000: 'var(--rad-ui-color-red-1000)'
},
ruby: {
50: 'var(--rad-ui-color-ruby-50)',
100: 'var(--rad-ui-color-ruby-100)',
200: 'var(--rad-ui-color-ruby-200)',
300: 'var(--rad-ui-color-ruby-300)',
400: 'var(--rad-ui-color-ruby-400)',
500: 'var(--rad-ui-color-ruby-500)',
600: 'var(--rad-ui-color-ruby-600)',
700: 'var(--rad-ui-color-ruby-700)',
800: 'var(--rad-ui-color-ruby-800)',
900: 'var(--rad-ui-color-ruby-900)',
950: 'var(--rad-ui-color-ruby-950)',
1000: 'var(--rad-ui-color-ruby-1000)'
},
crimson: {
50: 'var(--rad-ui-color-crimson-50)',
100: 'var(--rad-ui-color-crimson-100)',
200: 'var(--rad-ui-color-crimson-200)',
300: 'var(--rad-ui-color-crimson-300)',
400: 'var(--rad-ui-color-crimson-400)',
500: 'var(--rad-ui-color-crimson-500)',
600: 'var(--rad-ui-color-crimson-600)',
700: 'var(--rad-ui-color-crimson-700)',
800: 'var(--rad-ui-color-crimson-800)',
900: 'var(--rad-ui-color-crimson-900)',
950: 'var(--rad-ui-color-crimson-950)',
1000: 'var(--rad-ui-color-crimson-1000)'
},
pink: {
50: 'var(--rad-ui-color-pink-50)',
100: 'var(--rad-ui-color-pink-100)',
200: 'var(--rad-ui-color-pink-200)',
300: 'var(--rad-ui-color-pink-300)',
400: 'var(--rad-ui-color-pink-400)',
500: 'var(--rad-ui-color-pink-500)',
600: 'var(--rad-ui-color-pink-600)',
700: 'var(--rad-ui-color-pink-700)',
800: 'var(--rad-ui-color-pink-800)',
900: 'var(--rad-ui-color-pink-900)',
950: 'var(--rad-ui-color-pink-950)',
1000: 'var(--rad-ui-color-pink-1000)'
},
plum: {
50: 'var(--rad-ui-color-plum-50)',
100: 'var(--rad-ui-color-plum-100)',
200: 'var(--rad-ui-color-plum-200)',
300: 'var(--rad-ui-color-plum-300)',
400: 'var(--rad-ui-color-plum-400)',
500: 'var(--rad-ui-color-plum-500)',
600: 'var(--rad-ui-color-plum-600)',
700: 'var(--rad-ui-color-plum-700)',
800: 'var(--rad-ui-color-plum-800)',
900: 'var(--rad-ui-color-plum-900)',
950: 'var(--rad-ui-color-plum-950)',
1000: 'var(--rad-ui-color-plum-1000)'
},
purple: {
50: 'var(--rad-ui-color-purple-50)',
100: 'var(--rad-ui-color-purple-100)',
200: 'var(--rad-ui-color-purple-200)',
300: 'var(--rad-ui-color-purple-300)',
400: 'var(--rad-ui-color-purple-400)',
500: 'var(--rad-ui-color-purple-500)',
600: 'var(--rad-ui-color-purple-600)',
700: 'var(--rad-ui-color-purple-700)',
800: 'var(--rad-ui-color-purple-800)',
900: 'var(--rad-ui-color-purple-900)',
950: 'var(--rad-ui-color-purple-950)',
1000: 'var(--rad-ui-color-purple-1000)'
},
violet: {
50: 'var(--rad-ui-color-violet-50)',
100: 'var(--rad-ui-color-violet-100)',
200: 'var(--rad-ui-color-violet-200)',
300: 'var(--rad-ui-color-violet-300)',
400: 'var(--rad-ui-color-violet-400)',
500: 'var(--rad-ui-color-violet-500)',
600: 'var(--rad-ui-color-violet-600)',
700: 'var(--rad-ui-color-violet-700)',
800: 'var(--rad-ui-color-violet-800)',
900: 'var(--rad-ui-color-violet-900)',
950: 'var(--rad-ui-color-violet-950)',
1000: 'var(--rad-ui-color-violet-1000)'
},
iris: {
50: 'var(--rad-ui-color-iris-50)',
100: 'var(--rad-ui-color-iris-100)',
200: 'var(--rad-ui-color-iris-200)',
300: 'var(--rad-ui-color-iris-300)',
400: 'var(--rad-ui-color-iris-400)',
500: 'var(--rad-ui-color-iris-500)',
600: 'var(--rad-ui-color-iris-600)',
700: 'var(--rad-ui-color-iris-700)',
800: 'var(--rad-ui-color-iris-800)',
900: 'var(--rad-ui-color-iris-900)',
950: 'var(--rad-ui-color-iris-950)',
1000: 'var(--rad-ui-color-iris-1000)'
},
indigo: {
50: 'var(--rad-ui-color-indigo-50)',
100: 'var(--rad-ui-color-indigo-100)',
200: 'var(--rad-ui-color-indigo-200)',
300: 'var(--rad-ui-color-indigo-300)',
400: 'var(--rad-ui-color-indigo-400)',
500: 'var(--rad-ui-color-indigo-500)',
600: 'var(--rad-ui-color-indigo-600)',
700: 'var(--rad-ui-color-indigo-700)',
800: 'var(--rad-ui-color-indigo-800)',
900: 'var(--rad-ui-color-indigo-900)',
950: 'var(--rad-ui-color-indigo-950)',
1000: 'var(--rad-ui-color-indigo-1000)'
},
blue: {
50: 'var(--rad-ui-color-blue-50)',
100: 'var(--rad-ui-color-blue-100)',
200: 'var(--rad-ui-color-blue-200)',
300: 'var(--rad-ui-color-blue-300)',
400: 'var(--rad-ui-color-blue-400)',
500: 'var(--rad-ui-color-blue-500)',
600: 'var(--rad-ui-color-blue-600)',
700: 'var(--rad-ui-color-blue-700)',
800: 'var(--rad-ui-color-blue-800)',
900: 'var(--rad-ui-color-blue-900)',
950: 'var(--rad-ui-color-blue-950)',
1000: 'var(--rad-ui-color-blue-1000)'
},
cyan: {
50: 'var(--rad-ui-color-cyan-50)',
100: 'var(--rad-ui-color-cyan-100)',
200: 'var(--rad-ui-color-cyan-200)',
300: 'var(--rad-ui-color-cyan-300)',
400: 'var(--rad-ui-color-cyan-400)',
500: 'var(--rad-ui-color-cyan-500)',
600: 'var(--rad-ui-color-cyan-600)',
700: 'var(--rad-ui-color-cyan-700)',
800: 'var(--rad-ui-color-cyan-800)',
900: 'var(--rad-ui-color-cyan-900)',
950: 'var(--rad-ui-color-cyan-950)',
1000: 'var(--rad-ui-color-cyan-1000)'
},
teal: {
50: 'var(--rad-ui-color-teal-50)',
100: 'var(--rad-ui-color-teal-100)',
200: 'var(--rad-ui-color-teal-200)',
300: 'var(--rad-ui-color-teal-300)',
400: 'var(--rad-ui-color-teal-400)',
500: 'var(--rad-ui-color-teal-500)',
600: 'var(--rad-ui-color-teal-600)',
700: 'var(--rad-ui-color-teal-700)',
800: 'var(--rad-ui-color-teal-800)',
900: 'var(--rad-ui-color-teal-900)',
950: 'var(--rad-ui-color-teal-950)',
1000: 'var(--rad-ui-color-teal-1000)'
},
jade: {
50: 'var(--rad-ui-color-jade-50)',
100: 'var(--rad-ui-color-jade-100)',
200: 'var(--rad-ui-color-jade-200)',
300: 'var(--rad-ui-color-jade-300)',
400: 'var(--rad-ui-color-jade-400)',
500: 'var(--rad-ui-color-jade-500)',
600: 'var(--rad-ui-color-jade-600)',
700: 'var(--rad-ui-color-jade-700)',
800: 'var(--rad-ui-color-jade-800)',
900: 'var(--rad-ui-color-jade-900)',
950: 'var(--rad-ui-color-jade-950)',
1000: 'var(--rad-ui-color-jade-1000)'
},
green: {
50: 'var(--rad-ui-color-green-50)',
100: 'var(--rad-ui-color-green-100)',
200: 'var(--rad-ui-color-green-200)',
300: 'var(--rad-ui-color-green-300)',
400: 'var(--rad-ui-color-green-400)',
500: 'var(--rad-ui-color-green-500)',
600: 'var(--rad-ui-color-green-600)',
700: 'var(--rad-ui-color-green-700)',
800: 'var(--rad-ui-color-green-800)',
900: 'var(--rad-ui-color-green-900)',
950: 'var(--rad-ui-color-green-950)',
1000: 'var(--rad-ui-color-green-1000)'
},
grass: {
50: 'var(--rad-ui-color-grass-50)',
100: 'var(--rad-ui-color-grass-100)',
200: 'var(--rad-ui-color-grass-200)',
300: 'var(--rad-ui-color-grass-300)',
400: 'var(--rad-ui-color-grass-400)',
500: 'var(--rad-ui-color-grass-500)',
600: 'var(--rad-ui-color-grass-600)',
700: 'var(--rad-ui-color-grass-700)',
800: 'var(--rad-ui-color-grass-800)',
900: 'var(--rad-ui-color-grass-900)',
950: 'var(--rad-ui-color-grass-950)',
1000: 'var(--rad-ui-color-grass-1000)'
},
brown: {
50: 'var(--rad-ui-color-brown-50)',
100: 'var(--rad-ui-color-brown-100)',
200: 'var(--rad-ui-color-brown-200)',
300: 'var(--rad-ui-color-brown-300)',
400: 'var(--rad-ui-color-brown-400)',
500: 'var(--rad-ui-color-brown-500)',
600: 'var(--rad-ui-color-brown-600)',
700: 'var(--rad-ui-color-brown-700)',
800: 'var(--rad-ui-color-brown-800)',
900: 'var(--rad-ui-color-brown-900)',
950: 'var(--rad-ui-color-brown-950)',
1000: 'var(--rad-ui-color-brown-1000)'
},
bronze: {
50: 'var(--rad-ui-color-bronze-50)',
100: 'var(--rad-ui-color-bronze-100)',
200: 'var(--rad-ui-color-bronze-200)',
300: 'var(--rad-ui-color-bronze-300)',
400: 'var(--rad-ui-color-bronze-400)',
500: 'var(--rad-ui-color-bronze-500)',
600: 'var(--rad-ui-color-bronze-600)',
700: 'var(--rad-ui-color-bronze-700)',
800: 'var(--rad-ui-color-bronze-800)',
900: 'var(--rad-ui-color-bronze-900)',
950: 'var(--rad-ui-color-bronze-950)',
1000: 'var(--rad-ui-color-bronze-1000)'
},
gold: {
50: 'var(--rad-ui-color-gold-50)',
100: 'var(--rad-ui-color-gold-100)',
200: 'var(--rad-ui-color-gold-200)',
300: 'var(--rad-ui-color-gold-300)',
400: 'var(--rad-ui-color-gold-400)',
500: 'var(--rad-ui-color-gold-500)',
600: 'var(--rad-ui-color-gold-600)',
700: 'var(--rad-ui-color-gold-700)',
800: 'var(--rad-ui-color-gold-800)',
900: 'var(--rad-ui-color-gold-900)',
950: 'var(--rad-ui-color-gold-950)',
1000: 'var(--rad-ui-color-gold-1000)'
},
sky: {
50: 'var(--rad-ui-color-sky-50)',
100: 'var(--rad-ui-color-sky-100)',
200: 'var(--rad-ui-color-sky-200)',
300: 'var(--rad-ui-color-sky-300)',
400: 'var(--rad-ui-color-sky-400)',
500: 'var(--rad-ui-color-sky-500)',
600: 'var(--rad-ui-color-sky-600)',
700: 'var(--rad-ui-color-sky-700)',
800: 'var(--rad-ui-color-sky-800)',
900: 'var(--rad-ui-color-sky-900)',
950: 'var(--rad-ui-color-sky-950)',
1000: 'var(--rad-ui-color-sky-1000)'
},
mint: {
50: 'var(--rad-ui-color-mint-50)',
100: 'var(--rad-ui-color-mint-100)',
200: 'var(--rad-ui-color-mint-200)',
300: 'var(--rad-ui-color-mint-300)',
400: 'var(--rad-ui-color-mint-400)',
500: 'var(--rad-ui-color-mint-500)',
600: 'var(--rad-ui-color-mint-600)',
700: 'var(--rad-ui-color-mint-700)',
800: 'var(--rad-ui-color-mint-800)',
900: 'var(--rad-ui-color-mint-900)',
950: 'var(--rad-ui-color-mint-950)',
1000: 'var(--rad-ui-color-mint-1000)'
},
lime: {
50: 'var(--rad-ui-color-lime-50)',
100: 'var(--rad-ui-color-lime-100)',
200: 'var(--rad-ui-color-lime-200)',
300: 'var(--rad-ui-color-lime-300)',
400: 'var(--rad-ui-color-lime-400)',
500: 'var(--rad-ui-color-lime-500)',
600: 'var(--rad-ui-color-lime-600)',
700: 'var(--rad-ui-color-lime-700)',
800: 'var(--rad-ui-color-lime-800)',
900: 'var(--rad-ui-color-lime-900)',
950: 'var(--rad-ui-color-lime-950)',
1000: 'var(--rad-ui-color-lime-1000)'
},
yellow: {
50: 'var(--rad-ui-color-yellow-50)',
100: 'var(--rad-ui-color-yellow-100)',
200: 'var(--rad-ui-color-yellow-200)',
300: 'var(--rad-ui-color-yellow-300)',
400: 'var(--rad-ui-color-yellow-400)',
500: 'var(--rad-ui-color-yellow-500)',
600: 'var(--rad-ui-color-yellow-600)',
700: 'var(--rad-ui-color-yellow-700)',
800: 'var(--rad-ui-color-yellow-800)',
900: 'var(--rad-ui-color-yellow-900)',
950: 'var(--rad-ui-color-yellow-950)',
1000: 'var(--rad-ui-color-yellow-1000)'
},
amber: {
50: 'var(--rad-ui-color-amber-50)',
100: 'var(--rad-ui-color-amber-100)',
200: 'var(--rad-ui-color-amber-200)',
300: 'var(--rad-ui-color-amber-300)',
400: 'var(--rad-ui-color-amber-400)',
500: 'var(--rad-ui-color-amber-500)',
600: 'var(--rad-ui-color-amber-600)',
700: 'var(--rad-ui-color-amber-700)',
800: 'var(--rad-ui-color-amber-800)',
900: 'var(--rad-ui-color-amber-900)',
950: 'var(--rad-ui-color-amber-950)',
1000: 'var(--rad-ui-color-amber-1000)'
},
orange: {
50: 'var(--rad-ui-color-orange-50)',
100: 'var(--rad-ui-color-orange-100)',
200: 'var(--rad-ui-color-orange-200)',
300: 'var(--rad-ui-color-orange-300)',
400: 'var(--rad-ui-color-orange-400)',
500: 'var(--rad-ui-color-orange-500)',
600: 'var(--rad-ui-color-orange-600)',
700: 'var(--rad-ui-color-orange-700)',
800: 'var(--rad-ui-color-orange-800)',
900: 'var(--rad-ui-color-orange-900)',
950: 'var(--rad-ui-color-orange-950)',
1000: 'var(--rad-ui-color-orange-1000)'
}
};
"gray": {
"50": "var(--rad-ui-color-gray-50)",
"100": "var(--rad-ui-color-gray-100)",
"200": "var(--rad-ui-color-gray-200)",
"300": "var(--rad-ui-color-gray-300)",
"400": "var(--rad-ui-color-gray-400)",
"500": "var(--rad-ui-color-gray-500)",
"600": "var(--rad-ui-color-gray-600)",
"700": "var(--rad-ui-color-gray-700)",
"800": "var(--rad-ui-color-gray-800)",
"900": "var(--rad-ui-color-gray-900)",
"950": "var(--rad-ui-color-gray-950)",
"1000": "var(--rad-ui-color-gray-1000)"
},
"mauve": {
"50": "var(--rad-ui-color-mauve-50)",
"100": "var(--rad-ui-color-mauve-100)",
"200": "var(--rad-ui-color-mauve-200)",
"300": "var(--rad-ui-color-mauve-300)",
"400": "var(--rad-ui-color-mauve-400)",
"500": "var(--rad-ui-color-mauve-500)",
"600": "var(--rad-ui-color-mauve-600)",
"700": "var(--rad-ui-color-mauve-700)",
"800": "var(--rad-ui-color-mauve-800)",
"900": "var(--rad-ui-color-mauve-900)",
"950": "var(--rad-ui-color-mauve-950)",
"1000": "var(--rad-ui-color-mauve-1000)"
},
"slate": {
"50": "var(--rad-ui-color-slate-50)",
"100": "var(--rad-ui-color-slate-100)",
"200": "var(--rad-ui-color-slate-200)",
"300": "var(--rad-ui-color-slate-300)",
"400": "var(--rad-ui-color-slate-400)",
"500": "var(--rad-ui-color-slate-500)",
"600": "var(--rad-ui-color-slate-600)",
"700": "var(--rad-ui-color-slate-700)",
"800": "var(--rad-ui-color-slate-800)",
"900": "var(--rad-ui-color-slate-900)",
"950": "var(--rad-ui-color-slate-950)",
"1000": "var(--rad-ui-color-slate-1000)"
},
"sage": {
"50": "var(--rad-ui-color-sage-50)",
"100": "var(--rad-ui-color-sage-100)",
"200": "var(--rad-ui-color-sage-200)",
"300": "var(--rad-ui-color-sage-300)",
"400": "var(--rad-ui-color-sage-400)",
"500": "var(--rad-ui-color-sage-500)",
"600": "var(--rad-ui-color-sage-600)",
"700": "var(--rad-ui-color-sage-700)",
"800": "var(--rad-ui-color-sage-800)",
"900": "var(--rad-ui-color-sage-900)",
"950": "var(--rad-ui-color-sage-950)",
"1000": "var(--rad-ui-color-sage-1000)"
},
"olive": {
"50": "var(--rad-ui-color-olive-50)",
"100": "var(--rad-ui-color-olive-100)",
"200": "var(--rad-ui-color-olive-200)",
"300": "var(--rad-ui-color-olive-300)",
"400": "var(--rad-ui-color-olive-400)",
"500": "var(--rad-ui-color-olive-500)",
"600": "var(--rad-ui-color-olive-600)",
"700": "var(--rad-ui-color-olive-700)",
"800": "var(--rad-ui-color-olive-800)",
"900": "var(--rad-ui-color-olive-900)",
"950": "var(--rad-ui-color-olive-950)",
"1000": "var(--rad-ui-color-olive-1000)"
},
"sand": {
"50": "var(--rad-ui-color-sand-50)",
"100": "var(--rad-ui-color-sand-100)",
"200": "var(--rad-ui-color-sand-200)",
"300": "var(--rad-ui-color-sand-300)",
"400": "var(--rad-ui-color-sand-400)",
"500": "var(--rad-ui-color-sand-500)",
"600": "var(--rad-ui-color-sand-600)",
"700": "var(--rad-ui-color-sand-700)",
"800": "var(--rad-ui-color-sand-800)",
"900": "var(--rad-ui-color-sand-900)",
"950": "var(--rad-ui-color-sand-950)",
"1000": "var(--rad-ui-color-sand-1000)"
},
"tomato": {
"50": "var(--rad-ui-color-tomato-50)",
"100": "var(--rad-ui-color-tomato-100)",
"200": "var(--rad-ui-color-tomato-200)",
"300": "var(--rad-ui-color-tomato-300)",
"400": "var(--rad-ui-color-tomato-400)",
"500": "var(--rad-ui-color-tomato-500)",
"600": "var(--rad-ui-color-tomato-600)",
"700": "var(--rad-ui-color-tomato-700)",
"800": "var(--rad-ui-color-tomato-800)",
"900": "var(--rad-ui-color-tomato-900)",
"950": "var(--rad-ui-color-tomato-950)",
"1000": "var(--rad-ui-color-tomato-1000)"
},
"red": {
"50": "var(--rad-ui-color-red-50)",
"100": "var(--rad-ui-color-red-100)",
"200": "var(--rad-ui-color-red-200)",
"300": "var(--rad-ui-color-red-300)",
"400": "var(--rad-ui-color-red-400)",
"500": "var(--rad-ui-color-red-500)",
"600": "var(--rad-ui-color-red-600)",
"700": "var(--rad-ui-color-red-700)",
"800": "var(--rad-ui-color-red-800)",
"900": "var(--rad-ui-color-red-900)",
"950": "var(--rad-ui-color-red-950)",
"1000": "var(--rad-ui-color-red-1000)"
},
"ruby": {
"50": "var(--rad-ui-color-ruby-50)",
"100": "var(--rad-ui-color-ruby-100)",
"200": "var(--rad-ui-color-ruby-200)",
"300": "var(--rad-ui-color-ruby-300)",
"400": "var(--rad-ui-color-ruby-400)",
"500": "var(--rad-ui-color-ruby-500)",
"600": "var(--rad-ui-color-ruby-600)",
"700": "var(--rad-ui-color-ruby-700)",
"800": "var(--rad-ui-color-ruby-800)",
"900": "var(--rad-ui-color-ruby-900)",
"950": "var(--rad-ui-color-ruby-950)",
"1000": "var(--rad-ui-color-ruby-1000)"
},
"crimson": {
"50": "var(--rad-ui-color-crimson-50)",
"100": "var(--rad-ui-color-crimson-100)",
"200": "var(--rad-ui-color-crimson-200)",
"300": "var(--rad-ui-color-crimson-300)",
"400": "var(--rad-ui-color-crimson-400)",
"500": "var(--rad-ui-color-crimson-500)",
"600": "var(--rad-ui-color-crimson-600)",
"700": "var(--rad-ui-color-crimson-700)",
"800": "var(--rad-ui-color-crimson-800)",
"900": "var(--rad-ui-color-crimson-900)",
"950": "var(--rad-ui-color-crimson-950)",
"1000": "var(--rad-ui-color-crimson-1000)"
},
"pink": {
"50": "var(--rad-ui-color-pink-50)",
"100": "var(--rad-ui-color-pink-100)",
"200": "var(--rad-ui-color-pink-200)",
"300": "var(--rad-ui-color-pink-300)",
"400": "var(--rad-ui-color-pink-400)",
"500": "var(--rad-ui-color-pink-500)",
"600": "var(--rad-ui-color-pink-600)",
"700": "var(--rad-ui-color-pink-700)",
"800": "var(--rad-ui-color-pink-800)",
"900": "var(--rad-ui-color-pink-900)",
"950": "var(--rad-ui-color-pink-950)",
"1000": "var(--rad-ui-color-pink-1000)"
},
"plum": {
"50": "var(--rad-ui-color-plum-50)",
"100": "var(--rad-ui-color-plum-100)",
"200": "var(--rad-ui-color-plum-200)",
"300": "var(--rad-ui-color-plum-300)",
"400": "var(--rad-ui-color-plum-400)",
"500": "var(--rad-ui-color-plum-500)",
"600": "var(--rad-ui-color-plum-600)",
"700": "var(--rad-ui-color-plum-700)",
"800": "var(--rad-ui-color-plum-800)",
"900": "var(--rad-ui-color-plum-900)",
"950": "var(--rad-ui-color-plum-950)",
"1000": "var(--rad-ui-color-plum-1000)"
},
"purple": {
"50": "var(--rad-ui-color-purple-50)",
"100": "var(--rad-ui-color-purple-100)",
"200": "var(--rad-ui-color-purple-200)",
"300": "var(--rad-ui-color-purple-300)",
"400": "var(--rad-ui-color-purple-400)",
"500": "var(--rad-ui-color-purple-500)",
"600": "var(--rad-ui-color-purple-600)",
"700": "var(--rad-ui-color-purple-700)",
"800": "var(--rad-ui-color-purple-800)",
"900": "var(--rad-ui-color-purple-900)",
"950": "var(--rad-ui-color-purple-950)",
"1000": "var(--rad-ui-color-purple-1000)"
},
"violet": {
"50": "var(--rad-ui-color-violet-50)",
"100": "var(--rad-ui-color-violet-100)",
"200": "var(--rad-ui-color-violet-200)",
"300": "var(--rad-ui-color-violet-300)",
"400": "var(--rad-ui-color-violet-400)",
"500": "var(--rad-ui-color-violet-500)",
"600": "var(--rad-ui-color-violet-600)",
"700": "var(--rad-ui-color-violet-700)",
"800": "var(--rad-ui-color-violet-800)",
"900": "var(--rad-ui-color-violet-900)",
"950": "var(--rad-ui-color-violet-950)",
"1000": "var(--rad-ui-color-violet-1000)"
},
"iris": {
"50": "var(--rad-ui-color-iris-50)",
"100": "var(--rad-ui-color-iris-100)",
"200": "var(--rad-ui-color-iris-200)",
"300": "var(--rad-ui-color-iris-300)",
"400": "var(--rad-ui-color-iris-400)",
"500": "var(--rad-ui-color-iris-500)",
"600": "var(--rad-ui-color-iris-600)",
"700": "var(--rad-ui-color-iris-700)",
"800": "var(--rad-ui-color-iris-800)",
"900": "var(--rad-ui-color-iris-900)",
"950": "var(--rad-ui-color-iris-950)",
"1000": "var(--rad-ui-color-iris-1000)"
},
"indigo": {
"50": "var(--rad-ui-color-indigo-50)",
"100": "var(--rad-ui-color-indigo-100)",
"200": "var(--rad-ui-color-indigo-200)",
"300": "var(--rad-ui-color-indigo-300)",
"400": "var(--rad-ui-color-indigo-400)",
"500": "var(--rad-ui-color-indigo-500)",
"600": "var(--rad-ui-color-indigo-600)",
"700": "var(--rad-ui-color-indigo-700)",
"800": "var(--rad-ui-color-indigo-800)",
"900": "var(--rad-ui-color-indigo-900)",
"950": "var(--rad-ui-color-indigo-950)",
"1000": "var(--rad-ui-color-indigo-1000)"
},
"blue": {
"50": "var(--rad-ui-color-blue-50)",
"100": "var(--rad-ui-color-blue-100)",
"200": "var(--rad-ui-color-blue-200)",
"300": "var(--rad-ui-color-blue-300)",
"400": "var(--rad-ui-color-blue-400)",
"500": "var(--rad-ui-color-blue-500)",
"600": "var(--rad-ui-color-blue-600)",
"700": "var(--rad-ui-color-blue-700)",
"800": "var(--rad-ui-color-blue-800)",
"900": "var(--rad-ui-color-blue-900)",
"950": "var(--rad-ui-color-blue-950)",
"1000": "var(--rad-ui-color-blue-1000)"
},
"cyan": {
"50": "var(--rad-ui-color-cyan-50)",
"100": "var(--rad-ui-color-cyan-100)",
"200": "var(--rad-ui-color-cyan-200)",
"300": "var(--rad-ui-color-cyan-300)",
"400": "var(--rad-ui-color-cyan-400)",
"500": "var(--rad-ui-color-cyan-500)",
"600": "var(--rad-ui-color-cyan-600)",
"700": "var(--rad-ui-color-cyan-700)",
"800": "var(--rad-ui-color-cyan-800)",
"900": "var(--rad-ui-color-cyan-900)",
"950": "var(--rad-ui-color-cyan-950)",
"1000": "var(--rad-ui-color-cyan-1000)"
},
"teal": {
"50": "var(--rad-ui-color-teal-50)",
"100": "var(--rad-ui-color-teal-100)",
"200": "var(--rad-ui-color-teal-200)",
"300": "var(--rad-ui-color-teal-300)",
"400": "var(--rad-ui-color-teal-400)",
"500": "var(--rad-ui-color-teal-500)",
"600": "var(--rad-ui-color-teal-600)",
"700": "var(--rad-ui-color-teal-700)",
"800": "var(--rad-ui-color-teal-800)",
"900": "var(--rad-ui-color-teal-900)",
"950": "var(--rad-ui-color-teal-950)",
"1000": "var(--rad-ui-color-teal-1000)"
},
"jade": {
"50": "var(--rad-ui-color-jade-50)",
"100": "var(--rad-ui-color-jade-100)",
"200": "var(--rad-ui-color-jade-200)",
"300": "var(--rad-ui-color-jade-300)",
"400": "var(--rad-ui-color-jade-400)",
"500": "var(--rad-ui-color-jade-500)",
"600": "var(--rad-ui-color-jade-600)",
"700": "var(--rad-ui-color-jade-700)",
"800": "var(--rad-ui-color-jade-800)",
"900": "var(--rad-ui-color-jade-900)",
"950": "var(--rad-ui-color-jade-950)",
"1000": "var(--rad-ui-color-jade-1000)"
},
"green": {
"50": "var(--rad-ui-color-green-50)",
"100": "var(--rad-ui-color-green-100)",
"200": "var(--rad-ui-color-green-200)",
"300": "var(--rad-ui-color-green-300)",
"400": "var(--rad-ui-color-green-400)",
"500": "var(--rad-ui-color-green-500)",
"600": "var(--rad-ui-color-green-600)",
"700": "var(--rad-ui-color-green-700)",
"800": "var(--rad-ui-color-green-800)",
"900": "var(--rad-ui-color-green-900)",
"950": "var(--rad-ui-color-green-950)",
"1000": "var(--rad-ui-color-green-1000)"
},
"grass": {
"50": "var(--rad-ui-color-grass-50)",
"100": "var(--rad-ui-color-grass-100)",
"200": "var(--rad-ui-color-grass-200)",
"300": "var(--rad-ui-color-grass-300)",
"400": "var(--rad-ui-color-grass-400)",
"500": "var(--rad-ui-color-grass-500)",
"600": "var(--rad-ui-color-grass-600)",
"700": "var(--rad-ui-color-grass-700)",
"800": "var(--rad-ui-color-grass-800)",
"900": "var(--rad-ui-color-grass-900)",
"950": "var(--rad-ui-color-grass-950)",
"1000": "var(--rad-ui-color-grass-1000)"
},
"brown": {
"50": "var(--rad-ui-color-brown-50)",
"100": "var(--rad-ui-color-brown-100)",
"200": "var(--rad-ui-color-brown-200)",
"300": "var(--rad-ui-color-brown-300)",
"400": "var(--rad-ui-color-brown-400)",
"500": "var(--rad-ui-color-brown-500)",
"600": "var(--rad-ui-color-brown-600)",
"700": "var(--rad-ui-color-brown-700)",
"800": "var(--rad-ui-color-brown-800)",
"900": "var(--rad-ui-color-brown-900)",
"950": "var(--rad-ui-color-brown-950)",
"1000": "var(--rad-ui-color-brown-1000)"
},
"bronze": {
"50": "var(--rad-ui-color-bronze-50)",
"100": "var(--rad-ui-color-bronze-100)",
"200": "var(--rad-ui-color-bronze-200)",
"300": "var(--rad-ui-color-bronze-300)",
"400": "var(--rad-ui-color-bronze-400)",
"500": "var(--rad-ui-color-bronze-500)",
"600": "var(--rad-ui-color-bronze-600)",
"700": "var(--rad-ui-color-bronze-700)",
"800": "var(--rad-ui-color-bronze-800)",
"900": "var(--rad-ui-color-bronze-900)",
"950": "var(--rad-ui-color-bronze-950)",
"1000": "var(--rad-ui-color-bronze-1000)"
},
"gold": {
"50": "var(--rad-ui-color-gold-50)",
"100": "var(--rad-ui-color-gold-100)",
"200": "var(--rad-ui-color-gold-200)",
"300": "var(--rad-ui-color-gold-300)",
"400": "var(--rad-ui-color-gold-400)",
"500": "var(--rad-ui-color-gold-500)",
"600": "var(--rad-ui-color-gold-600)",
"700": "var(--rad-ui-color-gold-700)",
"800": "var(--rad-ui-color-gold-800)",
"900": "var(--rad-ui-color-gold-900)",
"950": "var(--rad-ui-color-gold-950)",
"1000": "var(--rad-ui-color-gold-1000)"
},
"sky": {
"50": "var(--rad-ui-color-sky-50)",
"100": "var(--rad-ui-color-sky-100)",
"200": "var(--rad-ui-color-sky-200)",
"300": "var(--rad-ui-color-sky-300)",
"400": "var(--rad-ui-color-sky-400)",
"500": "var(--rad-ui-color-sky-500)",
"600": "var(--rad-ui-color-sky-600)",
"700": "var(--rad-ui-color-sky-700)",
"800": "var(--rad-ui-color-sky-800)",
"900": "var(--rad-ui-color-sky-900)",
"950": "var(--rad-ui-color-sky-950)",
"1000": "var(--rad-ui-color-sky-1000)"
},
"mint": {
"50": "var(--rad-ui-color-mint-50)",
"100": "var(--rad-ui-color-mint-100)",
"200": "var(--rad-ui-color-mint-200)",
"300": "var(--rad-ui-color-mint-300)",
"400": "var(--rad-ui-color-mint-400)",
"500": "var(--rad-ui-color-mint-500)",
"600": "var(--rad-ui-color-mint-600)",
"700": "var(--rad-ui-color-mint-700)",
"800": "var(--rad-ui-color-mint-800)",
"900": "var(--rad-ui-color-mint-900)",
"950": "var(--rad-ui-color-mint-950)",
"1000": "var(--rad-ui-color-mint-1000)"
},
"lime": {
"50": "var(--rad-ui-color-lime-50)",
"100": "var(--rad-ui-color-lime-100)",
"200": "var(--rad-ui-color-lime-200)",
"300": "var(--rad-ui-color-lime-300)",
"400": "var(--rad-ui-color-lime-400)",
"500": "var(--rad-ui-color-lime-500)",
"600": "var(--rad-ui-color-lime-600)",
"700": "var(--rad-ui-color-lime-700)",
"800": "var(--rad-ui-color-lime-800)",
"900": "var(--rad-ui-color-lime-900)",
"950": "var(--rad-ui-color-lime-950)",
"1000": "var(--rad-ui-color-lime-1000)"
},
"yellow": {
"50": "var(--rad-ui-color-yellow-50)",
"100": "var(--rad-ui-color-yellow-100)",
"200": "var(--rad-ui-color-yellow-200)",
"300": "var(--rad-ui-color-yellow-300)",
"400": "var(--rad-ui-color-yellow-400)",
"500": "var(--rad-ui-color-yellow-500)",
"600": "var(--rad-ui-color-yellow-600)",
"700": "var(--rad-ui-color-yellow-700)",
"800": "var(--rad-ui-color-yellow-800)",
"900": "var(--rad-ui-color-yellow-900)",
"950": "var(--rad-ui-color-yellow-950)",
"1000": "var(--rad-ui-color-yellow-1000)"
},
"amber": {
"50": "var(--rad-ui-color-amber-50)",
"100": "var(--rad-ui-color-amber-100)",
"200": "var(--rad-ui-color-amber-200)",
"300": "var(--rad-ui-color-amber-300)",
"400": "var(--rad-ui-color-amber-400)",
"500": "var(--rad-ui-color-amber-500)",
"600": "var(--rad-ui-color-amber-600)",
"700": "var(--rad-ui-color-amber-700)",
"800": "var(--rad-ui-color-amber-800)",
"900": "var(--rad-ui-color-amber-900)",
"950": "var(--rad-ui-color-amber-950)",
"1000": "var(--rad-ui-color-amber-1000)"
},
"orange": {
"50": "var(--rad-ui-color-orange-50)",
"100": "var(--rad-ui-color-orange-100)",
"200": "var(--rad-ui-color-orange-200)",
"300": "var(--rad-ui-color-orange-300)",
"400": "var(--rad-ui-color-orange-400)",
"500": "var(--rad-ui-color-orange-500)",
"600": "var(--rad-ui-color-orange-600)",
"700": "var(--rad-ui-color-orange-700)",
"800": "var(--rad-ui-color-orange-800)",
"900": "var(--rad-ui-color-orange-900)",
"950": "var(--rad-ui-color-orange-950)",
"1000": "var(--rad-ui-color-orange-1000)"
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Disable quote-props rule for this token file
The JSON-like formatting deliberately quotes every key, which conflicts with the ESLint quote-props rule (resulting in hundreds of lint errors). To preserve the consistent style without manually unquoting thousands of keys, add an ESLint directive at the top of the file:

+/* eslint-disable quote-props */
 export default {
   "gray": { … },
   …  
 }

Also ensure there's a newline at the end of the file to satisfy the eol-last rule.

🧰 Tools
🪛 ESLint

[error] 2-15: Unnecessarily quoted property 'gray' found.

(quote-props)


[error] 3-3: Unnecessarily quoted property '50' found.

(quote-props)


[error] 4-4: Unnecessarily quoted property '100' found.

(quote-props)


[error] 5-5: Unnecessarily quoted property '200' found.

(quote-props)


[error] 6-6: Unnecessarily quoted property '300' found.

(quote-props)


[error] 7-7: Unnecessarily quoted property '400' found.

(quote-props)


[error] 8-8: Unnecessarily quoted property '500' found.

(quote-props)


[error] 9-9: Unnecessarily quoted property '600' found.

(quote-props)


[error] 10-10: Unnecessarily quoted property '700' found.

(quote-props)


[error] 11-11: Unnecessarily quoted property '800' found.

(quote-props)


[error] 12-12: Unnecessarily quoted property '900' found.

(quote-props)


[error] 13-13: Unnecessarily quoted property '950' found.

(quote-props)


[error] 14-14: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 16-29: Unnecessarily quoted property 'mauve' found.

(quote-props)


[error] 17-17: Unnecessarily quoted property '50' found.

(quote-props)


[error] 18-18: Unnecessarily quoted property '100' found.

(quote-props)


[error] 19-19: Unnecessarily quoted property '200' found.

(quote-props)


[error] 20-20: Unnecessarily quoted property '300' found.

(quote-props)


[error] 21-21: Unnecessarily quoted property '400' found.

(quote-props)


[error] 22-22: Unnecessarily quoted property '500' found.

(quote-props)


[error] 23-23: Unnecessarily quoted property '600' found.

(quote-props)


[error] 24-24: Unnecessarily quoted property '700' found.

(quote-props)


[error] 25-25: Unnecessarily quoted property '800' found.

(quote-props)


[error] 26-26: Unnecessarily quoted property '900' found.

(quote-props)


[error] 27-27: Unnecessarily quoted property '950' found.

(quote-props)


[error] 28-28: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 30-43: Unnecessarily quoted property 'slate' found.

(quote-props)


[error] 31-31: Unnecessarily quoted property '50' found.

(quote-props)


[error] 32-32: Unnecessarily quoted property '100' found.

(quote-props)


[error] 33-33: Unnecessarily quoted property '200' found.

(quote-props)


[error] 34-34: Unnecessarily quoted property '300' found.

(quote-props)


[error] 35-35: Unnecessarily quoted property '400' found.

(quote-props)


[error] 36-36: Unnecessarily quoted property '500' found.

(quote-props)


[error] 37-37: Unnecessarily quoted property '600' found.

(quote-props)


[error] 38-38: Unnecessarily quoted property '700' found.

(quote-props)


[error] 39-39: Unnecessarily quoted property '800' found.

(quote-props)


[error] 40-40: Unnecessarily quoted property '900' found.

(quote-props)


[error] 41-41: Unnecessarily quoted property '950' found.

(quote-props)


[error] 42-42: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 44-57: Unnecessarily quoted property 'sage' found.

(quote-props)


[error] 45-45: Unnecessarily quoted property '50' found.

(quote-props)


[error] 46-46: Unnecessarily quoted property '100' found.

(quote-props)


[error] 47-47: Unnecessarily quoted property '200' found.

(quote-props)


[error] 48-48: Unnecessarily quoted property '300' found.

(quote-props)


[error] 49-49: Unnecessarily quoted property '400' found.

(quote-props)


[error] 50-50: Unnecessarily quoted property '500' found.

(quote-props)


[error] 51-51: Unnecessarily quoted property '600' found.

(quote-props)


[error] 52-52: Unnecessarily quoted property '700' found.

(quote-props)


[error] 53-53: Unnecessarily quoted property '800' found.

(quote-props)


[error] 54-54: Unnecessarily quoted property '900' found.

(quote-props)


[error] 55-55: Unnecessarily quoted property '950' found.

(quote-props)


[error] 56-56: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 58-71: Unnecessarily quoted property 'olive' found.

(quote-props)


[error] 59-59: Unnecessarily quoted property '50' found.

(quote-props)


[error] 60-60: Unnecessarily quoted property '100' found.

(quote-props)


[error] 61-61: Unnecessarily quoted property '200' found.

(quote-props)


[error] 62-62: Unnecessarily quoted property '300' found.

(quote-props)


[error] 63-63: Unnecessarily quoted property '400' found.

(quote-props)


[error] 64-64: Unnecessarily quoted property '500' found.

(quote-props)


[error] 65-65: Unnecessarily quoted property '600' found.

(quote-props)


[error] 66-66: Unnecessarily quoted property '700' found.

(quote-props)


[error] 67-67: Unnecessarily quoted property '800' found.

(quote-props)


[error] 68-68: Unnecessarily quoted property '900' found.

(quote-props)


[error] 69-69: Unnecessarily quoted property '950' found.

(quote-props)


[error] 70-70: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 72-85: Unnecessarily quoted property 'sand' found.

(quote-props)


[error] 73-73: Unnecessarily quoted property '50' found.

(quote-props)


[error] 74-74: Unnecessarily quoted property '100' found.

(quote-props)


[error] 75-75: Unnecessarily quoted property '200' found.

(quote-props)


[error] 76-76: Unnecessarily quoted property '300' found.

(quote-props)


[error] 77-77: Unnecessarily quoted property '400' found.

(quote-props)


[error] 78-78: Unnecessarily quoted property '500' found.

(quote-props)


[error] 79-79: Unnecessarily quoted property '600' found.

(quote-props)


[error] 80-80: Unnecessarily quoted property '700' found.

(quote-props)


[error] 81-81: Unnecessarily quoted property '800' found.

(quote-props)


[error] 82-82: Unnecessarily quoted property '900' found.

(quote-props)


[error] 83-83: Unnecessarily quoted property '950' found.

(quote-props)


[error] 84-84: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 86-99: Unnecessarily quoted property 'tomato' found.

(quote-props)


[error] 87-87: Unnecessarily quoted property '50' found.

(quote-props)


[error] 88-88: Unnecessarily quoted property '100' found.

(quote-props)


[error] 89-89: Unnecessarily quoted property '200' found.

(quote-props)


[error] 90-90: Unnecessarily quoted property '300' found.

(quote-props)


[error] 91-91: Unnecessarily quoted property '400' found.

(quote-props)


[error] 92-92: Unnecessarily quoted property '500' found.

(quote-props)


[error] 93-93: Unnecessarily quoted property '600' found.

(quote-props)


[error] 94-94: Unnecessarily quoted property '700' found.

(quote-props)


[error] 95-95: Unnecessarily quoted property '800' found.

(quote-props)


[error] 96-96: Unnecessarily quoted property '900' found.

(quote-props)


[error] 97-97: Unnecessarily quoted property '950' found.

(quote-props)


[error] 98-98: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 100-113: Unnecessarily quoted property 'red' found.

(quote-props)


[error] 101-101: Unnecessarily quoted property '50' found.

(quote-props)


[error] 102-102: Unnecessarily quoted property '100' found.

(quote-props)


[error] 103-103: Unnecessarily quoted property '200' found.

(quote-props)


[error] 104-104: Unnecessarily quoted property '300' found.

(quote-props)


[error] 105-105: Unnecessarily quoted property '400' found.

(quote-props)


[error] 106-106: Unnecessarily quoted property '500' found.

(quote-props)


[error] 107-107: Unnecessarily quoted property '600' found.

(quote-props)


[error] 108-108: Unnecessarily quoted property '700' found.

(quote-props)


[error] 109-109: Unnecessarily quoted property '800' found.

(quote-props)


[error] 110-110: Unnecessarily quoted property '900' found.

(quote-props)


[error] 111-111: Unnecessarily quoted property '950' found.

(quote-props)


[error] 112-112: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 114-127: Unnecessarily quoted property 'ruby' found.

(quote-props)


[error] 115-115: Unnecessarily quoted property '50' found.

(quote-props)


[error] 116-116: Unnecessarily quoted property '100' found.

(quote-props)


[error] 117-117: Unnecessarily quoted property '200' found.

(quote-props)


[error] 118-118: Unnecessarily quoted property '300' found.

(quote-props)


[error] 119-119: Unnecessarily quoted property '400' found.

(quote-props)


[error] 120-120: Unnecessarily quoted property '500' found.

(quote-props)


[error] 121-121: Unnecessarily quoted property '600' found.

(quote-props)


[error] 122-122: Unnecessarily quoted property '700' found.

(quote-props)


[error] 123-123: Unnecessarily quoted property '800' found.

(quote-props)


[error] 124-124: Unnecessarily quoted property '900' found.

(quote-props)


[error] 125-125: Unnecessarily quoted property '950' found.

(quote-props)


[error] 126-126: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 128-141: Unnecessarily quoted property 'crimson' found.

(quote-props)


[error] 129-129: Unnecessarily quoted property '50' found.

(quote-props)


[error] 130-130: Unnecessarily quoted property '100' found.

(quote-props)


[error] 131-131: Unnecessarily quoted property '200' found.

(quote-props)


[error] 132-132: Unnecessarily quoted property '300' found.

(quote-props)


[error] 133-133: Unnecessarily quoted property '400' found.

(quote-props)


[error] 134-134: Unnecessarily quoted property '500' found.

(quote-props)


[error] 135-135: Unnecessarily quoted property '600' found.

(quote-props)


[error] 136-136: Unnecessarily quoted property '700' found.

(quote-props)


[error] 137-137: Unnecessarily quoted property '800' found.

(quote-props)


[error] 138-138: Unnecessarily quoted property '900' found.

(quote-props)


[error] 139-139: Unnecessarily quoted property '950' found.

(quote-props)


[error] 140-140: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 142-155: Unnecessarily quoted property 'pink' found.

(quote-props)


[error] 143-143: Unnecessarily quoted property '50' found.

(quote-props)


[error] 144-144: Unnecessarily quoted property '100' found.

(quote-props)


[error] 145-145: Unnecessarily quoted property '200' found.

(quote-props)


[error] 146-146: Unnecessarily quoted property '300' found.

(quote-props)


[error] 147-147: Unnecessarily quoted property '400' found.

(quote-props)


[error] 148-148: Unnecessarily quoted property '500' found.

(quote-props)


[error] 149-149: Unnecessarily quoted property '600' found.

(quote-props)


[error] 150-150: Unnecessarily quoted property '700' found.

(quote-props)


[error] 151-151: Unnecessarily quoted property '800' found.

(quote-props)


[error] 152-152: Unnecessarily quoted property '900' found.

(quote-props)


[error] 153-153: Unnecessarily quoted property '950' found.

(quote-props)


[error] 154-154: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 156-169: Unnecessarily quoted property 'plum' found.

(quote-props)


[error] 157-157: Unnecessarily quoted property '50' found.

(quote-props)


[error] 158-158: Unnecessarily quoted property '100' found.

(quote-props)


[error] 159-159: Unnecessarily quoted property '200' found.

(quote-props)


[error] 160-160: Unnecessarily quoted property '300' found.

(quote-props)


[error] 161-161: Unnecessarily quoted property '400' found.

(quote-props)


[error] 162-162: Unnecessarily quoted property '500' found.

(quote-props)


[error] 163-163: Unnecessarily quoted property '600' found.

(quote-props)


[error] 164-164: Unnecessarily quoted property '700' found.

(quote-props)


[error] 165-165: Unnecessarily quoted property '800' found.

(quote-props)


[error] 166-166: Unnecessarily quoted property '900' found.

(quote-props)


[error] 167-167: Unnecessarily quoted property '950' found.

(quote-props)


[error] 168-168: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 170-183: Unnecessarily quoted property 'purple' found.

(quote-props)


[error] 171-171: Unnecessarily quoted property '50' found.

(quote-props)


[error] 172-172: Unnecessarily quoted property '100' found.

(quote-props)


[error] 173-173: Unnecessarily quoted property '200' found.

(quote-props)


[error] 174-174: Unnecessarily quoted property '300' found.

(quote-props)


[error] 175-175: Unnecessarily quoted property '400' found.

(quote-props)


[error] 176-176: Unnecessarily quoted property '500' found.

(quote-props)


[error] 177-177: Unnecessarily quoted property '600' found.

(quote-props)


[error] 178-178: Unnecessarily quoted property '700' found.

(quote-props)


[error] 179-179: Unnecessarily quoted property '800' found.

(quote-props)


[error] 180-180: Unnecessarily quoted property '900' found.

(quote-props)


[error] 181-181: Unnecessarily quoted property '950' found.

(quote-props)


[error] 182-182: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 184-197: Unnecessarily quoted property 'violet' found.

(quote-props)


[error] 185-185: Unnecessarily quoted property '50' found.

(quote-props)


[error] 186-186: Unnecessarily quoted property '100' found.

(quote-props)


[error] 187-187: Unnecessarily quoted property '200' found.

(quote-props)


[error] 188-188: Unnecessarily quoted property '300' found.

(quote-props)


[error] 189-189: Unnecessarily quoted property '400' found.

(quote-props)


[error] 190-190: Unnecessarily quoted property '500' found.

(quote-props)


[error] 191-191: Unnecessarily quoted property '600' found.

(quote-props)


[error] 192-192: Unnecessarily quoted property '700' found.

(quote-props)


[error] 193-193: Unnecessarily quoted property '800' found.

(quote-props)


[error] 194-194: Unnecessarily quoted property '900' found.

(quote-props)


[error] 195-195: Unnecessarily quoted property '950' found.

(quote-props)


[error] 196-196: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 198-211: Unnecessarily quoted property 'iris' found.

(quote-props)


[error] 199-199: Unnecessarily quoted property '50' found.

(quote-props)


[error] 200-200: Unnecessarily quoted property '100' found.

(quote-props)


[error] 201-201: Unnecessarily quoted property '200' found.

(quote-props)


[error] 202-202: Unnecessarily quoted property '300' found.

(quote-props)


[error] 203-203: Unnecessarily quoted property '400' found.

(quote-props)


[error] 204-204: Unnecessarily quoted property '500' found.

(quote-props)


[error] 205-205: Unnecessarily quoted property '600' found.

(quote-props)


[error] 206-206: Unnecessarily quoted property '700' found.

(quote-props)


[error] 207-207: Unnecessarily quoted property '800' found.

(quote-props)


[error] 208-208: Unnecessarily quoted property '900' found.

(quote-props)


[error] 209-209: Unnecessarily quoted property '950' found.

(quote-props)


[error] 210-210: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 212-225: Unnecessarily quoted property 'indigo' found.

(quote-props)


[error] 213-213: Unnecessarily quoted property '50' found.

(quote-props)


[error] 214-214: Unnecessarily quoted property '100' found.

(quote-props)


[error] 215-215: Unnecessarily quoted property '200' found.

(quote-props)


[error] 216-216: Unnecessarily quoted property '300' found.

(quote-props)


[error] 217-217: Unnecessarily quoted property '400' found.

(quote-props)


[error] 218-218: Unnecessarily quoted property '500' found.

(quote-props)


[error] 219-219: Unnecessarily quoted property '600' found.

(quote-props)


[error] 220-220: Unnecessarily quoted property '700' found.

(quote-props)


[error] 221-221: Unnecessarily quoted property '800' found.

(quote-props)


[error] 222-222: Unnecessarily quoted property '900' found.

(quote-props)


[error] 223-223: Unnecessarily quoted property '950' found.

(quote-props)


[error] 224-224: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 226-239: Unnecessarily quoted property 'blue' found.

(quote-props)


[error] 227-227: Unnecessarily quoted property '50' found.

(quote-props)


[error] 228-228: Unnecessarily quoted property '100' found.

(quote-props)


[error] 229-229: Unnecessarily quoted property '200' found.

(quote-props)


[error] 230-230: Unnecessarily quoted property '300' found.

(quote-props)


[error] 231-231: Unnecessarily quoted property '400' found.

(quote-props)


[error] 232-232: Unnecessarily quoted property '500' found.

(quote-props)


[error] 233-233: Unnecessarily quoted property '600' found.

(quote-props)


[error] 234-234: Unnecessarily quoted property '700' found.

(quote-props)


[error] 235-235: Unnecessarily quoted property '800' found.

(quote-props)


[error] 236-236: Unnecessarily quoted property '900' found.

(quote-props)


[error] 237-237: Unnecessarily quoted property '950' found.

(quote-props)


[error] 238-238: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 240-253: Unnecessarily quoted property 'cyan' found.

(quote-props)


[error] 241-241: Unnecessarily quoted property '50' found.

(quote-props)


[error] 242-242: Unnecessarily quoted property '100' found.

(quote-props)


[error] 243-243: Unnecessarily quoted property '200' found.

(quote-props)


[error] 244-244: Unnecessarily quoted property '300' found.

(quote-props)


[error] 245-245: Unnecessarily quoted property '400' found.

(quote-props)


[error] 246-246: Unnecessarily quoted property '500' found.

(quote-props)


[error] 247-247: Unnecessarily quoted property '600' found.

(quote-props)


[error] 248-248: Unnecessarily quoted property '700' found.

(quote-props)


[error] 249-249: Unnecessarily quoted property '800' found.

(quote-props)


[error] 250-250: Unnecessarily quoted property '900' found.

(quote-props)


[error] 251-251: Unnecessarily quoted property '950' found.

(quote-props)


[error] 252-252: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 254-267: Unnecessarily quoted property 'teal' found.

(quote-props)


[error] 255-255: Unnecessarily quoted property '50' found.

(quote-props)


[error] 256-256: Unnecessarily quoted property '100' found.

(quote-props)


[error] 257-257: Unnecessarily quoted property '200' found.

(quote-props)


[error] 258-258: Unnecessarily quoted property '300' found.

(quote-props)


[error] 259-259: Unnecessarily quoted property '400' found.

(quote-props)


[error] 260-260: Unnecessarily quoted property '500' found.

(quote-props)


[error] 261-261: Unnecessarily quoted property '600' found.

(quote-props)


[error] 262-262: Unnecessarily quoted property '700' found.

(quote-props)


[error] 263-263: Unnecessarily quoted property '800' found.

(quote-props)


[error] 264-264: Unnecessarily quoted property '900' found.

(quote-props)


[error] 265-265: Unnecessarily quoted property '950' found.

(quote-props)


[error] 266-266: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 268-281: Unnecessarily quoted property 'jade' found.

(quote-props)


[error] 269-269: Unnecessarily quoted property '50' found.

(quote-props)


[error] 270-270: Unnecessarily quoted property '100' found.

(quote-props)


[error] 271-271: Unnecessarily quoted property '200' found.

(quote-props)


[error] 272-272: Unnecessarily quoted property '300' found.

(quote-props)


[error] 273-273: Unnecessarily quoted property '400' found.

(quote-props)


[error] 274-274: Unnecessarily quoted property '500' found.

(quote-props)


[error] 275-275: Unnecessarily quoted property '600' found.

(quote-props)


[error] 276-276: Unnecessarily quoted property '700' found.

(quote-props)


[error] 277-277: Unnecessarily quoted property '800' found.

(quote-props)


[error] 278-278: Unnecessarily quoted property '900' found.

(quote-props)


[error] 279-279: Unnecessarily quoted property '950' found.

(quote-props)


[error] 280-280: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 282-295: Unnecessarily quoted property 'green' found.

(quote-props)


[error] 283-283: Unnecessarily quoted property '50' found.

(quote-props)


[error] 284-284: Unnecessarily quoted property '100' found.

(quote-props)


[error] 285-285: Unnecessarily quoted property '200' found.

(quote-props)


[error] 286-286: Unnecessarily quoted property '300' found.

(quote-props)


[error] 287-287: Unnecessarily quoted property '400' found.

(quote-props)


[error] 288-288: Unnecessarily quoted property '500' found.

(quote-props)


[error] 289-289: Unnecessarily quoted property '600' found.

(quote-props)


[error] 290-290: Unnecessarily quoted property '700' found.

(quote-props)


[error] 291-291: Unnecessarily quoted property '800' found.

(quote-props)


[error] 292-292: Unnecessarily quoted property '900' found.

(quote-props)


[error] 293-293: Unnecessarily quoted property '950' found.

(quote-props)


[error] 294-294: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 296-309: Unnecessarily quoted property 'grass' found.

(quote-props)


[error] 297-297: Unnecessarily quoted property '50' found.

(quote-props)


[error] 298-298: Unnecessarily quoted property '100' found.

(quote-props)


[error] 299-299: Unnecessarily quoted property '200' found.

(quote-props)


[error] 300-300: Unnecessarily quoted property '300' found.

(quote-props)


[error] 301-301: Unnecessarily quoted property '400' found.

(quote-props)


[error] 302-302: Unnecessarily quoted property '500' found.

(quote-props)


[error] 303-303: Unnecessarily quoted property '600' found.

(quote-props)


[error] 304-304: Unnecessarily quoted property '700' found.

(quote-props)


[error] 305-305: Unnecessarily quoted property '800' found.

(quote-props)


[error] 306-306: Unnecessarily quoted property '900' found.

(quote-props)


[error] 307-307: Unnecessarily quoted property '950' found.

(quote-props)


[error] 308-308: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 310-323: Unnecessarily quoted property 'brown' found.

(quote-props)


[error] 311-311: Unnecessarily quoted property '50' found.

(quote-props)


[error] 312-312: Unnecessarily quoted property '100' found.

(quote-props)


[error] 313-313: Unnecessarily quoted property '200' found.

(quote-props)


[error] 314-314: Unnecessarily quoted property '300' found.

(quote-props)


[error] 315-315: Unnecessarily quoted property '400' found.

(quote-props)


[error] 316-316: Unnecessarily quoted property '500' found.

(quote-props)


[error] 317-317: Unnecessarily quoted property '600' found.

(quote-props)


[error] 318-318: Unnecessarily quoted property '700' found.

(quote-props)


[error] 319-319: Unnecessarily quoted property '800' found.

(quote-props)


[error] 320-320: Unnecessarily quoted property '900' found.

(quote-props)


[error] 321-321: Unnecessarily quoted property '950' found.

(quote-props)


[error] 322-322: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 324-337: Unnecessarily quoted property 'bronze' found.

(quote-props)


[error] 325-325: Unnecessarily quoted property '50' found.

(quote-props)


[error] 326-326: Unnecessarily quoted property '100' found.

(quote-props)


[error] 327-327: Unnecessarily quoted property '200' found.

(quote-props)


[error] 328-328: Unnecessarily quoted property '300' found.

(quote-props)


[error] 329-329: Unnecessarily quoted property '400' found.

(quote-props)


[error] 330-330: Unnecessarily quoted property '500' found.

(quote-props)


[error] 331-331: Unnecessarily quoted property '600' found.

(quote-props)


[error] 332-332: Unnecessarily quoted property '700' found.

(quote-props)


[error] 333-333: Unnecessarily quoted property '800' found.

(quote-props)


[error] 334-334: Unnecessarily quoted property '900' found.

(quote-props)


[error] 335-335: Unnecessarily quoted property '950' found.

(quote-props)


[error] 336-336: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 338-351: Unnecessarily quoted property 'gold' found.

(quote-props)


[error] 339-339: Unnecessarily quoted property '50' found.

(quote-props)


[error] 340-340: Unnecessarily quoted property '100' found.

(quote-props)


[error] 341-341: Unnecessarily quoted property '200' found.

(quote-props)


[error] 342-342: Unnecessarily quoted property '300' found.

(quote-props)


[error] 343-343: Unnecessarily quoted property '400' found.

(quote-props)


[error] 344-344: Unnecessarily quoted property '500' found.

(quote-props)


[error] 345-345: Unnecessarily quoted property '600' found.

(quote-props)


[error] 346-346: Unnecessarily quoted property '700' found.

(quote-props)


[error] 347-347: Unnecessarily quoted property '800' found.

(quote-props)


[error] 348-348: Unnecessarily quoted property '900' found.

(quote-props)


[error] 349-349: Unnecessarily quoted property '950' found.

(quote-props)


[error] 350-350: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 352-365: Unnecessarily quoted property 'sky' found.

(quote-props)


[error] 353-353: Unnecessarily quoted property '50' found.

(quote-props)


[error] 354-354: Unnecessarily quoted property '100' found.

(quote-props)


[error] 355-355: Unnecessarily quoted property '200' found.

(quote-props)


[error] 356-356: Unnecessarily quoted property '300' found.

(quote-props)


[error] 357-357: Unnecessarily quoted property '400' found.

(quote-props)


[error] 358-358: Unnecessarily quoted property '500' found.

(quote-props)


[error] 359-359: Unnecessarily quoted property '600' found.

(quote-props)


[error] 360-360: Unnecessarily quoted property '700' found.

(quote-props)


[error] 361-361: Unnecessarily quoted property '800' found.

(quote-props)


[error] 362-362: Unnecessarily quoted property '900' found.

(quote-props)


[error] 363-363: Unnecessarily quoted property '950' found.

(quote-props)


[error] 364-364: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 366-379: Unnecessarily quoted property 'mint' found.

(quote-props)


[error] 367-367: Unnecessarily quoted property '50' found.

(quote-props)


[error] 368-368: Unnecessarily quoted property '100' found.

(quote-props)


[error] 369-369: Unnecessarily quoted property '200' found.

(quote-props)


[error] 370-370: Unnecessarily quoted property '300' found.

(quote-props)


[error] 371-371: Unnecessarily quoted property '400' found.

(quote-props)


[error] 372-372: Unnecessarily quoted property '500' found.

(quote-props)


[error] 373-373: Unnecessarily quoted property '600' found.

(quote-props)


[error] 374-374: Unnecessarily quoted property '700' found.

(quote-props)


[error] 375-375: Unnecessarily quoted property '800' found.

(quote-props)


[error] 376-376: Unnecessarily quoted property '900' found.

(quote-props)


[error] 377-377: Unnecessarily quoted property '950' found.

(quote-props)


[error] 378-378: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 380-393: Unnecessarily quoted property 'lime' found.

(quote-props)


[error] 381-381: Unnecessarily quoted property '50' found.

(quote-props)


[error] 382-382: Unnecessarily quoted property '100' found.

(quote-props)


[error] 383-383: Unnecessarily quoted property '200' found.

(quote-props)


[error] 384-384: Unnecessarily quoted property '300' found.

(quote-props)


[error] 385-385: Unnecessarily quoted property '400' found.

(quote-props)


[error] 386-386: Unnecessarily quoted property '500' found.

(quote-props)


[error] 387-387: Unnecessarily quoted property '600' found.

(quote-props)


[error] 388-388: Unnecessarily quoted property '700' found.

(quote-props)


[error] 389-389: Unnecessarily quoted property '800' found.

(quote-props)


[error] 390-390: Unnecessarily quoted property '900' found.

(quote-props)


[error] 391-391: Unnecessarily quoted property '950' found.

(quote-props)


[error] 392-392: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 394-407: Unnecessarily quoted property 'yellow' found.

(quote-props)


[error] 395-395: Unnecessarily quoted property '50' found.

(quote-props)


[error] 396-396: Unnecessarily quoted property '100' found.

(quote-props)


[error] 397-397: Unnecessarily quoted property '200' found.

(quote-props)


[error] 398-398: Unnecessarily quoted property '300' found.

(quote-props)


[error] 399-399: Unnecessarily quoted property '400' found.

(quote-props)


[error] 400-400: Unnecessarily quoted property '500' found.

(quote-props)


[error] 401-401: Unnecessarily quoted property '600' found.

(quote-props)


[error] 402-402: Unnecessarily quoted property '700' found.

(quote-props)


[error] 403-403: Unnecessarily quoted property '800' found.

(quote-props)


[error] 404-404: Unnecessarily quoted property '900' found.

(quote-props)


[error] 405-405: Unnecessarily quoted property '950' found.

(quote-props)


[error] 406-406: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 408-421: Unnecessarily quoted property 'amber' found.

(quote-props)


[error] 409-409: Unnecessarily quoted property '50' found.

(quote-props)


[error] 410-410: Unnecessarily quoted property '100' found.

(quote-props)


[error] 411-411: Unnecessarily quoted property '200' found.

(quote-props)


[error] 412-412: Unnecessarily quoted property '300' found.

(quote-props)


[error] 413-413: Unnecessarily quoted property '400' found.

(quote-props)


[error] 414-414: Unnecessarily quoted property '500' found.

(quote-props)


[error] 415-415: Unnecessarily quoted property '600' found.

(quote-props)


[error] 416-416: Unnecessarily quoted property '700' found.

(quote-props)


[error] 417-417: Unnecessarily quoted property '800' found.

(quote-props)


[error] 418-418: Unnecessarily quoted property '900' found.

(quote-props)


[error] 419-419: Unnecessarily quoted property '950' found.

(quote-props)


[error] 420-420: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 422-435: Unnecessarily quoted property 'orange' found.

(quote-props)


[error] 423-423: Unnecessarily quoted property '50' found.

(quote-props)


[error] 424-424: Unnecessarily quoted property '100' found.

(quote-props)


[error] 425-425: Unnecessarily quoted property '200' found.

(quote-props)


[error] 426-426: Unnecessarily quoted property '300' found.

(quote-props)


[error] 427-427: Unnecessarily quoted property '400' found.

(quote-props)


[error] 428-428: Unnecessarily quoted property '500' found.

(quote-props)


[error] 429-429: Unnecessarily quoted property '600' found.

(quote-props)


[error] 430-430: Unnecessarily quoted property '700' found.

(quote-props)


[error] 431-431: Unnecessarily quoted property '800' found.

(quote-props)


[error] 432-432: Unnecessarily quoted property '900' found.

(quote-props)


[error] 433-433: Unnecessarily quoted property '950' found.

(quote-props)


[error] 434-434: Unnecessarily quoted property '1000' found.

(quote-props)


[error] 436-436: Newline required at end of file but not found.

(eol-last)

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🔭 Outside diff range comments (5)
src/components/ui/AlertDialog/fragments/AlertDialogAction.tsx (1)

6-8: ⚠️ Potential issue

Update AlertDialogActionProps to include asChild prop

The type definition is missing the newly added asChild prop which is used in the component implementation.

export type AlertDialogActionProps = {
    children: React.ReactNode;
+   asChild?: boolean;
}
src/components/ui/AlertDialog/fragments/AlertDialogCancel.tsx (1)

6-8: 🛠️ Refactor suggestion

Update the AlertDialogCancelProps type to include the asChild prop.

The component now accepts an asChild prop but it's not included in the TypeScript interface, which could lead to type errors.

export type AlertDialogCancelProps = {
    children: React.ReactNode;
+    asChild?: boolean;
}
src/components/ui/AlertDialog/fragments/AlertDialogTrigger.tsx (1)

6-8: 🛠️ Refactor suggestion

Update the AlertDialogTriggerProps type to include the asChild prop and other props.

The component accepts an asChild prop and spreads additional props but these aren't included in the TypeScript interface.

export type AlertDialogTriggerProps = {
    children: React.ReactNode;
+    asChild?: boolean;
+    [key: string]: any;
}
src/components/ui/AlertDialog/stories/AlertDialog.stories.tsx (2)

1-1: 🛠️ Refactor suggestion

Remove unused useState and isOpen variable.

The component no longer uses the isOpen state variable as it's now relying on the internal state of the compound components.

-import React, { useState } from 'react';
+import React from 'react';

// ...

export default {
    title: 'WIP/AlertDialog',
    component: AlertDialog,
    render: (args:any) => {
-        const [isOpen, setIsOpen] = useState(false);
        return (
            <SandboxEditor>
                <AlertDialog.Root>

Also applies to: 13-13


43-48: 🛠️ Refactor suggestion

Update or remove unused story args.

The args passed to the story (children and actionButton) are no longer used in the rendering function since it now uses a fixed structure.

Consider either:

  1. Updating the args to be used in the render function
  2. Removing the args if they're not needed
export const Default = {
-    args: {
-        children: 'Delete Account',
-        actionButton: <button>Delete</button>
-    }
+    args: {}
};
🧹 Nitpick comments (3)
src/components/ui/Theme/stories/Theme.stories.tsx (1)

1-43: Good implementation of theme toggle demonstration

The story effectively demonstrates the Theme component's functionality with a toggle between light and dark modes. The side-by-side preview is a nice touch for comparison.

Consider:

  1. Removing or customizing the template comments on lines 6 and 40
  2. Implementing the empty Default export or removing it if not needed
src/components/ui/AlertDialog/fragments/AlertDialogPortal.tsx (1)

12-12: Remove console.log statement

Debug statements should be removed before production deployment.

- console.log(rootElement);
src/components/ui/AlertDialog/stories/AlertDialog.stories.tsx (1)

3-3: Remove commented-out import statement.

The commented-out import for Button is no longer needed since you've added the proper import on line 6.

-// import Button from '@/rad-';
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5bf6735 and dc249c5.

📒 Files selected for processing (11)
  • src/components/ui/AlertDialog/AlertDialog.tsx (1 hunks)
  • src/components/ui/AlertDialog/fragments/AlertDialogAction.tsx (1 hunks)
  • src/components/ui/AlertDialog/fragments/AlertDialogCancel.tsx (1 hunks)
  • src/components/ui/AlertDialog/fragments/AlertDialogPortal.tsx (1 hunks)
  • src/components/ui/AlertDialog/fragments/AlertDialogTrigger.tsx (1 hunks)
  • src/components/ui/AlertDialog/stories/AlertDialog.stories.tsx (1 hunks)
  • src/components/ui/Theme/Theme.tsx (2 hunks)
  • src/components/ui/Theme/stories/Theme.stories.tsx (1 hunks)
  • src/core/utils/RovingFocusGroup/stories/RovingFocusGroup.stories.tsx (1 hunks)
  • src/examples/Colors/Colors.stories.js (1 hunks)
  • styles/themes/components/alert-dialog.scss (3 hunks)
✅ Files skipped from review due to trivial changes (3)
  • src/examples/Colors/Colors.stories.js
  • src/core/utils/RovingFocusGroup/stories/RovingFocusGroup.stories.tsx
  • styles/themes/components/alert-dialog.scss
🧰 Additional context used
🧬 Code Graph Analysis (2)
src/components/ui/AlertDialog/fragments/AlertDialogTrigger.tsx (1)
src/components/ui/AlertDialog/contexts/AlertDialogContext.tsx (1)
  • AlertDialogContext (10-15)
src/components/ui/AlertDialog/fragments/AlertDialogCancel.tsx (1)
src/components/ui/AlertDialog/contexts/AlertDialogContext.tsx (1)
  • AlertDialogContext (10-15)
⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: build
🔇 Additional comments (10)
src/components/ui/Theme/Theme.tsx (3)

10-10: Good addition of the optional id prop

Adding the optional id prop enhances the component's flexibility and aligns with the changes in AlertDialogPortal that will target this element by ID.


13-13: LGTM: Default id value properly set

Setting the default id value to 'rad-ui-theme-container' provides a consistent reference point for the portal in AlertDialogPortal.


46-46: Good implementation of the id attribute

Correctly applied the id prop to the root div element, completing the enhancement.

src/components/ui/AlertDialog/fragments/AlertDialogAction.tsx (1)

10-10: Good implementation of asChild pattern

The asChild prop allows for flexible composition of the dialog action buttons, enabling direct rendering of children components.

Also applies to: 14-14

src/components/ui/AlertDialog/fragments/AlertDialogPortal.tsx (1)

11-11: Fixed portal root element selection to use theme container ID

Using the specific ID selector ensures consistent portal mounting location, which is a good improvement.

src/components/ui/AlertDialog/fragments/AlertDialogCancel.tsx (2)

10-10: LGTM: Adding asChild prop for flexible composition.

The asChild prop allows consumers to use their own trigger element instead of the default button, which is a good flexibility enhancement.


14-14: LGTM: Properly forwarding asChild prop to ButtonPrimitive.

The asChild prop is correctly passed to the underlying ButtonPrimitive component.

src/components/ui/AlertDialog/fragments/AlertDialogTrigger.tsx (2)

10-10: LGTM: Adding asChild prop and spreading other props.

The addition of asChild and spreading other props provides more flexibility for component composition and customization.


15-15: LGTM: Properly forwarding asChild prop to ButtonPrimitive.

The asChild prop is correctly passed to the underlying ButtonPrimitive component.

src/components/ui/AlertDialog/stories/AlertDialog.stories.tsx (1)

16-36: LGTM: Well-structured implementation of compound components pattern.

The refactored AlertDialog story properly demonstrates the new compound components pattern with the correct nesting structure and usage of the asChild prop for flexible rendering.

@kotAPI kotAPI merged commit c4bd015 into main Apr 30, 2025
7 checks passed
@kotAPI kotAPI deleted the kotapi/refactor-token-gen branch April 30, 2025 13:46
@coderabbitai coderabbitai bot mentioned this pull request Jun 6, 2025
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.

[New Feature] Refactor Token generation based on individual Design Systems

2 participants