Skip to content

Commit

Permalink
fix: color variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukioru committed Feb 26, 2024
1 parent f7ff1d8 commit 2d54eb5
Show file tree
Hide file tree
Showing 80 changed files with 1,250 additions and 1,233 deletions.
16 changes: 8 additions & 8 deletions packages/add-to-calendar/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/add-to-calendar/src/AddToCalendar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import HelpersClass from './helpers';
const helpers = new HelpersClass();

const styleDropdown = css`
background-color: #fff;
border: 1px solid #9b9b9b;
background-color: var(--colors-white, #fff);
border: 1px solid var(--colors-secondary, #9b9b9b);
border-radius: 2px;
padding: 5px 10px;
margin-top: 4px;
Expand Down Expand Up @@ -109,7 +109,7 @@ export default class ReactAddToCalendar extends Component {
<li key={helpers.getRandomKey()}>
<a
className={`${currentItem}-link`}
style={{ color: '#4a4a4a' }}
style={{ color: 'var(--colors-main, #4a4a4a)' }}
onClick={self.handleDropdownLinkClick}
href={helpers.buildUrl(self.props.event, currentItem, self.state.isCrappyIE)}
target="_blank"
Expand Down
80 changes: 40 additions & 40 deletions packages/article/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 15 additions & 15 deletions packages/avatar/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/avatar/src/Avatar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ Avatar.defaultProps = {
height: null,

// backgroundColor: '#838383',
textColor: '#d9d9d9',
textColor: 'var(--colors-gray, #d9d9d9)',
textScale: 1,

placeholder: null,
Expand Down
2 changes: 1 addition & 1 deletion packages/avatar/src/AvatarGroup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ AvatarGroup.defaultProps = {
limit: null,
offset: -0.35,
count: null,
backgroundColor: '#838383',
backgroundColor: 'var(--colors-secondary, #838383)',
items: [],
};

Expand Down
30 changes: 15 additions & 15 deletions packages/button/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2d54eb5

Please sign in to comment.