This file contains hidden or 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
$background-color: ( | |
body: #fff, | |
selection: #d3ffbf | |
); | |
$color: ( | |
body: #000014, | |
selection: #000014, | |
); |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" | |
jcr:primaryType="sling:Folder" | |
sling:resourceSuperType="granite/ui/components/coral/foundation/form/field"/> |
This file contains hidden or 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
<div | |
data-sly-use.search="com.mysite.aem.components.Search" | |
id="search" | |
data-search-title="${search.searchTitle @ context='unsafe'}" | |
data-api="${search.api @ context='unsafe'}" | |
data-no-result-text="${search.noResultText @ context='unsafe'}" | |
data-result-count-text="${search.resultCountText @ context='unsafe'}" | |
data-pagination-first-label="${search.labelPaginationFirst @ context='unsafe'}" | |
data-pagination-last-label="${search.labelPaginationLast @ context='unsafe'}"> | |
<script>dynamicRender("#search");</script> |
This file contains hidden or 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
<sly data-sly-use.accordion="com.mysite.aem.components.Accordion"/> | |
<a data-sly-test="${accordion.anchor}" name="${accordion.anchor}"></a> | |
<details class="accordion" open="${accordion.openByDefault}"> | |
<summary class="accordion__summary">${accordion.title}</summary> | |
<div data-sly-resource="${'parsys' @ resourceType='wcm/foundation/components/responsivegrid'}"></div> | |
</details> |
This file contains hidden or 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
window.aemEditorPubSub = new Promise(function(resolve) { | |
var $ = window.parent.Granite.$; | |
var $document = $(window.parent.document); | |
var topics = {}; | |
var queue = []; | |
// Allow subscriptions once editor frame has loaded | |
$document.on("foundation-contentloaded", function() { | |
resolve(function subscribe(topic, cb) { |
This file contains hidden or 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
const webpackConfig = require('./webpack.config.js')({}); | |
module.exports = function (config) { | |
config.set({ | |
basePath: '', | |
frameworks: ['mocha'], | |
files: [ | |
{pattern: 'src/**/*-spec.ts', watched: false} | |
], | |
preprocessors: { |
This file contains hidden or 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
var isResizing; | |
function resize() { | |
var canvas = document.getElementById('canvas'); | |
canvas.width = document.body.offsetWidth; | |
canvas.height = document.body.offsetHeight; | |
} | |
//Setup Dimensions and adjust on resize |
This file contains hidden or 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
for(let i = 0, ln = $('button.delete-design').length; i < ln; i++) { | |
setTimeout(() => $('button.delete-design').click(), 1000 * i); | |
setTimeout(() => $('[id="confirm-delete-yes"]').click(), 1500 * i); | |
} |
This file contains hidden or 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
var fs = require('fs'); | |
var path = require('path'); | |
var glob = require('glob'); | |
var publicDir = './public'; | |
var nodesass = require('node-sass'); | |
var postcss = require('postcss'); | |
var autoprefixer = require('autoprefixer')({ browsers: ['last 2 versions', 'ie >= 9'] }); | |
var cssnano = require('cssnano')({}); |
This file contains hidden or 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
var fs = require('fs'); | |
var path = require('path'); | |
var glob = require('glob'); | |
var nodesass = require('node-sass'); | |
var postcss = require('postcss'); | |
var autoprefixer = require('autoprefixer')({ browsers: ['last 2 versions', 'ie >= 9'] }); | |
var cssnano = require('cssnano')({}); | |
var cssmodules = require('postcss-modules'); |
NewerOlder