Skip to content

Commit

Permalink
wipping slowly
Browse files Browse the repository at this point in the history
  • Loading branch information
SethSharp committed Aug 21, 2024
1 parent 62e619f commit ddffa64
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 15 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@alpinejs/intersect": "^3.13.7",
"@headlessui/vue": "^1.7.16",
"@heroicons/vue": "^2.0.18",
"@sethsharp/ui": "1.0.0-alpha.2.0.29",
"@sethsharp/ui": "1.0.0-alpha.2.0.33",
"@tiptap/extension-bubble-menu": "^2.2.1",
"@tiptap/extension-code-block-lowlight": "^2.2.4",
"@tiptap/extension-document": "^2.2.1",
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Components/Editor/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const editor = useEditor({
],
editorProps: {
attributes: {
class: 'bg-white p-4 max-w-none w-full min-h-[500px] focus:outline-none border border-gray-200 rounded-md max-h-[85vh] overflow-y-scroll overflow-hidden prose prose-img:m-0 ',
class: 'bg-white p-4 max-w-none w-full min-h-[500px] focus:outline-none border border-gray-200 rounded-md max-h-[85vh] overflow-y-scroll overflow-hidden prose prose-img:m-0 dark:bg-slate-950',
},
},
onUpdate: ({ editor }) => {
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Components/Links/NavLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const props = defineProps({
const classes = computed(() =>
props.active
? 'inline-flex items-center px-1 pt-1 border-b-2 border-primary-400 text-sm font-medium leading-5 text-gray-900 focus:outline-none focus:border-primary-700 transition duration-150 ease-in-out dark:text-gray-300'
: 'inline-flex items-center px-1 pt-1 border-b-2 border-transparent text-sm font-medium leading-5 text-gray-400 hover:text-gray-300 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-300 transition duration-150 ease-in-out'
: 'inline-flex items-center px-1 pt-1 border-b-2 border-transparent text-sm font-medium leading-5 text-gray-400 hover:text-gray-300 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-300 transition duration-150 ease-in-out dark:focus:text-gray-400'
)
</script>

Expand Down
12 changes: 6 additions & 6 deletions resources/js/Layouts/AuthenticatedLayout.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script setup>
import { ref } from 'vue'
import { Head, Link } from '@inertiajs/vue3'
import { Notifications, Dropdown, DropdownMenuLink } from '@sethsharp/ui'
import { Notifications, Dropdown, DropdownMenuLink, SecondaryButton } from '@sethsharp/ui'
import NavLink from '@/Components/Links/NavLink.vue'
import ApplicationLogo from '@/Components/ApplicationLogo.vue'
import ResponsiveNavLink from '@/Components/Links/ResponsiveNavLink.vue'
Expand Down Expand Up @@ -38,8 +38,8 @@ const links = [
<Head :title="title" />

<div>
<div class="min-h-screen bg-gray-100 dark:bg-gray-900">
<nav class="bg-white border-b border-gray-300 dark:bg-gray-800 dark:border-transparent">
<div class="min-h-screen bg-gray-100 dark:bg-gray-800">
<nav class="bg-white border-b border-gray-300 dark:bg-gray-900 dark:border-transparent">
<!-- Primary Navigation Menu -->
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
Expand Down Expand Up @@ -68,9 +68,9 @@ const links = [
<div class="hidden sm:flex sm:items-center sm:ms-6">
<Dropdown>
<template #trigger>
<button class="cursor-pointer">
<SecondaryButton>
{{ $page.props.auth.user.name }}
</button>
</SecondaryButton>
</template>

<template #content>
Expand Down Expand Up @@ -185,7 +185,7 @@ const links = [

<!-- Page Content -->
<main>
<div class="bg-white rounded-xl m-2 sm:m-6 p-4 sm:p-12 dark:bg-gray-950">
<div class="bg-white rounded-xl m-2 sm:m-6 p-4 sm:p-12 dark:bg-gray-900">
<slot />
</div>
</main>
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Layouts/IndexBlogsLayout.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup>
import { router, Link } from '@inertiajs/vue3'
import { PrimaryButton, Tabs, Pagination, Heading } from '@sethsharp/ui'
import { PrimaryButton, Tabs, Pagination } from '@sethsharp/ui'
import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout.vue'
const props = defineProps({
Expand Down
2 changes: 1 addition & 1 deletion resources/views/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@vite('resources/js/app.js')
@inertiaHead
</head>
<body class="font-sans antialiased">
<body class="font-sans antialiased bg-white dark:bg-gray-800">
@inertia
</body>
</html>
2 changes: 2 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ module.exports = {
],

safelist: [
'dark',

'grid-cols-1',
'grid-cols-2',
'grid-cols-3',
Expand Down

0 comments on commit ddffa64

Please sign in to comment.