-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feishu-docx: Improve Grid class use Tailwind CSS style.
- Loading branch information
Showing
11 changed files
with
489 additions
and
52 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import DefaultTheme from 'vitepress/theme'; | ||
import '../../style.css'; | ||
import '../../style.scss'; | ||
|
||
export default DefaultTheme; |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
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,61 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
.callout { | ||
padding: 0.5em 1em; | ||
margin: 1.5em 0; | ||
border: 2px solid #ccc; | ||
border-radius: 5px; | ||
font-size: 1em; | ||
|
||
&-bg-1 { | ||
@apply bg-red-50 dark:bg-red-950; | ||
} | ||
&-bg-2 { | ||
@apply bg-orange-50 dark:bg-orange-950; | ||
} | ||
&-bg-3 { | ||
@apply bg-yellow-50 dark:bg-yellow-950; | ||
} | ||
&-bg-4 { | ||
@apply bg-green-50 dark:bg-green-950; | ||
} | ||
&-bg-5 { | ||
@apply bg-blue-50 dark:bg-blue-950; | ||
} | ||
&-bg-6 { | ||
@apply bg-purple-50 dark:bg-purple-950; | ||
} | ||
&-bg-7 { | ||
@apply bg-gray-50 dark:bg-gray-950; | ||
} | ||
|
||
&-border-1 { | ||
@apply border-red-200 dark:border-red-800; | ||
} | ||
&-border-2 { | ||
@apply border-orange-200 dark:border-orange-800; | ||
} | ||
&-border-3 { | ||
@apply border-yellow-200 dark:border-yellow-800; | ||
} | ||
&-border-4 { | ||
@apply border-green-200 dark:border-green-800; | ||
} | ||
&-border-5 { | ||
@apply border-blue-200 dark:border-blue-800; | ||
} | ||
&-border-6 { | ||
@apply border-purple-200 dark:border-purple-800; | ||
} | ||
&-border-7 { | ||
@apply border-gray-200 dark:border-gray-800; | ||
} | ||
|
||
@apply text-gray-800 dark:text-gray-200; | ||
} | ||
|
||
.grid { | ||
margin: 1.5em 0; | ||
} |
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,9 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: ['**/*.md'], | ||
theme: { | ||
extend: {}, | ||
}, | ||
darkMode: 'class', | ||
plugins: [], | ||
}; |
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
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
Oops, something went wrong.