Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Working on Bedrock2

Wolfr Wolfr

💭
Working on Bedrock2
View GitHub Profile
View global.css
body {
background: red;
}
.st-toolbar {
display: flex;
width: 100%;
justify-content: space-between;
}
View card.tsx
import { Component, Element, State, h } from '@stencil/core';
import { hasSlot } from '../../utilities/slot';
/**
* @since 2.0
* @status stable
*
* @slot - The card's body.
* @slot header - The card's header.
* @slot footer - The card's footer.
View staatsblad.css
@-moz-document domain("www.ejustice.just.fgov.be") {
/* Stylesheet to make staatsblad more legible */
frame {
border: none;
}
a {
color: #468FFA;
}
View gist:7194077ed212c639c49927ec8b3aac6a
Now using node v12.14.1 (npm v6.13.6)
johanronsse@Johans-iMac spark-backoffice-prototype % npm i
> fsevents@1.2.13 install /Users/johanronsse/Sites/spark-backoffice-prototype/node_modules/glob-watcher/node_modules/fsevents
> node install.js
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
@Wolfr
Wolfr / input.scss
Created Sep 7, 2020
Generated by SassMeister.com.
View input.scss
$theme-color: #000;
$theme-name: "|customer-a";
*[data-theme="#{$theme-name}"] button {
color: $theme-color;
}
View .htaccess
# htaccess config to redirect SPAs to index.html
RewriteEngine On
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule !.*\.html$ %{REQUEST_FILENAME}.html [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.html
View gist:9e9440b604b49258a7bf9591085b0f0a
tree .
.
|-- CONTRIBUTING.md
|-- LICENSE.md
|-- README.md
|-- addon
| |-- components
| | |-- alert.hbs
| | |-- alert.js
| | |-- avatar.hbs
View components.my-alert\.js
import Component from '@glimmer/component';
export default class extends Component {
}
View post3.md

Routify updates + Frequently asked questions

The past month we've seen three new Routify feature releases:

  • 1.8 (beta)
    • Support for service workers
    • Support for prefetching
    • Support disabling prerendering with prerender=false
    • Support plugins
@Wolfr
Wolfr / bedrock2-design-document.md
Last active May 3, 2020
Design document for Bedrock 2.0.
View bedrock2-design-document.md

Design document: Bedrock 2.0

Version 1.0. Sunday, May 3, 2020 / Johan Ronsse

Bedrock is a prototyping tool to empower designers to help ship real software. It focusses on the design perspective while at the same time providing an immensely helpful deliverable for development.

Nature of this document

This document is intended as a design document to talk about the reasoning behind the Bedrock 2.0 project.