Adding gitlab ci file.
This commit is contained in:
12
web/themes/custom/dchadwick/css/style.css
Normal file
12
web/themes/custom/dchadwick/css/style.css
Normal file
@@ -0,0 +1,12 @@
|
||||
body {
|
||||
background: whitesmoke;
|
||||
}
|
||||
|
||||
header {
|
||||
background: #232323;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.smooth {
|
||||
transition: all 1s ease-in;
|
||||
}
|
||||
15
web/themes/custom/dchadwick/dchadwick.info.yml
Normal file
15
web/themes/custom/dchadwick/dchadwick.info.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
name: DChadwick Custom Theme
|
||||
type: theme
|
||||
description: 'My custom theme...for fun'
|
||||
package: Other
|
||||
core_version_requirement: ^9 || ^10
|
||||
libraries:
|
||||
- dchadwick/global-styling
|
||||
- dchadwick/htmx
|
||||
|
||||
base theme: stark
|
||||
regions:
|
||||
navigation: Main navigation
|
||||
content: Content
|
||||
footer_bottom: Footer Bottom
|
||||
|
||||
17
web/themes/custom/dchadwick/dchadwick.libraries.yml
Normal file
17
web/themes/custom/dchadwick/dchadwick.libraries.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
global-styling:
|
||||
version: 1.x
|
||||
js:
|
||||
js/global.js: {}
|
||||
css:
|
||||
theme:
|
||||
css/style.css: {}
|
||||
|
||||
htmx:
|
||||
remote: https://github.com/bigskysoftware/htmx
|
||||
version: 1.9.10
|
||||
license:
|
||||
name: Zero-Clause BSD
|
||||
url: https://github.com/bigskysoftware/htmx/blob/master/LICENSE
|
||||
gpl-compatible: true
|
||||
js:
|
||||
https://github.com/bigskysoftware/htmx/blob/v1.9.10/dist/htmx.min.js: { type: external, minified: true }
|
||||
1
web/themes/custom/dchadwick/js/global.js
Normal file
1
web/themes/custom/dchadwick/js/global.js
Normal file
@@ -0,0 +1 @@
|
||||
console.log("hello from my custom js file.")
|
||||
19
web/themes/custom/dchadwick/templates/system/page.html.twig
Normal file
19
web/themes/custom/dchadwick/templates/system/page.html.twig
Normal file
@@ -0,0 +1,19 @@
|
||||
<header aria-label="Site header" class="header" id="header" role="banner">
|
||||
{{ page.navigation }}
|
||||
|
||||
<div id="color-demo" class="smooth" style="color:red"
|
||||
hx-get="/colors" hx-swap="outerHTML" hx-trigger="every 1s">
|
||||
Color Swap Demo
|
||||
</div>
|
||||
|
||||
</header>
|
||||
<section class="main" id="main">
|
||||
<main aria-label="Site main content" class="content" id="content" role="main">
|
||||
{{ page.content }}
|
||||
</main>
|
||||
</section>
|
||||
<footer aria-label="Site footer" class="footer" id="footer" role="contentinfo">
|
||||
<div class="footer--bottom">
|
||||
{{ page.footer_bottom }}
|
||||
</div>
|
||||
</footer>
|
||||
Reference in New Issue
Block a user