Skip to content

Instantly share code, notes, and snippets.

View brunofariasd's full-sized avatar
🎯
Focusing

Bruno Farias brunofariasd

🎯
Focusing
View GitHub Profile
import { createContext, ReactNode, useEffect, useState } from 'react'
type Theme = 'light' | 'dark';
type ThemeContextProviderProps = {
children: ReactNode;
}
type ThemeContextType = {
theme: Theme;
@diego3g
diego3g / settings.json
Last active April 28, 2026 07:48
VSCode Settings (Updated)
{
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 16,
"editor.lineHeight": 1.8,
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.rulers": [
80,
120
],