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
$easeLinear: cubic-bezier(0, 0, 1, 1); | |
$easeSineInOut: cubic-bezier(0.37, 0, 0.63, 1); | |
$easeSineIn: cubic-bezier(0.12, 0, 0.39, 0); | |
$easeSineOut: cubic-bezier(0.61, 1, 0.88, 1); | |
$easeQuadraticInOut: cubic-bezier(0.45, 0, 0.55, 1); | |
$easeQuadraticIn: cubic-bezier(0.11, 0, 0.5, 0); | |
$easeQuadraticOut: cubic-bezier(0.5, 1, 0.89, 1); | |
$easeCubicInOut: cubic-bezier(0.65, 0, 0.35, 1); | |
$easeCubicIn: cubic-bezier(0.32, 0, 0.67, 0); | |
$easeCubicOut: cubic-bezier(0.33, 1, 0.68, 1); |
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 Image, { ImageProps } from 'next/image'; | |
import { imageBuilder } from './sanity'; | |
import type { SanityImageSource } from '@sanity/image-url/lib/types/types'; | |
interface MyImageProps extends Omit<ImageProps, 'src'> { | |
src: SanityImageSource; | |
quality?: number; | |
blur?: number; | |
} |
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
// Dependencies : | |
// npm i download jsdom walk replaceall | |
const path = require('path') | |
const fsp = require('fs').promises | |
const download = require('download') | |
const walk = require('walk') | |
const replaceAll = require("replaceall"); | |
const { JSDOM } = require('jsdom') |
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
// Dependencies : | |
// npm i download jsdom walk replaceall | |
const path = require('path') | |
const fsp = require('fs/promises') | |
const download = require('download') | |
const walk = require('walk') | |
const replaceAll = require("replaceall"); | |
const { JSDOM } = require('jsdom') |
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 smartpy as sp | |
class SpectrumColors(sp.Contract): | |
def __init__(self): | |
self.init( | |
# fixed dimensions of the board | |
columns = 16, | |
rows = 16, | |
# limit to the total number of colors possible | |
max_colors = 12, |
OlderNewer