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

VACMS-16523: Update character counter #16653

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all 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 @@ -388,7 +388,7 @@ content:
js_prevent_submit: true
count_only_mode: false
count_html_characters: false
textcount_status_message: '<span class="remaining_count">@remaining_count</span> characters remaining'
textcount_status_message: '<span class="maxlength_count">@maxlength</span> characters allowed'
third_party_settings:
allowed_formats:
hide_help: '1'
Expand Down Expand Up @@ -607,7 +607,7 @@ content:
js_prevent_submit: true
count_only_mode: false
count_html_characters: true
textcount_status_message: '<span class="remaining_count">@remaining_count</span> characters remaining'
textcount_status_message: '<span class="maxlength_count">@maxlength</span> characters allowed'
third_party_settings: { }
field_phone_number:
type: telephone_default
Expand Down Expand Up @@ -697,7 +697,7 @@ content:
js_prevent_submit: false
count_only_mode: false
count_html_characters: false
textcount_status_message: '<span class="remaining_count">@remaining_count</span> characters remaining'
textcount_status_message: '<span class="maxlength_count">@maxlength</span> characters allowed'
third_party_settings: { }
hidden:
created: true
Expand Down
2 changes: 1 addition & 1 deletion docroot/design-system/components/tokens/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

/* Colors for textfield_counter overrides */
--color-textfield-counter-warning: #C58702;
--color-textfield-counter-over: #B20D01;
--color-textfield-counter-over: #fff0;

/*
* New colors added for CMSDS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
}

.textfield_counter_counter .remaining_count {
color: var(--va-gray-darkest);
color: var(--va-red);
font-weight: bold;
}
}
Loading