mirror of
https://github.com/plausible/analytics.git
synced 2024-11-24 12:42:30 +03:00
b6eeb40472
* First pass on manual filter & path regex/negated filters Still needs: - Form structure on filter modal - Edit filter button - Filter dropdown UI improvement - Filter modal mount data collection - Tests - Potentially negating other filters * Second pass - mostly everything user-facing is done Still needs: - Tests - Potentially negating other filters - Potentially some code cleanup * Bugfix in realtime view, formatting * Fixes editing UX on list view * Adds tests for exclusions and wildcards * Various UI Improvements - Makes edit buttons full-length & properly sized - Adds remove filter button in edit menu * Changelog * Makes requested changes, adds different version of filter button * Makes colorings on top bar elements consistent
57 lines
1.2 KiB
JavaScript
57 lines
1.2 KiB
JavaScript
const colors = require('tailwindcss/colors')
|
|
|
|
module.exports = {
|
|
purge: [
|
|
'./js/**/*.js',
|
|
'../lib/plausible_web/templates/**/*.html.eex',
|
|
],
|
|
darkMode: 'class',
|
|
theme: {
|
|
container: {
|
|
center: true,
|
|
padding: '1rem',
|
|
},
|
|
extend: {
|
|
colors: {
|
|
orange: colors.orange,
|
|
'gray-950': 'rgb(13, 18, 30)',
|
|
'gray-850': 'rgb(26, 32, 44)',
|
|
'gray-825': 'rgb(37, 47, 63)'
|
|
},
|
|
spacing: {
|
|
'44': '11rem'
|
|
},
|
|
width: {
|
|
'31percent': '31%',
|
|
},
|
|
opacity: {
|
|
'15': '0.15',
|
|
},
|
|
zIndex: {
|
|
'9': 9,
|
|
},
|
|
maxWidth: {
|
|
'2xs': '15rem',
|
|
'3xs': '12rem',
|
|
}
|
|
},
|
|
},
|
|
variants: {
|
|
textColor: ['responsive', 'hover', 'focus', 'group-hover'],
|
|
display: ['responsive', 'hover', 'focus', 'group-hover'],
|
|
extend: {
|
|
textColor: ['dark'],
|
|
borderWidth: ['dark'],
|
|
backgroundOpacity: ['dark'],
|
|
display: ['dark'],
|
|
cursor: ['hover'],
|
|
justifyContent: ['responsive']
|
|
}
|
|
},
|
|
plugins: [
|
|
require('@tailwindcss/forms'),
|
|
require('@tailwindcss/typography'),
|
|
require('@tailwindcss/aspect-ratio'),
|
|
]
|
|
}
|