Create consumer theme for form input
See original GitHub issueIssue Description
To match consumer UX, we want to enable the theming of terra input. Here is a screenshot of the current component:
Evaluate if we will solve this issue as well https://github.com/cerner/terra-core/issues/755
Issue Type
- New Feature
- Enhancement
- Bug
- Other
Expected Behavior
CSS custom properties are added to enable the theming of the <Input />
component to match consumer UX visuals.
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Add a contact form to your theme - Shopify.dev
Learn how to create a contact form, and add custom fields. ... You can add a contact form to your theme to allow...
Read more >How to Use Liquid to Build Forms on Shopify for Themes
In this article, we look at how Liquid can be leveraged to simplify the process when you build forms on Shopify by generating...
Read more >Online Forms | Creating Form Templates & Themes - Formstack
Go into a form and click the Theme tab at the bottom of the form options sidebar on the left. Scroll to the...
Read more >Change the theme or font of your form - Google Docs Editors ...
In Google Forms, open a form. Click Customize theme Customize theme . Under "Color," you can choose a theme color and background color...
Read more >Creating a New Theme in Form Builder 5
Enterprise customers can make themes public for their users. After you have created the theme, you can navigate to: Admin Dash>Forms>Form Themes.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Using the not selector is a good indication of poor encapsulation. My vote is for the second approach Alex suggested. The Control should either not consume the base input or the base input should contain the bare minimum styles that apply to every input and do not cause conflicts. It feels awkward the base Input.scss immediately overrides declared styles to satisfy radio / checkbox and then then Control.scss also adds its’ own styles.
There’s already some conflicting styles in Input.scss from Control.scss https://github.com/cerner/terra-core/blob/master/packages/terra-form/src/Control.scss#L5 https://github.com/cerner/terra-core/blob/master/packages/terra-form/src/Input.scss#L15
My opinion is that radio / checkbox specific theme-able styles should be encapsulated in Control.scss, or Radio.scss / Checkbox.scss respectively
OCS input has been created and will be resolved by current work on this new issue #1207