Skip to content

Instantly share code, notes, and snippets.

View ivomynttinen's full-sized avatar

Ivo Mynttinen ivomynttinen

View GitHub Profile
@ivomynttinen
ivomynttinen / srcset.php
Last active February 7, 2017 06:51
Kirby CMS Tag for srcset images. Supports the attributes "retina" (file name of the @2x resource), "alt" (alt text on img), "class" (additional class on the img element). Place under /site/tags/
<?php
kirbytext::$tags['srcset'] = array(
'attr' => array(
'retina',
'alt',
'class'
),
'html' => function($tag) {
04c23dd3fcaaadc6ead8faac9f11e96488b8423a45dc3af39216fa4adac7a15ae95b70f456c0200baae7379de47f967329687fe3af57f663818b50fd2cbe8f37b3

Keybase proof

I hereby claim:

  • I am ivomynttinen on github.
  • I am dsndrq (https://keybase.io/dsndrq) on keybase.
  • I have a public key ASDH3Rx5-bVlCx7ZE5PtrbtG1W82Cu85_X-Zs8bvrFSyWAo

To claim this, I am signing this object:

@ivomynttinen
ivomynttinen / keybase.md
Created September 10, 2019 11:52
keybase.md

Keybase proof

I hereby claim:

  • I am ivomynttinen on github.
  • I am dsndrq (https://keybase.io/dsndrq) on keybase.
  • I have a public key ASDH3Rx5-bVlCx7ZE5PtrbtG1W82Cu85_X-Zs8bvrFSyWAo

To claim this, I am signing this object:

@ivomynttinen
ivomynttinen / novio-ui-bug-list.md
Last active October 12, 2023 14:59
Novio UI Bug List

Button

All Variants

  • add transition: .15s ease-in-out
  • if button has an icon, the padding-left needs to be --space-15
  • should have cursor: pointer or cursor: not-allowed if disabled.
    • Note: looks like the CSS is correct, but for some reason, the pointer isn't showing up correctly (Storybook issue?)

Primary, Secondary, Danger