mirror of
https://github.com/supabase/supabase.git
synced 2026-07-03 22:54:19 +08:00
Add a docs feedback widget to allow upvoting and downvoting pages. Votes (completely anonymized, barely more than a counter) go to a database in the main supabase-com project. If the user has accepted telemetry, the votes also go to Logflare with a bit more info. Post-vote, logged-in users can leave a comment, which goes to the `platform/feedback/send` endpoint. There is a warning in the feedback modal that the feedback is not anonymous.
26 lines
679 B
JavaScript
26 lines
679 B
JavaScript
const config = require('config/tailwind.config')
|
|
|
|
module.exports = config({
|
|
content: [
|
|
'./components/**/*.tsx',
|
|
'./content/**/*.{ts,tsx,mdx}',
|
|
'./docs/**/*.{tsx,mdx}',
|
|
'./layouts/**/*.tsx',
|
|
'./pages/**/*.{tsx,mdx}',
|
|
'./../../packages/ui/src/**/*.{tsx,ts,js}',
|
|
'./../../packages/ui-patterns/**/*.{tsx,ts,js}',
|
|
],
|
|
plugins: [
|
|
function ({ addUtilities, addVariant }) {
|
|
addUtilities({
|
|
// prose (tailwind typography) helpers
|
|
// useful for removing margins in prose styled sections
|
|
'.prose--remove-p-margin p': {
|
|
margin: '0',
|
|
},
|
|
})
|
|
},
|
|
require('@tailwindcss/container-queries'),
|
|
],
|
|
})
|