Skip to content

Instantly share code, notes, and snippets.

View irffanasiff's full-sized avatar

Irfan Asif irffanasiff

View GitHub Profile
import {
data,
Variable,
} from '../../../../packages/helper-scripts/src/color/data';
// Define the types
type InputItem = Variable;
type NestedObjectValue = string;
--black: #000000;
--white: #FFFFFF;
--color-grey-grey-50: #F7F7F8;
--color-grey-grey-100: #E8E8ED;
--color-grey-grey-200: #D1D1DB;
--color-grey-grey-300: #A9A9BC;
--color-grey-grey-400: #8A8AA3;
--color-grey-grey-500: #6C6C89;
--color-grey-grey-600: #55556D;
--color-grey-grey-700: #3F3F50;
@irffanasiff
irffanasiff / civicpass.jsx
Last active January 16, 2023 13:14
Civic Next JS
import {
GatewayProvider,
GatewayStatus,
useGateway,
} from '@civic/solana-gateway-react';
import { WalletAdapterNetwork } from '@solana/wallet-adapter-base';
import { useWallet } from '@solana/wallet-adapter-react';
import * as web3 from '@solana/web3.js';
const VerifyCivicAccount = () => {