Skip to content

Commit

Permalink
Define list indentation styles on theme.ts itself
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianUribe6 committed Jan 19, 2024
1 parent fbd590e commit 39c1ae7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions apps/front-end/src/app/[workspace]/note/[id]/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const theme: EditorThemeClasses = {
nested: {
listitem: "list-none",
},
ulDepth: ["", "list-[circle]", "list-[square]"],
},
link: "dark:text-cyan-400 dark:visited:text-indigo-400 text-cyan-600 cursor-pointer",
codeHighlight: codeHighlightTheme,
Expand Down
8 changes: 0 additions & 8 deletions apps/front-end/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@
.underline-through {
text-decoration: underline line-through;
}

.prose ul ul {
list-style-type: circle;
}

.prose ul ul ul {
list-style-type: square;
}
}

@layer base {
Expand Down

0 comments on commit 39c1ae7

Please sign in to comment.