diff --git a/src/dzeio/Link/Link.module.styl b/src/dzeio/Link/Link.module.styl index ecab51b..52b6a23 100644 --- a/src/dzeio/Link/Link.module.styl +++ b/src/dzeio/Link/Link.module.styl @@ -1,9 +1,9 @@ @import '../config' .link - color $infoLight + color $infoDark @media (prefers-color-scheme dark) - color $infoDark + color $infoLight &:hover text-decoration underline diff --git a/src/dzeio/Link/index.tsx b/src/dzeio/Link/index.tsx index 8dc210e..879b647 100644 --- a/src/dzeio/Link/index.tsx +++ b/src/dzeio/Link/index.tsx @@ -12,6 +12,7 @@ interface Props { /** * Override external detection system */ + noStyle?: boolean external?: boolean } @@ -23,7 +24,7 @@ export default class Link extends React.Component { // external link return ( { return ( {this.props.children} )