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
In the initial phase of phase of look and feel updates, we plan to change OUI Sass variables for typography and colors (for both dark and light mode). In order for these updates to apply consistently and completely, we want to augment our ongoing in-depth audit compliance initiative with a parallel effort that focuses on these key areas.
The theme updates will be to the "Typography" values listed in https://oui.opensearch.org/1.0/#/guidelines/sass. Eventually, the new theme will also add a header font variable, in addition to ouiFont and ouiCodeFont.
Audit OpenSearch Dashboards for the following CSS properties (as well as other font-*, text-*, and line-* properties:
font-family
font-size
font-weight
font-style
line-height
Suggested approach: Typography styles are not necessarily limited to inline styles or *.scss stylesheets. The audit should also discover usages where these properties are being set or passed in js interfaces or via configurations. One initial approach is to search for all casing variants of a given property (kebab, snake, camel).
Beyond any explicit styles discovered above, we also want to audit for any explicit referencing of OUI SASS variables, such as euiFont or euiCodeFont, because these are valuable signals that the feature is attempting to mimic OUI components without
Out of scope: Typography within visualizations. We'll still audit these usages (see #3368), but won't mitigate them until we have more complete UX guidance.
Suggested approach: Regex code search for any apparent color values (hex, rgb, rgba, hsv). Not all usages will be mitigated (such as user-specified color formats), but all should be audited.
Additional properties to include in audit/analysis
Because there are some known usages where these are used to indicate focus or text status, audits should also include info about:
Border styles
Shadow styles
The text was updated successfully, but these errors were encountered:
In the initial phase of phase of look and feel updates, we plan to change OUI Sass variables for typography and colors (for both dark and light mode). In order for these updates to apply consistently and completely, we want to augment our ongoing in-depth audit compliance initiative with a parallel effort that focuses on these key areas.
Mitigation Tasks
Typography
The theme updates will be to the "Typography" values listed in https://oui.opensearch.org/1.0/#/guidelines/sass. Eventually, the new theme will also add a header font variable, in addition to
ouiFont
andouiCodeFont
.Audit OpenSearch Dashboards for the following CSS properties (as well as other
font-*
,text-*
, andline-*
properties:font-family
font-size
font-weight
font-style
line-height
Suggested approach: Typography styles are not necessarily limited to inline styles or
*.scss
stylesheets. The audit should also discover usages where these properties are being set or passed injs
interfaces or via configurations. One initial approach is to search for all casing variants of a given property (kebab, snake, camel).Beyond any explicit styles discovered above, we also want to audit for any explicit referencing of OUI SASS variables, such as
euiFont
oreuiCodeFont
, because these are valuable signals that the feature is attempting to mimic OUI components withoutOut of scope: Typography within visualizations. We'll still audit these usages (see #3368), but won't mitigate them until we have more complete UX guidance.
Colors
The theme updates will be to the "Color" values listed in https://oui.opensearch.org/1.0/#/guidelines/sass. These application color updates will also require changes to the visualization color palettes: https://oui.opensearch.org/1.0/#/guidelines/sass.
Suggested approach: Regex code search for any apparent color values (hex, rgb, rgba, hsv). Not all usages will be mitigated (such as user-specified color formats), but all should be audited.
Additional properties to include in audit/analysis
Because there are some known usages where these are used to indicate focus or text status, audits should also include info about:
The text was updated successfully, but these errors were encountered: