-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: update rebrand mercury workflow for deployments
- Loading branch information
1 parent
45e92f2
commit a6260eb
Showing
25 changed files
with
4,416 additions
and
746 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,192 +1,11 @@ | ||
<div class="colors"> | ||
<div class="colors__block color-<%= color %>-100"> | ||
<div class="colors__tokens"> | ||
<div class="colors__classname-token <%= "#{SageClassnames::SPACERS::SM_BOTTOM}" %>"> | ||
<h3 class="colors__tokens-heading">Classname Token</h3> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageClassnames::TYPE_COLORS::#{color.upcase}_100" | ||
} %> | ||
</div> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageClassnames.TYPE_COLORS.#{color.upcase}_100" | ||
} %> | ||
</div> | ||
</div> | ||
<div class="colors__hex-token"> | ||
<h3 class="colors__tokens-heading">Hex Token</h3> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageTokens::COLOR_PALETTE[:#{color.upcase}_100]" | ||
} %> | ||
</div> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageTokens.COLOR_PALETTE.#{color.upcase}_100" | ||
} %> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="colors__block color-<%= color %>-200"> | ||
<div class="colors__tokens"> | ||
<div class="colors__classname-token <%= "#{SageClassnames::SPACERS::SM_BOTTOM}" %>"> | ||
<h3 class="colors__tokens-heading">Classname Token</h3> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageClassnames::TYPE_COLORS::#{color.upcase}_200" | ||
} %> | ||
</div> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageClassnames.TYPE_COLORS.#{color.upcase}_200" | ||
} %> | ||
</div> | ||
</div> | ||
<div class="colors__hex-token"> | ||
<h3 class="colors__tokens-heading">Hex Token</h3> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageTokens::COLOR_PALETTE[:#{color.upcase}_200]" | ||
} %> | ||
</div> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageTokens.COLOR_PALETTE.#{color.upcase}_200" | ||
} %> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="colors__block color-<%= color %>-300"> | ||
<div class="colors__tokens"> | ||
<div class="colors__classname-token <%= "#{SageClassnames::SPACERS::SM_BOTTOM}" %>"> | ||
<h3 class="colors__tokens-heading">Classname Token</h3> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageClassnames::TYPE_COLORS::#{color.upcase}_300" | ||
} %> | ||
</div> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageClassnames.TYPE_COLORS.#{color.upcase}_300" | ||
} %> | ||
</div> | ||
</div> | ||
<div class="colors__hex-token"> | ||
<h3 class="colors__tokens-heading">Hex Token</h3> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageTokens::COLOR_PALETTE[:#{color.upcase}_300]" | ||
} %> | ||
</div> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageTokens.COLOR_PALETTE.#{color.upcase}_300" | ||
} %> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="colors__block color-<%= color %>-400"> | ||
<div class="colors__tokens"> | ||
<div class="colors__classname-token <%= "#{SageClassnames::SPACERS::SM_BOTTOM}" %>"> | ||
<h3 class="colors__tokens-heading">Classname Token</h3> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageClassnames::TYPE_COLORS::#{color.upcase}_400" | ||
} %> | ||
</div> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageClassnames.TYPE_COLORS.#{color.upcase}_400" | ||
} %> | ||
</div> | ||
</div> | ||
<div class="colors__hex-token"> | ||
<h3 class="colors__tokens-heading">Hex Token</h3> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageTokens::COLOR_PALETTE[:#{color.upcase}_400]" | ||
} %> | ||
</div> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageTokens.COLOR_PALETTE.#{color.upcase}_400" | ||
} %> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="colors__block color-<%= color %>-500"> | ||
<div class="colors__tokens"> | ||
<div class="colors__classname-token <%= "#{SageClassnames::SPACERS::SM_BOTTOM}" %>"> | ||
<h3 class="colors__tokens-heading">Classname Token</h3> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageClassnames::TYPE_COLORS::#{color.upcase}_500" | ||
} %> | ||
</div> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageClassnames.TYPE_COLORS.#{color.upcase}_500" | ||
} %> | ||
</div> | ||
</div> | ||
<div class="colors__hex-token"> | ||
<h3 class="colors__tokens-heading">Hex Token</h3> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageTokens::COLOR_PALETTE[:#{color.upcase}_500]" | ||
} %> | ||
</div> | ||
<div> | ||
<%= sage_component SageCopyButton, { | ||
borderless: true, | ||
css_classes: "colors__copy-btn", | ||
value: "SageTokens.COLOR_PALETTE.#{color.upcase}_500" | ||
} %> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<% if color == "primary" || color == "sage" || color == "orange" %> | ||
<% [100, 200, 300, 400, 500].each do |value| %> | ||
<%= render "color_values_body", color: color, value: value %> | ||
<% end %> | ||
<% else %> | ||
<% [5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 95].each do |value| %> | ||
<%= render "color_values_body", color: color, value: value %> | ||
<% end %> | ||
<% end %> | ||
</div> |
Oops, something went wrong.