You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/style-guide.md
+22-4
Original file line number
Diff line number
Diff line change
@@ -16,19 +16,37 @@ The core blue family serves as the primary action color across all IBM products
16
16
17
17
As a general guideline, the two most used colors should be *pink* and *cyan*, with darker blues and subdued pinks/purples used for important but not notable text. You may also use bolding and italicizing as a tool to emphasize important text such as function declartions or comments
18
18
19
-
## Guideline
19
+
## Guidelines
20
20
21
-
Your most used references are going to be the IBM branding color guidelines (<https://www.ibm.com/brand/experience-guides/developer/brand/color>) and the carbon design systems color guidelines (<https://carbondesignsystem.com/guidelines/color/overview/>). The most notable guidelines to keep in mind are
21
+
Your most used references are going to be the IBM branding color guidelines (https://www.ibm.com/design/language/color/) and the carbon design systems color guidelines (https://carbondesignsystem.com/guidelines/color/overview/). The most notable guidelines to keep in mind are
22
22
23
23
Backgrounds/Foregrounds:
24
24
25
25
- Background colors follow a layering model. The darkest black (base00) should always be the background color, and any UI elements should always use a lighter tone of black (e.g. base01 or base02).
26
-
27
26
- Foreground colors follow a similar model, except that instead of getting lighter and lighter, you may alternate between the lightest color in the theme (base06) and the second/third lighest (base05, base04)
- Its important to maintain proper contrast at all times. Based off of the <https://www.w3.org/TR/WCAG21/>, small text is any size below 24px and requires a 4.5:1 contrast ratio. Large text is anything above 24px and requires a 3:1 contrast ratio. Graphical elements, such as data visualizations, also require a 3:1 contrast ratio. The IBM palette is comprised of twelve color grades—Black, White and ten values for each hue. The following table indicates the minimum number of steps required to achieve commonly used contrast ratios between any two colors.
0 commit comments