Skip to content
Permalink
Browse files

fix(design-tokens): change color-text-link token values (#172)

* fix(design-tokens): change color-text-link token values

* test(anchor): snapshot update

* test(paste-theme): link color test update

* fix(design-tokens): remove color-text-icon-link-* tokens
  • Loading branch information
richbachman committed Nov 12, 2019
1 parent 7e0e333 commit f0a215cb283f74f268387e744099e337c6489ebd
@@ -16,7 +16,7 @@ exports[`Anchor it should render an anchor 1`] = `
}

.emotion-0 {
color: #0075c3;
color: #005ea6;
-webkit-text-decoration: underline;
text-decoration: underline;
outline: none;
@@ -64,7 +64,7 @@ exports[`Anchor it should render an external anchor 1`] = `
}

.emotion-0 {
color: #0075c3;
color: #005ea6;
-webkit-text-decoration: underline;
text-decoration: underline;
outline: none;
@@ -114,7 +114,7 @@ exports[`Anchor it should render an external anchor with overwritten target and
}

.emotion-0 {
color: #0075c3;
color: #005ea6;
-webkit-text-decoration: underline;
text-decoration: underline;
outline: none;
@@ -27,16 +27,16 @@ props:

# links
color-text-link:
value: "{!palette-blue-60}"
value: "{!palette-blue-70}"
comment: Link text
color-text-link-light:
value: "{!palette-blue-40}"
comment: Light shade of link text to be used in interactions
color-text-link-dark:
value: "{!palette-blue-70}"
value: "{!palette-blue-80}"
comment: Dark shade of link text to be used in interactions
color-text-link-darker:
value: "{!palette-blue-80}"
value: "{!palette-blue-90}"
comment: Darker shade of link text to be used in interactions
color-text-link-destructive:
value: "{!palette-red-60}"
@@ -25,7 +25,7 @@ props:

# links
color-text-link:
value: "{!palette-blue-50}"
value: "{!palette-blue-60}"
comment: Link text
color-text-link-light:
value: "{!palette-blue-40}"
@@ -22,7 +22,7 @@ describe('Theme.Provider', () => {
<ThemeConsumerExampleTextColor />
</Theme.Provider>
);
expect(wrapper.find('p').text()).toBe('Color: #0075c3');
expect(wrapper.find('p').text()).toBe('Color: #005ea6');
});

it('should render the sendgrid link text color', (): void => {
@@ -31,7 +31,7 @@ describe('Theme.Provider', () => {
<ThemeConsumerExampleTextColor />
</Theme.Provider>
);
expect(wrapper.find('p').text()).toBe('Color: #3368fa');
expect(wrapper.find('p').text()).toBe('Color: #003adb');
});

it('should rely on the default breakpoints set on the theme object', () => {

1 comment on commit f0a215c

@now

This comment has been minimized.

Please sign in to comment.
You can’t perform that action at this time.