Skip to content

Commit

Permalink
feat(text): change color-text-success and add example (#3046)
Browse files Browse the repository at this point in the history
* feat(text): change color-text-success and add example

* feat(text): update snapshots
  • Loading branch information
engai authored and brandonferrua committed Jan 31, 2018
1 parent 93ea7a4 commit 97d13bb
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions design-tokens/force-base/aliases/color.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ aliases:
BIGSTONE_BLUE: "hsl(210, 66.67%, 12%)"
CINNAMON: "#844800"
FUN_GREEN: "#028048"
FOREST_GREEN: "#027E46"
CERULEAN: "#00A1DF"
MYSTIC: "#E4E9F3"
TOREA_BAY: "#0B2399"
Expand Down
2 changes: 1 addition & 1 deletion design-tokens/salesforce-skin/text-color.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ props:
value: '{!TANGERINE}'
comment: Customer text used in anchor subtitle
COLOR_TEXT_SUCCESS:
value: '{!FUN_GREEN}'
value: '{!FOREST_GREEN}'
comment: Text color for success text.
COLOR_TEXT_SUCCESS_INVERSE:
value: '{!EMERALD}'
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions ui/utilities/text/example.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ export let examples = [
label: 'Color - Default',
element: <Text className="slds-text-color_default" />
},
{
id: 'text-color-success',
label: 'Color - Success',
element: <Text className="slds-text-color_success" />
},
{
id: 'text-color-weak',
label: 'Color - Weak',
Expand Down

0 comments on commit 97d13bb

Please sign in to comment.