Skip to content

Commit

Permalink
chore: add basic paragraph styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Robby Rabbitman committed Jan 29, 2024
1 parent 634b655 commit a12ce8d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 9 additions & 1 deletion apps/web/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,16 @@ module.exports = {
wordWrap: 'normal',
direction: 'ltr',
},
'.border': {
'@apply border-opacity-25 border-solid border-2 border-primary-500 rounded-md':
{},
},
'.border-hover': {
'@apply hover:border-secondary-300 hover:dark:border-secondary-600':
{},
},
'.control': {
'@apply inline-flex gap-1 outline-none appearance-none bg-inherit border-opacity-25 border-solid border-2 border-primary-500 rounded-md hover:text-secondary-500 hover:dark:text-secondary-400 hover:bg-secondary-100 hover:dark:bg-secondary-950 focus-within:border-secondary-500 dark:focus-within:border-secondary-400':
'@apply inline-flex gap-1 outline-none appearance-none bg-inherit border border-hover hover:text-secondary-500 hover:dark:text-secondary-400 hover:bg-secondary-100 hover:dark:bg-secondary-950 focus-within:border-secondary-500 dark:focus-within:border-secondary-400':
{},
},
'.select-label': {
Expand Down
3 changes: 3 additions & 0 deletions libs/cv/feature--edit/src/lib/editor/paragraph.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
cv--edit-paragraph {
@apply flex flex-col gap-4 border p-4;
}

0 comments on commit a12ce8d

Please sign in to comment.