-
-
Save ardnet/410bf79e6268674a48f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yourtheme.mobile: | |
label: mobile | |
mediaQuery: '(min-width: 0px)' | |
weight: 2 | |
multipliers: | |
- 1x | |
yourtheme.narrow: | |
label: narrow | |
mediaQuery: 'all and (min-width: 560px) and (max-width: 860px)' | |
weight: 1 | |
multipliers: | |
- 1x | |
yourtheme.wide: | |
label: wide | |
mediaQuery: 'all and (min-width: 851px)' | |
weight: 0 | |
multipliers: | |
- 1x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global-styling: | |
css: | |
theme: | |
css/styles.css: {} | |
css/layout.css: {} | |
css/print.css: { media: print } | |
js: | |
js/yourtheme.js: {} | |
js/custom-library.js: {} | |
dependencies: | |
- core/jquery | |
- core/drupal | |
custom-stuff: | |
css: | |
theme: | |
css/print.css: {} | |
css/another-style.css: {} | |
js: | |
js/yourtheme.js: {} | |
js/haha.js: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: YourTheme | |
description: 'A Cool theme by you.' | |
type: theme | |
package: Custom | |
base theme: classy | |
core: 8.x | |
screenshot: yourtheme.png | |
libraries: | |
- yourtheme/global-styling | |
regions: | |
header: ‘Header’ | |
primary_menu: 'Primary menu' | |
secondary_menu: 'Secondary menu' | |
help: Help | |
page_top: 'Page top' | |
page_bottom: 'Page bottom' | |
featured_top: 'Featured top' | |
breadcrumb: Breadcrumb | |
content: Content | |
sidebar_first: 'Sidebar first' | |
sidebar_second: 'Sidebar second' | |
featured_bottom_first: 'Featured bottom first' | |
featured_bottom_second: 'Featured bottom second' | |
featured_bottom_third: 'Featured bottom third' | |
footer_first: 'Footer first' | |
footer_second: 'Footer second' | |
footer_third: 'Footer third' | |
footer_fourth: 'Footer fourth' | |
footer_fifth: 'Footer fifth’ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
css: | |
theme: | |
css/styles.css: {} | |
css/layout.css: {} | |
css/print.css: { media: print } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
js: | |
js/yourtheme.js: {} | |
js/custom-library.js: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
libraries: | |
- yourtheme/global-styling |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
libraries: | |
- yourtheme/global-styling | |
- yourtheme/custom-stuff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
regions: | |
header: ‘Header’ | |
primary_menu: 'Primary menu' | |
secondary_menu: 'Secondary menu' | |
help: Help | |
page_top: 'Page top' | |
page_bottom: 'Page bottom' | |
featured_top: 'Featured top' | |
breadcrumb: Breadcrumb | |
content: Content | |
sidebar_first: 'Sidebar first' | |
sidebar_second: 'Sidebar second' | |
featured_bottom_first: 'Featured bottom first' | |
featured_bottom_second: 'Featured bottom second' | |
featured_bottom_third: 'Featured bottom third' | |
footer_first: 'Footer first' | |
footer_second: 'Footer second' | |
footer_third: 'Footer third' | |
footer_fourth: 'Footer fourth' | |
footer_fifth: 'Footer fifth’ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment