-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* style: Created Anchor styling (#5933) * fix: Changed css import * refactor: Rename export to Anchor * fix(base.css): Added more anchor specifiers
- Loading branch information
Showing
3 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import type { Meta as MetaObj, StoryObj } from '@storybook/react'; | ||
|
||
export const Anchor: StoryObj = { | ||
render: () => ( | ||
<div> | ||
<p> | ||
The current Node.js security policy can be found at{' '} | ||
<a href="https://github.com/nodejs/node/blob/HEAD/SECURITY.md#security"> | ||
https://github.com/nodejs/node/blob/HEAD/SECURITY.md#security | ||
</a> | ||
, including information on how to report a vulnerability in Node.js. | ||
Subscribe to the low-volume announcement-only nodejs-sec mailing list at{' '} | ||
<a href="https://groups.google.com/forum/#!forum/nodejs-sec"> | ||
https://groups.google.com/forum/#!forum/nodejs-sec | ||
</a>{' '} | ||
to stay up to date on security vulnerabilities and security-related | ||
releases of Node.js and the projects maintained in the nodejs GitHub | ||
organization. | ||
</p> | ||
</div> | ||
), | ||
}; | ||
|
||
export default { title: 'Design System' } as MetaObj; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
a, | ||
a:link, | ||
a:visited { | ||
@apply text-green-600 | ||
dark:text-green-400; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
*/ | ||
|
||
@import './mixins'; | ||
@import './base'; | ||
|
||
@tailwind base; | ||
@tailwind components; | ||
|