Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3325719 - Create a custom admin theme and custom module #82

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added modules/custom/.gitkeep
Empty file.
6 changes: 6 additions & 0 deletions modules/custom/custom_module/custom_module.info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: custom module
type: module
description: The description.
package: Custom
core: 8.x
core_version_requirement: ^8 || ^9
10 changes: 10 additions & 0 deletions modules/custom/custom_module/custom_module.module
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

/**
* @file
* Primary module hooks for custom module module.
*
* @DCG
* This file is no longer required in Drupal 8.
* @see https://www.drupal.org/node/2217931
*/
Empty file added themes/custom/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions themes/custom/gin_custom/css/gin-custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* Styles custom. */
18 changes: 18 additions & 0 deletions themes/custom/gin_custom/gin_custom.info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Gin Custom
type: theme
core: 8.x
core_version_requirement: ^8 || ^9 || ^10
base theme: gin
description: 'Overrides for the Gin theme.'
alt text: 'Screenshot of SubThemeGin, Drupal administration subtheme of claro.'
package: Custom
version: '8.x'
experimental: true

libraries:
- gin/gin
- claro/global-styling

libraries-extend:
gin/gin_base:
- gin_custom/gin_custom
4 changes: 4 additions & 0 deletions themes/custom/gin_custom/gin_custom.libraries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
gin_custom:
css:
base:
css/gin-custom.css: { }
Binary file added themes/custom/gin_custom/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.