Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion themes/drizzle/assets/css/styles.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
@import "node_modules/tailwindcss/base";
@import "node_modules/tailwindcss/components";
@import "node_modules/tailwindcss/utilities";
@import "node_modules/tailwindcss/utilities";

html {
height: 100%;
background: radial-gradient(ellipse at bottom, #27233a 0%, #1a1827 100%);
}
11 changes: 8 additions & 3 deletions themes/drizzle/assets/css/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
// tailwind.config.js
const colors = require("tailwindcss/colors");
module.exports = {
theme: {
// ...
extend: {
colors: {
bg: "#1a1827",
},
},
},
plugins: [
require('@tailwindcss/typography'),
require("@tailwindcss/typography"),
// ...
],
}
};
7 changes: 2 additions & 5 deletions themes/drizzle/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body
style="
background-image:url('{{`/images/Dalmatian-Spots.svg` | relURL }}');
background-attachment: fixed;">
<div class="container mx-auto max-w-6xl text-gray-700">
<body>
<div class="container mx-auto max-w-6xl text-white">
{{- partial "header.html" . -}}
{{- block "main" . }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion themes/drizzle/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<h1 class="text-3xl mx-6 mb-4 font-bold text-center">
Latest Issue
</h1>
<div class="rounded shadow-xl bg-opacity-50 mx-2 p-6 text-justify bg-white text-2xl hover:bg-opacity-100 transition ease-out duration-200">
<div class="rounded shadow-xl bg-opacity-50 mx-2 p-6 text-justify bg-bg text-2xl hover:bg-opacity-100 transition ease-out duration-200">
{{- range ( where .Site.RegularPages "Type" "post" | first 1) -}}
<div class="text-xs">
{{ .Date.Format "Mon, January 02, 2006" }}
Expand Down