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

Press0 1173 placeholder prompt input #559

Merged
merged 5 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ $selected-detail: #1de082;

&::placeholder {
font-weight: 100;
color: rgba(var(--nfd-onboarding-primary-rgb), 0.8);
color: rgba(var(--nfd-onboarding-primary-rgb), 0.6);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/OnboardingSPA/steps/SiteGen/SiteDetails/contents.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const getContents = () => {
'wp-module-onboarding'
),
inputPlaceholder: __(
'I want a site for my company that sells…',
'Bean There Café - A cozy, sustainable coffee shop in Asheville, North Carolina, focused on fair-trade coffee and local pastries. Their site will feature their menu, special events, and a blog on coffee culture.',
'wp-module-onboarding'
),
inputHint: __( 'The more detail the better', 'wp-module-onboarding' ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe( 'SiteGen Site Details Step', function () {
cy.get( '.nfd-sg-input-box__field' ).should(
'have.attr',
'placeholder',
'I want a site for my company that sells…'
'Bean There Café - A cozy, sustainable coffee shop in Asheville, North Carolina, focused on fair-trade coffee and local pastries. Their site will feature their menu, special events, and a blog on coffee culture.'
);
cy.get( '.nfd-sg-input-box__hint' ).should( 'be.visible' );
});
Expand Down
Loading