import 'vuetify/styles'
import '@fontsource/roboto/100.css'
import '@fontsource/roboto/300.css'
import '@fontsource/roboto/400.css'
import '@fontsource/roboto/500.css'
import '@fontsource/roboto/700.css'
import '@fontsource/roboto/900.css'
import { createVuetify } from 'vuetify'
import * as components from 'vuetify/components'
import * as directives from 'vuetify/directives'
import '@mdi/font/css/materialdesignicons.css'
import { aliases, mdi } from 'vuetify/iconsets/mdi'

export default createVuetify({
  components,
  directives,
  theme: {
    defaultTheme: 'light',
    themes: {
      light: {
        dark: false,
        colors: {
          primary: '#1C652F',
          secondary: '#5F6E62',
          background: '#F6F8F5',
          surface: '#FFFFFF',
          success: '#2E7D32',
          warning: '#B7791F',
          error: '#C0392B',
          info: '#2F6FB3',
        },
      },
      dark: {
        dark: true,
        colors: {
          primary: '#4EA758',
          secondary: '#A7B0BC',
          background: '#101215',
          surface: '#171A1F',
          success: '#5FB968',
          warning: '#D0A34E',
          error: '#E07A7A',
          info: '#6AA8DE',
        },
      },
    },
  },
  icons: {
    defaultSet: 'mdi',
    aliases,
    sets: {
      mdi,
    },
  },
})
