Skip Navigation
Type MethodMethod

stylesheets(in:)

Reads the stylesheets of a directory in application order.

static func stylesheets(in directory: URL) throws -> [ThemeStylesheet]

Parameters

directory

The directory to read.

Return Value

The stylesheets sorted by file name; an empty array if there are none.

Discussion