Toggle switches not displaying correctly

Is there an easy way to make ToggleColumn like an actual toggle switch? It seems to default to a circular thing that isn't clear whether it's checked or not.. Or is that just a problem with my setup?
9 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
benshawuk
benshawukOP2y ago
Strange... for me, it appears like in the screen grab above (in the 'enabled' row). Your screengrab is how I want it to look.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
benshawuk
benshawukOP2y ago
Yes, although slightly differently to that: import defaultTheme from 'tailwindcss/defaultTheme'; import forms from '@tailwindcss/forms'; import typography from '@tailwindcss/typography'; const colors = require ('tailwindcss/colors'); /** @type {import('tailwindcss').Config} */ export default { darkMode: 'class', content: [ './vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php', './vendor/laravel/jetstream/**/*.blade.php', './storage/framework/views/*.php', './resources/views/**/*.blade.php', ], theme: { extend: { fontFamily: { sans: ['Figtree', ...defaultTheme.fontFamily.sans], }, colors: { danger: colors.rose, primary: colors.blue, success: colors.green, warning: colors.yellow, } }, }, plugins: [forms, typography], };
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
benshawuk
benshawukOP2y ago
I thought I had, but it looks slightly different to mine. Maybe I followed another tutorial somewhere else. I will check this out in more detail, thanks.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
benshawuk
benshawukOP2y ago
This is working now. I was missing this line from the tailwind config: './vendor/filament/*/.blade.php' Thanks again for nudging me in the right direction!
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server