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

[WV-522] Created switcher for border in Joined and Days left #4109

Conversation

itcreativeusa
Copy link
Contributor

@itcreativeusa itcreativeusa commented Oct 14, 2024

Fixed design token colors to correct ones from file DesignTokenColors.js, and created a switcher for border joined and days left that turns off and on borderSwitcher={borderSwitcher} and borderSwitcher={False}
Fixed DesignTokensColors in JoinedAndDaysLeft.jsx as previously were undefined, changed to correct ones and created a switcher for border joined and days left

Renamed style prop to borderSwitcher in JoinedAndDaysLeft and ChallengeHeaderSimple components

Applied borderswitcher for ChallengeHeaderSimple.jsx and changed "border: none" to To just "none" in a ternary expression that dynamically applies CSS styles based on the value of the borderSwitcher prop.

…iously were undefined, chanhed to correct ones and created switcher for border joined and days left

Fixed DesignTokensColors in src/js/common/components/Challenge/JoinedAndDaysLeft.jsx as previously were undefined, changed to correct ones and created switcher for border joined and days left

Renamed style prop to borderSwitcher in JoinedAndDaysLeft and ChallengeHeaderSimple components

Applied borderswitcher for ChallengeHeaderSimple.jsx and change border:none to none as this is more correct and don't cause an error
@itcreativeusa itcreativeusa changed the title [WV-522]fixed DesignTokensColors in file JoinedAndDaysLeft.jsxas prev… [WV-522]fixed DesignTokensColors in file JoinedAndDaysLeft.jsx as prev… Oct 14, 2024
@itcreativeusa itcreativeusa changed the title [WV-522]fixed DesignTokensColors in file JoinedAndDaysLeft.jsx as prev… [WV-522] Created switcher for border in Joined and Days left and implemented where it needed. Oct 14, 2024
@itcreativeusa itcreativeusa changed the title [WV-522] Created switcher for border in Joined and Days left and implemented where it needed. [WV-522] Created switcher for border in Joined and Days left Oct 14, 2024
@DaleMcGrew
Copy link
Member

👍 Thank you @itcreativeusa.

@DaleMcGrew DaleMcGrew merged commit 9aa3551 into wevote:develop Oct 14, 2024
4 checks passed
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.

2 participants