diff --git a/modules/wowchemy-tailwind/assets/css/styles.css b/modules/wowchemy-tailwind/assets/css/styles.css index 374ee7df..c89c5da5 100644 --- a/modules/wowchemy-tailwind/assets/css/styles.css +++ b/modules/wowchemy-tailwind/assets/css/styles.css @@ -4,3 +4,4 @@ /*! Wowchemy Components | https://wowchemy.com */ @import "./components/all.css"; @import "./blocks/all.css"; +@import "themes/default.css"; diff --git a/modules/wowchemy-tailwind/assets/css/themes/default.css b/modules/wowchemy-tailwind/assets/css/themes/default.css new file mode 100644 index 00000000..f2aab9f5 --- /dev/null +++ b/modules/wowchemy-tailwind/assets/css/themes/default.css @@ -0,0 +1,26 @@ +/* Default Wowchemy color theme */ +:root { + /* Neutral */ + --color-neutral: 255, 255, 255; + --color-neutral-50: 248, 250, 252; + --color-neutral-100: 241, 245, 249; + --color-neutral-200: 226, 232, 240; + --color-neutral-300: 203, 213, 225; + --color-neutral-400: 148, 163, 184; + --color-neutral-500: 100, 116, 139; + --color-neutral-600: 71, 85, 105; + --color-neutral-700: 51, 65, 85; + --color-neutral-800: 30, 41, 59; + --color-neutral-900: 15, 23, 42; + /* Primary */ + --color-primary-50: 239, 246, 255; + --color-primary-100: 219, 234, 254; + --color-primary-200: 191, 219, 254; + --color-primary-300: 147, 197, 253; + --color-primary-400: 96, 165, 250; + --color-primary-500: 59, 130, 246; + --color-primary-600: 37, 99, 235; + --color-primary-700: 29, 78, 216; + --color-primary-800: 30, 64, 175; + --color-primary-900: 30, 58, 138; +} diff --git a/modules/wowchemy-tailwind/data/icons.yaml b/modules/wowchemy-tailwind/data/icons.yaml index edb43908..e4b69392 100644 --- a/modules/wowchemy-tailwind/data/icons.yaml +++ b/modules/wowchemy-tailwind/data/icons.yaml @@ -26,3 +26,15 @@ send: + +# Callouts +information-circle: + + +exclamation-triangle: + + + +# Skills + +python: diff --git a/modules/wowchemy-tailwind/layouts/partials/social_links.html b/modules/wowchemy-tailwind/layouts/partials/social_links.html index 81786e32..c0c528be 100644 --- a/modules/wowchemy-tailwind/layouts/partials/social_links.html +++ b/modules/wowchemy-tailwind/layouts/partials/social_links.html @@ -15,7 +15,7 @@ href="{{ $link | safeURL }}" {{ $target | safeHTMLAttr }} aria-label="{{ .icon | title }}" - >{{ partial "functions/get_icon" (dict "name" .icon "attributes" "height=\"1em\"") }} + >{{ partial "functions/get_icon" (dict "name" .icon "attributes" "style=\"height: 1em;\"") }} {{ end }} {{ end }} diff --git a/modules/wowchemy-tailwind/layouts/shortcodes/audio.html b/modules/wowchemy-tailwind/layouts/shortcodes/audio.html new file mode 100644 index 00000000..85f4dda0 --- /dev/null +++ b/modules/wowchemy-tailwind/layouts/shortcodes/audio.html @@ -0,0 +1,41 @@ +{{/* Audio Shortcode for Wowchemy. */}} +{{/* Load audio from page dir falling back to media library at `assets/media/` and then to remote URI. */}} +{{/* Supports primarily MP3 and MP4. */}} + +{{/* + Docs: https://wowchemy.com/docs/content/writing-markdown-latex/#audio + + Parameters + ---------- + src : + Path to file or url for the audio file. + If a local file, first it is searched in the page directory, and then in `assets/media/` . + id : optional + Custom id "audio-{id}" to associate to the