AdminThemeUikit class
Settings specific to default theme
Admin Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the In addition to the methods and properties above, AdminHookable methods
Admin class also inherits all the methods and properties of: AdminThemeFramework, AdminTheme, WireData and Wire.Common
Properties
Name Return Summary Admin array Inputfield class names that should always use the card option. Admin string Hash used internally to detect changes to $config->Admin Admin string URL to custom CSS file, relative to PW installation root. Admin int Current version number of core CSS/LESS files Admin string Custom CSS rules string
DEFAULT: '' Admin string URL to custom CSS file, relative to installation root
DEFAULT: '' Admin string Main color or 'custom'
DEFAULT: 'red' Admin string Main custom color hex code when defaultMainColor=custom
DEFAULT: '#eb1d61' Admin string Same as above but when used, applies only to dark mode. Admin string Style name, one of 'dark', 'light' or 'auto'
DEFAULT: 'auto' Admin array Toggles for specific behaviors
DEFAULT: [] Admin bool int Whether or not notices should be grouped by type Admin string Size for input/select elements. One of "s" for small, "m" for medium (default), or "l" for large. Admin bool Does current user have page-edit permission? Admin bool Is current user logged in? Admin bool Is current user a superuser? Admin string Layout type (blank=default, sidenav=multi-pane, sidenav-tree=left-tree, sidenav-tree-alt=right-tree) Admin int Logo click action (0=admin root page list, 1=offcanvas nav) Admin string URL to custom logo, relative to PW installation root. Admin int Maximum layout width in pixels, or 0 for no max .
DEFAULT: 1600 Admin array Inputfield class names that should always use the noBorder option (when 100% width). Admin array Inputfield class names that should always use the offset option. Admin array where theme style files are located Admin string One of blank (original) or name of theme style Admin int (0=Standard, 1=Consistent) Admin bool int When true, use uk-width classes for Inputfields (rather than CSS percentages). Admin bool Use offset/margin for all Inputfields? Admin string Text containing user {vars} to use for user label in masthead
DEFAULT: "{Name}" Additional methods and properties
API reference based on ProcessWire core version 3.0.253