Skip to content

Commit

Permalink
feat: port charts, mermaid, math, markmap, copy, pager to Tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
gcushen committed Oct 27, 2023
1 parent 45a7ac7 commit 49690f2
Show file tree
Hide file tree
Showing 89 changed files with 5,946 additions and 77 deletions.
1 change: 1 addition & 0 deletions modules/wowchemy-tailwind/assets/css/components/all.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
@import "page.css";
@import "task-list.css";
@import "copy.css";
28 changes: 28 additions & 0 deletions modules/wowchemy-tailwind/assets/css/components/copy.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/* Code Copy */

/* Hugo's Code Block Wrapper Class */

.highlight {
@apply relative z-0;
}

.highlight:hover > .copy-button {
@apply visible;
}

/* Copy Button */

.copy-button {
@apply invisible absolute right-0 top-0 z-10 w-20 py-1
cursor-pointer font-mono text-sm whitespace-nowrap
rounded-bl-md rounded-tr-md
bg-neutral-200 text-neutral-700 opacity-90
dark:bg-neutral-600 dark:text-neutral-200;
}

.copy-button:hover,
.copy-button:focus,
.copy-button:active,
.copy-button:active:hover {
@apply bg-primary-100 dark:bg-primary-600;
}
13 changes: 12 additions & 1 deletion modules/wowchemy-tailwind/assets/css/themes/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
--color-neutral-700: 51, 65, 85;
--color-neutral-800: 30, 41, 59;
--color-neutral-900: 15, 23, 42;
/* Primary */
/* TW Blue Palette */
--color-primary-50: 239, 246, 255;
--color-primary-100: 219, 234, 254;
--color-primary-200: 191, 219, 254;
Expand All @@ -23,4 +23,15 @@
--color-primary-700: 29, 78, 216;
--color-primary-800: 30, 64, 175;
--color-primary-900: 30, 58, 138;
/* TW Cyan Palette */
--color-secondary-50: 236, 254, 255;
--color-secondary-100: 207, 250, 254;
--color-secondary-200: 165, 243, 252;
--color-secondary-300: 103, 232, 249;
--color-secondary-400: 34, 211, 238;
--color-secondary-500: 6, 182, 212;
--color-secondary-600: 8, 145, 178;
--color-secondary-700: 14, 116, 144;
--color-secondary-800: 21, 94, 117;
--color-secondary-900: 22, 78, 99;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit 49690f2

Please sign in to comment.