53214cc77d
* feat(ui): adds link to all models from project dashboard card
* feat(ui): refactoring layout to focus on function runs
* chore(server): a bunch of comments regarding some unclear automate api parts
* feat(fe2/automate): cleans up automate results dialog summary
* feat(fe2/automate): adds automation status to model list view
* feat(fe2/automate): adds automation status to version card
* feat(fe2/automate): adds automation status to version card properly
* feat(fe2/automate): linting & adds id back to func name for refs
* fix(fe2): linting errs/fe2 tests
* fix(fe2): types
* fix(fe2): types...
* fix(fe2/automate): brings back status update tracking 🤞
* fix(fe2/automate): scaffolds viewer automate panel
* fix(fe2/automate): revamps viewer resource query to include automation status, adds proper sidebar button for automation status
* fix(fe2/automate): more WIP work on automation status integration in viewer page
* feat(fe2/automate): adds important note to self
* feat(fe2/automate): more results display wokr
* feat(fe2/automate): adds resulting models to query, improves layout
* feat(fe2/automate): wraps up result model overlays
* feat(fe2/automate): fixes up multiple attachment layout errors
* feat(fe2/automate): adds view results button in lieu of context view, but in the presence of resultVersions
* feat(fe2/automate): minor fix to viewer layout panel to only show actions if slot is populated
* feat(fe2/automate): cleanup and type fixes
* feat(fe2/automate): automate dialog main action > view model WIP
* feat(fe2/automate): wraps up view model in automation status dialog
* feat(fe2/automate): copy change in automation status dialog
* feat(fe2/automate): eslint fix
* feat(fe2/automate): prettier :/
* feat(fe2/automate): adds gradient colouring
* feat(fe2/automate): comments
* feat(fe2/automate): limits initial length of displayed runs, adds poor man's pagination, and reverts to run result click click behaviour
* feat(fe2/automate): lint
34 lines
1016 B
JavaScript
34 lines
1016 B
JavaScript
const speckleTheme = require('@speckle/tailwind-theme')
|
|
const {
|
|
tailwindContentEntry: themeEntry
|
|
} = require('@speckle/tailwind-theme/tailwind-configure')
|
|
const {
|
|
tailwindContentEntry: uiLibEntry
|
|
} = require('@speckle/ui-components/tailwind-configure')
|
|
const formsPlugin = require('@tailwindcss/forms')
|
|
const { createRequire } = require('module')
|
|
|
|
// i know, this is bizarre - import.meta.url in a CJS file
|
|
// but this happens because apparently this file is transpiled to different formats (ESM/CJS) multiple times
|
|
// if this were an mjs file it wouldn't work
|
|
const req = createRequire(import.meta.url)
|
|
|
|
const config = {
|
|
darkMode: 'class',
|
|
content: [
|
|
`./components/**/*.{vue,js,ts}`,
|
|
`./layouts/**/*.vue`,
|
|
`./pages/**/*.vue`,
|
|
`./composables/**/*.{js,ts}`,
|
|
`./plugins/**/*.{js,ts}`,
|
|
'./stories/**/*.{js,ts,vue,mdx}',
|
|
'./app.vue',
|
|
'./lib/**/composables/*.{js,ts}',
|
|
themeEntry(req),
|
|
uiLibEntry(req)
|
|
],
|
|
plugins: [speckleTheme, formsPlugin]
|
|
}
|
|
|
|
module.exports = config
|