directus/directus

Customize fields style

lehha asked for this feature 3 months ago — 2 comments

lehha commented 3 months ago

Add allow to fields options a Style-option with CSS/anything that allow change style of input field. Like a text color, background-color, input size, etc. It may be a closed-list of styles, not a free css input (users can broke all:) And allow to colorize table cell in Items List.

It will be WOW and GREAT!

benhaynes commented 2 months ago Admin

We PARTIALLY have this now since we're releasing 6.4 now. In the new WYSIWYG Full interface you can define custom formats and then also define the CSS of them. This allows you to manage custom code/styles in content.

If you want to change the appearance of the actual directus input then you would need to create a new Interface (could be a copy of the existing one) and change the CSS. We want to keep these standardized so there's no reason to make this an option.

Join the discussion!

Sign-in with GitHub to comment