forked from nodejs/nodejs.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
79 additions
and
20 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 |
---|---|---|
|
@@ -7,3 +7,4 @@ end_of_line = lf | |
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
max_line_length = 80 |
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ | ||
"printWidth": 80, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"semi": true, | ||
|
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
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
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 |
---|---|---|
@@ -1,63 +1,98 @@ | ||
.wrapper { | ||
@apply border rounded-full flex items-center w-fit py-1 pl-1 pr-2.5 text-sm font-medium; | ||
@apply border | ||
rounded-full | ||
flex | ||
items-center | ||
w-fit | ||
py-1 | ||
pl-1 | ||
pr-2.5 | ||
text-sm | ||
font-medium; | ||
|
||
.icon { | ||
@apply w-4 h-4; | ||
} | ||
|
||
.badge { | ||
@apply rounded-full border px-2.5 py-0.5 mr-2 text-white; | ||
@apply rounded-full | ||
border | ||
px-2.5 | ||
py-0.5 | ||
mr-2 | ||
text-white; | ||
} | ||
|
||
.message { | ||
@apply mr-1; | ||
} | ||
|
||
&.default { | ||
@apply border-green-200 bg-green-100 dark:border-green-700 dark:bg-neutral-900; | ||
@apply border-green-200 | ||
bg-green-100 | ||
dark:border-green-700 | ||
dark:bg-neutral-900; | ||
|
||
.icon { | ||
@apply text-green-500 dark:text-green-300; | ||
@apply text-green-500 | ||
dark:text-green-300; | ||
} | ||
|
||
.badge { | ||
@apply border-green-200 dark:border-green-600 bg-green-600; | ||
@apply border-green-200 | ||
dark:border-green-600 | ||
bg-green-600; | ||
} | ||
|
||
.message { | ||
@apply text-green-700 dark:text-green-300; | ||
@apply text-green-700 | ||
dark:text-green-300; | ||
} | ||
} | ||
|
||
&.error { | ||
@apply border-danger-200 dark:border-danger-700 bg-danger-100 dark:bg-neutral-900; | ||
@apply border-danger-200 | ||
dark:border-danger-700 | ||
bg-danger-100 | ||
dark:bg-neutral-900; | ||
|
||
.icon { | ||
@apply text-danger-500 dark:text-danger-300; | ||
@apply text-danger-500 | ||
dark:text-danger-300; | ||
} | ||
|
||
.badge { | ||
@apply border-danger-200 dark:border-danger-600 bg-danger-600; | ||
@apply border-danger-200 | ||
dark:border-danger-600 | ||
bg-danger-600; | ||
} | ||
|
||
.message { | ||
@apply text-danger-700 dark:text-danger-300; | ||
@apply text-danger-700 | ||
dark:text-danger-300; | ||
} | ||
} | ||
|
||
&.warning { | ||
@apply border-warning-200 dark:border-warning-700 bg-warning-100 dark:bg-neutral-900; | ||
@apply border-warning-200 | ||
dark:border-warning-700 | ||
bg-warning-100 | ||
dark:bg-neutral-900; | ||
|
||
.icon { | ||
@apply text-warning-500 dark:text-warning-300; | ||
@apply text-warning-500 | ||
dark:text-warning-300; | ||
} | ||
|
||
.badge { | ||
@apply border-warning-200 dark:border-warning-600 bg-warning-600; | ||
@apply border-warning-200 | ||
dark:border-warning-600 | ||
bg-warning-600; | ||
} | ||
|
||
.message { | ||
@apply text-warning-700 dark:text-warning-300; | ||
@apply text-warning-700 | ||
dark:text-warning-300; | ||
} | ||
} | ||
} |
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
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
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
module.exports = { | ||
syntax: 'postcss-scss', | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} | ||
}; |