-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
10bc903
commit 9ee9c54
Showing
8 changed files
with
556 additions
and
62 deletions.
There are no files selected for viewing
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
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,53 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
@layer base { | ||
/* h1 to h6 font size */ | ||
h1 { | ||
@apply text-4xl; | ||
} | ||
h2 { | ||
@apply text-3xl; | ||
} | ||
h3 { | ||
@apply text-2xl; | ||
} | ||
h4 { | ||
@apply text-xl; | ||
} | ||
h5 { | ||
@apply text-lg; | ||
} | ||
h6 { | ||
@apply text-base; | ||
} | ||
} | ||
|
||
.block-editor-wrapper { | ||
@apply p-8; | ||
} | ||
|
||
.block-editor { | ||
@apply w-full h-full border-0 outline-none; | ||
} | ||
|
||
/* show placeholder when editor is in focused mode */ | ||
.tiptap.ProseMirror-focused .is-node-empty.has-focus::before { | ||
@apply text-[#959595] float-left h-0 pointer-events-none; | ||
content: attr(data-placeholder); | ||
} | ||
|
||
.bubble-menu-wrapper { | ||
@apply rounded-[6px] p-[10px] bg-white; | ||
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); | ||
} | ||
.menu-item-wrapper { | ||
@apply flex gap-2; | ||
} | ||
.menu-item-wrapper > button { | ||
@apply bg-transparent border-none cursor-pointer py-1 px-2 rounded-[4px] hover:bg-gray-200; | ||
} | ||
.menu-item-wrapper > button.active { | ||
@apply py-1 px-2 rounded-[4px] bg-gray-200; | ||
} |
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 @@ | ||
export default { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} |
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,9 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
export default { | ||
content: ["./lib/**/*.{ts,tsx}"], | ||
theme: { | ||
extend: {}, | ||
}, | ||
plugins: [], | ||
} | ||
|
Oops, something went wrong.