ic-design-system icon indicating copy to clipboard operation
ic-design-system copied to clipboard

Add style guidance on using backgrounds

Open DBD324 opened this issue 2 years ago โ€ข 0 comments

Summary

We currently have no guidance on how to handle background colours within an app. We should add this to help inform people what to do and how this has an affect on the appearance properties that many components support.

๐Ÿ’ฌ Description

Explain how to style background for sections and custom components. Detail what colours are available for use on backgrounds. Explain the appearance properties of components and how this depends on the background they sit on. Mention shape and border radius. Describe a11y implications and how our componetns are tested against worst case scenarios for backgrounds.

๐Ÿ’ฐ User value

Provides foundational stylistic guidance that helps users to create applications using ICDS.

๐Ÿ“š User Stories

If relevant, describe the high-level functionality as user stories.

As an ICDS user:
I need guidance on how to style backgrounds So that I can ensure that my components stand out and achieve the right contrast requirements.

๐Ÿ“ Acceptance Criteria

If relevant, describe in full detail the different interactions and edge cases that the component or patterns needs to fulfil.

Given When
Then

##โ€ฏ๐Ÿงพ Guidance If there's written guidance or documentation, include a link to it here.

Additional info

Tell us anything else useful to help us understand your suggestion.

DBD324 avatar Oct 25 '23 16:10 DBD324