Skip to content

Instantly share code, notes, and snippets.

@yarinsa
yarinsa / Brewfile
Last active May 1, 2024 12:53
My Brewfile
tap "homebrew/bundle"
cask "1password"
cask "fig"
cask "figma"
cask "fork"
cask "iterm2"
cask "notion"
cask "raycast"
cask "rectangle"
cask "slack"
@yarinsa
yarinsa / Default.json
Created March 20, 2023 10:14
ZSH Profile
{
"Ansi 7 Color" : {
"Green Component" : 0.73333334922790527,
"Blue Component" : 0.73333334922790527,
"Red Component" : 0.73333334922790527
},
"Tags" : [
],
"Ansi 12 Color" : {
@yarinsa
yarinsa / create-classname
Created October 24, 2023 22:45
create-cx.ts
import {prefix} from '@acme/design-tokens';
import {ArgumentArray} from 'classnames';
import classNames from 'classnames';
type CXOptions = {
customPrefix?: string;
};
export const createCX = ({customPrefix}: CXOptions = {}) => {
const prefixToUse = `${customPrefix ? `${prefix}__${customPrefix}` : `${prefix}`}__`;