-
Notifications
You must be signed in to change notification settings - Fork 0
Update "PixelGenius Platform" from zeroheight #207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,15 +10,15 @@ | |
| "$value": "{zinc.900}", | ||
| "$description": "Used for accents such as hover effects on <DropdownMenuItem>, <SelectItem>...etc" | ||
| }, | ||
| "aliblack": { | ||
| "$type": "color", | ||
| "$value": "{general.black}" | ||
| }, | ||
|
Comment on lines
+13
to
+16
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification The The color token naming in the design system follows a clear semantic pattern (e.g., primary, secondary, background, error). The prefix "ali" in Examples of existing patterns:
🔗 Analysis chainVerify the naming convention for the new color token. The prefix Run this script to check the naming patterns across the design system: 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Search for other color tokens with similar prefixes
rg -g '*.{json,scss,ts}' '"ali[a-z]+'
Length of output: 318 Script: #!/bin/bash
# Check color token names in token files
echo "=== Color token names in token files ==="
rg -g '**/token_color_*.json' '"\$type": "color"' -B1
echo -e "\n=== Check for documentation ==="
fd "README|CONTRIBUTING" --extension md --exec cat {}
Length of output: 19340 |
||
| "background": { | ||
| "$type": "color", | ||
| "$value": "{general.white}", | ||
| "$description": "Default background color of <body />...etc" | ||
| }, | ||
| "black": { | ||
| "$type": "color", | ||
| "$value": "{general.black}" | ||
| }, | ||
| "border": { | ||
| "$type": "color", | ||
| "$value": "{zinc.200}", | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -1012,7 +1012,7 @@ | |||||||||||||||||
| "$type": "color", | ||||||||||||||||||
| "$value": "#09090b" | ||||||||||||||||||
| }, | ||||||||||||||||||
| "50": { | ||||||||||||||||||
| "ali2": { | ||||||||||||||||||
| "$type": "color", | ||||||||||||||||||
| "$value": "#fafafa" | ||||||||||||||||||
| } | ||||||||||||||||||
|
Comment on lines
+1015
to
1018
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Maintain consistent numeric scale in primitive color tokens. The addition of - "ali2": {
+ "50": {
"$type": "color",
"$value": "#fafafa"
}📝 Committable suggestion
Suggested change
|
||||||||||||||||||
|
|
||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Maintain consistent numeric scale for zinc color variants.
The new variable
--zinc-ali2breaks the numeric scale pattern (50, 100, 200, ...) used across all color palettes. Consider keeping the numeric scale for consistency:📝 Committable suggestion