Skip to content
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

fix: Spinner colors #2309

Merged
merged 2 commits into from
Jul 16, 2024
Merged

fix: Spinner colors #2309

merged 2 commits into from
Jul 16, 2024

Conversation

chaitanyadeorukhkar
Copy link
Collaborator

@chaitanyadeorukhkar chaitanyadeorukhkar commented Jul 15, 2024

Description

Fix Spinner colors. The colors were incorrectly mapped on code.

Changes

Additional Information

Component Checklist

  • Update Component Status Page
  • Perform Manual Testing in Other Browsers
  • Add KitchenSink Story
  • Add Interaction Tests (if applicable)
  • Add changeset

Copy link

changeset-bot bot commented Jul 15, 2024

🦋 Changeset detected

Latest commit: 747c86a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@razorpay/blade Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Jul 15, 2024

✅ PR title follows Conventional Commits specification.

@chaitanyadeorukhkar chaitanyadeorukhkar added the P0 Critical label Jul 15, 2024
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 747c86a:

Sandbox Source
razorpay/blade: basic Configuration

@rzpcibot
Copy link
Collaborator

rzpcibot commented Jul 15, 2024

Bundle Size Report

Updated Components
Status Component Base Size (kb) Current Size (kb) Diff
Alert 11.340 11.337 -0.003 KB
Card, CardBody, CardHeader, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderTrailing, CardFooter, CardFooterLeading, CardFooterTrailing 9.244 9.236 -0.008 KB
Collapsible, CollapsibleLink, CollapsibleButton, CollapsibleBody 9.689 9.680 -0.009 KB
DatePicker 85.102 85.097 -0.005 KB
Dropdown, DropdownOverlay, DropdownButton, DropdownLink, DropdownFooter, DropdownHeader 28.004 27.995 -0.009 KB
SpotlightPopoverTour, SpotlightPopoverTourFooter, SpotlightPopoverTourStep 29.359 29.351 -0.008 KB
Table, TableHeader, TableHeaderCell, TableHeaderRow, TableBody, TableCell, TableEditableCell, TableRow, TableFooter, TableFooterCell, TableFooterRow, TablePagination, TableToolbar, TableToolbarActions 64.236 64.231 -0.005 KB
ToastContainer, useToast 12.549 12.540 -0.009 KB
Button 6.030 6.021 -0.009 KB
PhoneNumberInput 59.396 59.392 -0.004 KB
SearchInput 33.995 33.983 -0.012 KB
TextInput 33.270 33.259 -0.011 KB
Spinner 1.812 1.796 -0.016 KB
TabNav, TabNavItem 9.167 9.162 -0.005 KB

Generated by 🚫 dangerJS against 747c86a

Copy link
Member

@saurabhdaware saurabhdaware left a comment

Choose a reason for hiding this comment

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

Can ship it since its P0 but added one comment below

Comment on lines 52 to 58
return getIn(theme.colors, 'interactive.icon.staticWhite.subtle');
}
if (color && color !== 'primary') {
return getIn(theme.colors, `feedback.background.${color}.intense`);
if (color && color !== 'neutral') {
return getIn(theme.colors, `interactive.icon.${color}.subtle`);
}
return getIn(theme.colors, 'surface.background.primary.intense');
return getIn(theme.colors, 'interactive.icon.gray.subtle');
};
Copy link
Member

Choose a reason for hiding this comment

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

Spinner should have surface.icon* colors no? since its not interactive element 🤔

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good point... on figma its using interactive though

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Asking design

@chaitanyadeorukhkar chaitanyadeorukhkar merged commit fb58be1 into master Jul 16, 2024
14 of 16 checks passed
@chaitanyadeorukhkar chaitanyadeorukhkar deleted the fix/spinner-colors branch July 16, 2024 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 Critical
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants