-
Notifications
You must be signed in to change notification settings - Fork 0
White label
The "White label" front end theme is what gives the site its look and feel. It provides styles and extra functionality.
The "White label" theme is a theme built to add styles and customisations to the White Label website. Drupal themes can be disabled and enabled to achieve different looks/feels. However this theme has been custom built for the purposes of the white label, and provides many enhancements.
The theme provides a handful of options, which you can access via "/admin/appearance/settings/white_label". These options are usually set at the beginning of creating a new site, and are rarely changed later. These are best used by advanced or experience Drupal site admins.
To compile the styles and javascript, first install the node packages and then run the build commands.
npm i // run from the root of the project, not the theme root.
npm run // get a list of available commands
npm run watch // compile + watch for changes
npm run build // build the styles + js ready for production
For more detailed info, please see the README file in the theme.
See the Storybook Documentation
- In white_label_preprocess_block, we alter the block entity field which display the content field on the sidebar of full content page (white label sidebar right layout). The field label value is being replaced by the block title.
- Home
- Themes
- Block types
- Content types
- Media
- Taxonomies
- Components (Paragraphs)
-
Fields
- Node
- About
- Article Type
- Associated With
- Author
- Attachments
- Audiences
- Citation
- Components
- Consultation
- Consultations
- Copyright
- CTA
- Description
- Display Location
- Document ID
- Event Date
- Event Location
- External link
- Financial year approved
- Funding
- Impact Statement
- ISBN
- Lead Organisation
- Legislation
- Menu settings
- Meta Tags
- Parties
- Programs
- Project dates
- Project ID
- Published date
- Regions
- Report Content Type
- Report settings
- Resource Type
- Search Exclude
- Sidebar Components
- Status
- Sticky at top of lists
- Submission ID
- Submitted by
- Summary
- Superseded-by
- System information
- Tags
- Temporal range
- Themes
- Thumbnail
- Title
- Updated date
- URL alias
- Component
- Accordion Body
- Accordion Speed
- Accordion Orientation
- Accordions
- Blurb
- Body
- Caption
- Colour Scheme
- CTA
- Date
- Details
- Geo json URL
- Geo json Input
- Heading
- Image
- Item Image
- Item Info
- Item Summary
- Item Url
- Label
- Links
- Map bounds
- Nodes
- Read More
- Show Close All
- Show Open All
- Show Toggle All
- State
- Title
- Title Override
- Webform
- Media
- Taxonomy
- Block
- Node
- View modes
- Other