Skip to content

Commit

Permalink
[NO-TICKET] Legacy docs background color page bug (#1911)
Browse files Browse the repository at this point in the history
* formatting issue with this page apparently

* autoformatting messing this one up
  • Loading branch information
forrestbaer authored Jun 17, 2022
1 parent ee9c35c commit 11cb60c
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<div class="example--list">
<% var groups={ 'Primary colors' : ['primary', 'primary-darker' , 'primary-darkest' , 'black' ,
'base' , 'gray-dark' , 'gray-light' , 'white' ], 'Secondary colors' : ['secondary',
'secondary-dark' , 'secondary-darker', 'secondary-darkest' , 'secondary-light',
'secondary-lighter', 'secondary-lightest' ], 'Background colors' : ['background',
'background-inverse' ,'gray-dark', 'gray' , 'gray-light' , 'gray-lighter' , 'gray-lightest' ],
'Status colors' : ['success', 'success-dark' , 'success-darker' , 'success-darkest' ,
'success-light' , 'success-lighter' ,'success-lightest', 'warn' , 'warn-dark' , 'warn-darker' ,
'warn-darkest' , 'warn-light' , 'warn-lighter' , 'warn-lightest' , 'error' , 'error-dark' ,
'error-darker' , 'error-darkest' , 'error-light' , 'error-lighter' ,'error-lightest'], 'Focus
colors' : ['focus-color-light' , 'focus-color-dark' ], 'Additional colors' : ['muted-inverse',
'transparent' ], 'Focus colors - Deprecated' : ['focus-color', 'focus-color-inverse',
'focus-border-inverse'], }; -%> <% Object.keys(groups).forEach(function(fill){ -%>
<% var groups={ 'Primary colors' :
['primary','primary-darker','primary-darkest','black','base','gray-dark','gray-light','white'],
'Secondary colors' :
['secondary','secondary-dark','secondary-darker','secondary-darkest','secondary-light','secondary-lighter','secondary-lightest'],
'Background colors' :
['background','background-inverse','gray-dark','gray','gray-light','gray-lighter','gray-lightest'],
'Status colors' :
['success','success-dark','success-darker','success-darkest','success-light','success-lighter','success-lightest','warn','warn-dark','warn-darker','warn-darkest','warn-light','warn-lighter','warn-lightest','error','error-dark','error-darker','error-darkest','error-light','error-lighter','error-lightest'],
'Focus colors' : ['focus-color-light','focus-color-dark'], 'Additional colors' :
['muted-inverse','transparent'],'Focus colors - Deprecated' :
['focus-color','focus-color-inverse','focus-border-inverse'], }; -%> <%
Object.keys(groups).forEach(function(fill){ -%>
<section>
<h1 class="preview__label"><%= fill%></h1>
<h1 class="preview__label"><%= fill %></h1>
<% if (fill === 'Focus colors - Deprecated') { %>
<div class="ds-c-alert ds-c-alert--error ds-u-margin-bottom--2" role="region">
<div class="ds-c-alert__body">
Expand Down

0 comments on commit 11cb60c

Please sign in to comment.