Skip to content

Commit

Permalink
WIP #25
Browse files Browse the repository at this point in the history
  • Loading branch information
eboileau committed Nov 2, 2023
1 parent 8ab4c8d commit 06f83fa
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 228 deletions.
16 changes: 12 additions & 4 deletions client/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,22 @@ import TreeSelect from 'primevue/treeselect'
import DefaultLayout from '@/components/layout/DefaultLayout.vue'
import SectionLayout from '@/components/layout/SectionLayout.vue'

import Toast from 'primevue/toast'
import ToastService from 'primevue/toastservice'

const app = createApp(App)
const tailoredTailwind = usePassThrough(
Tailwind,
{
inputtext: {
root: (context) => ({
class: [
'text-gray-600 border border-crmapblue',
{
'hover:border-crmapblue2 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(2,176,237,1)]':
!context.disabled,
'opacity-60 select-none pointer-events-none cursor-default': context.disabled
}
]
})
},
treeselect: {
root: { class: 'max-w-[30rem] md:w-full bg-transparent border-cborder' },
tree: {
Expand Down Expand Up @@ -106,7 +115,6 @@ app.use(PrimeVue, {
pt: tailoredTailwind,
ptOptions: { mergeProps: true, mergeSections: true }
})
app.use(ToastService)
app.use(router)

app.component('Accordion', Accordion)
Expand Down
Loading

0 comments on commit 06f83fa

Please sign in to comment.