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
class(?=="(bg-size--cover|bg-size--contain|bg-position--center|bg-position--right|bg-position--bottom|bg-repeat--none|bg-repeat--y|bg-repeat--x|border--default|border-top--default|border-right--default|border-bottom--default|border-left--default|border--thick|border-top--thick|border-right--thick|border-bottom--thick|border-left--thick|border--none|border-top--none|border-right--none|border-bottom--none|border-left--none|border-color--default|border-color--accent|border-color--#fff|cursor--move|cursor--pointer|cursor--default|color--inherit|color--accent|color--muted|font-size--tiny|font-size--small|font-size--medium|font-size--large|font-size--default|font-size--inherit|font-weight--light|font-weight--semi-bold|font-weight--bold|font-weight--normal|flex|flex-inline|flex-column|flex-wrap|flex-items-start|flex-items-end|flex-items-center|flex-items-baseline|flex-items-stretch|flex-self-start|flex-self-end|flex-self-center|flex-self-baseline|flex-self-stretch|flex-justify-start|flex-justify-end|flex-justify-cen |
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
<script setup> | |
const { themes, aliases } = useDefaults(VBtn, { | |
TwBtnDropdownOption: { | |
variant: 'outlined', | |
class: 'VBtnDropdownOption', | |
height: 40, | |
width: 208, | |
VIcon: { | |
size: 24, | |
}, |
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
# conf.d/dockerhost.fish | |
if type -f docker | |
set -gx DOCKER_HOST (docker context inspect --format '{{.Endpoints.docker.Host}}') | |
end |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions | |
// - XState (all XState exports) |
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 currencyFormatter = new Intl.NumberFormat(undefined, { style: 'currency', currency: 'USD' }) | |
/** | |
* | |
* @param {Intl.NumberFormat} currencyFormatter | |
* @returns Number | |
*/ | |
export const getConvertToCentValue = (currencyFormatter) => (number) => { | |
const parts = currencyFormatter.formatToParts(number); | |
const string = parts |
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
import { DateTime } from 'luxon'; | |
export default class CustomLuxonDateTime extends DateTime { | |
toISO(opts = {}) { | |
if (!this.isValid) { | |
return null; | |
} | |
const timeOpts = { | |
suppressMilliseconds: true, |
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
module.exports = { | |
root: true, | |
extends: 'stylelint-config-recommended-scss', | |
plugins: ['stylelint-scss', 'stylelint-order'], | |
syntax: 'scss', | |
files: [ | |
'./src/**/*.scss', | |
], | |
rules: { | |
'indentation': 4, |
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
{ | |
"[javascript]": { | |
"editor.formatOnSave": true | |
}, | |
"[vue]": { | |
"editor.formatOnSave": true | |
}, | |
"csscomb.formatOnSave": true, | |
"csscomb.preset": { | |
"always-semicolon": true, |
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 gulp = require('gulp'); | |
var critical = require('critical'); | |
var HOME_URL = 'http://dev.lovindublin.com/'; | |
var ART_URL = HOME_URL + 'feature/article-name'; | |
var config = { | |
home: { | |
src: HOME_URL, | |
dest: dest + '/css/critical/home.css', | |
include: ['.fl body'], |
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
{% set styleSite = rev("css/style.css") %} | |
{% if stylesLoaded == true %} | |
<link rel="stylesheet" href="{{ styleSite }}" /> | |
{% else -%} | |
<style>{{ craft.inlin.er('/assets/css/critical/' ~ critical ~ '.css') | raw }}</style> | |
{% include 'includes/scripts/_async-assets' only %} | |
<script> |
NewerOlder