printer/themeprinter.go
changeset 265 05c40b36d3b2
parent 239 605a00e9d1ab
equal deleted inserted replaced
264:8f478162d991 265:05c40b36d3b2
     1 // Copyright © 2017 Mikael Berthe <mikael@lilotux.net>
     1 // Copyright © 2017-2023 Mikael Berthe <mikael@lilotux.net>
     2 //
     2 //
     3 // Licensed under the MIT license.
     3 // Licensed under the MIT license.
     4 // Please see the LICENSE file is this directory.
     4 // Please see the LICENSE file is this directory.
     5 
     5 
     6 package printer
     6 package printer
    13 	"path/filepath"
    13 	"path/filepath"
    14 	"strings"
    14 	"strings"
    15 
    15 
    16 	"github.com/pkg/errors"
    16 	"github.com/pkg/errors"
    17 
    17 
    18 	"github.com/McKael/madon/v2"
    18 	"github.com/McKael/madon/v3"
    19 )
    19 )
    20 
    20 
    21 const themeDirName = "themes"
    21 const themeDirName = "themes"
    22 
    22 
    23 // ThemePrinter represents a Theme printer
    23 // ThemePrinter represents a Theme printer