Skip to content

Commit

Permalink
Merge pull request #1802 from Kajabi/DSS-471_pl-color-docs-values
Browse files Browse the repository at this point in the history
[DSS-471] - docs(): Update color palette syntax in documentation
  • Loading branch information
pixelflips authored Sep 20, 2023
2 parents 765b757 + 203ac9e commit 132c627
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions docs/app/views/pages/_color_values.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<%= sage_component SageCopyButton, {
borderless: true,
css_classes: "colors__copy-btn",
value: "SageTokens::COLOR_PALETTE::#{color.upcase}_100"
value: "SageTokens::COLOR_PALETTE[:#{color.upcase}_100]"
} %>
</div>
<div>
Expand Down Expand Up @@ -62,7 +62,7 @@
<%= sage_component SageCopyButton, {
borderless: true,
css_classes: "colors__copy-btn",
value: "SageTokens::COLOR_PALETTE::#{color.upcase}_200"
value: "SageTokens::COLOR_PALETTE[:#{color.upcase}_200]"
} %>
</div>
<div>
Expand Down Expand Up @@ -100,7 +100,7 @@
<%= sage_component SageCopyButton, {
borderless: true,
css_classes: "colors__copy-btn",
value: "SageTokens::COLOR_PALETTE::#{color.upcase}_300"
value: "SageTokens::COLOR_PALETTE[:#{color.upcase}_300]"
} %>
</div>
<div>
Expand Down Expand Up @@ -138,7 +138,7 @@
<%= sage_component SageCopyButton, {
borderless: true,
css_classes: "colors__copy-btn",
value: "SageTokens::COLOR_PALETTE::#{color.upcase}_400"
value: "SageTokens::COLOR_PALETTE[:#{color.upcase}_400]"
} %>
</div>
<div>
Expand Down Expand Up @@ -176,7 +176,7 @@
<%= sage_component SageCopyButton, {
borderless: true,
css_classes: "colors__copy-btn",
value: "SageTokens::COLOR_PALETTE::#{color.upcase}_500"
value: "SageTokens::COLOR_PALETTE[:#{color.upcase}_500]"
} %>
</div>
<div>
Expand Down
2 changes: 1 addition & 1 deletion docs/app/views/pages/_color_values_base.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<%= sage_component SageCopyButton, {
borderless: true,
css_classes: "colors__copy-btn",
value: "SageTokens::COLOR_PALETTE::#{color.upcase}"
value: "SageTokens::COLOR_PALETTE[:#{color.upcase}]"
} %>
</div>
<div>
Expand Down
2 changes: 1 addition & 1 deletion docs/app/views/pages/_color_values_neutral.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<%= sage_component SageCopyButton, {
borderless: true,
css_classes: "colors__copy-btn",
value: "SageTokens::COLOR_PALETTE::#{color.upcase}_#{i}00"
value: "SageTokens::COLOR_PALETTE[:#{color.upcase}_#{i}00]"
} %>
</div>
<div>
Expand Down

0 comments on commit 132c627

Please sign in to comment.