Skip to content

Commit

Permalink
fix(icons): added share icon
Browse files Browse the repository at this point in the history
  • Loading branch information
QuintonJason authored and teenwolfblitzer committed Nov 10, 2022
1 parent e289792 commit 56af73e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/app/views/pages/icon.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ action_icons = [
name: "search",
action: "Search",
},
{
name: "share",
action: "Share",
},
{
name: "trash",
action: "Delete",
Expand Down
1 change: 1 addition & 0 deletions docs/lib/sage_rails/app/sage_tokens/sage_tokens.rb
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ def SageTokens.grid_templates
"search-small",
"send-message",
"sequences",
"share",
"skipped",
"slash-divider",
"speaker",
Expand Down
2 changes: 1 addition & 1 deletion packages/sage-assets/lib/stylesheets/components/_icon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/// @group sage
////

$-icon-font-cdn-version: "9"; // Keep in sync with desired `vX` folder from CDN
$-icon-font-cdn-version: "10"; // Keep in sync with desired `vX` folder from CDN
$-icon-font-path: "#{$sage-font-cdn-root}/sage/v#{$-icon-font-cdn-version}" !default;
$-icon-font-version: 1; // Only used for cache busting so increment as needed for such purposes

Expand Down
1 change: 1 addition & 0 deletions packages/sage-assets/lib/stylesheets/tokens/_icon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ $sage-icons: (
search-small: unicode(e9bc),
send-message: unicode(e9bd),
sequences: unicode(e9be),
share: unicode(e9eb),
skipped: unicode(e9bf),
slash-divider: unicode(e9c0),
speaker: unicode(e9c1),
Expand Down
1 change: 1 addition & 0 deletions packages/sage-react/lib/configs/tokens/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ export const TOKENS_ICONS = {
SEARCH_SMALL: 'search-small',
SEND_MESSAGE: 'send-message',
SEQUENCES: 'sequences',
SHARE: 'share',
SKIPPED: 'skipped',
SLASH_DIVIDER: 'slash-divider',
SPEAKER: 'speaker',
Expand Down

0 comments on commit 56af73e

Please sign in to comment.