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
// ! The ColorTehemeProvider must be wrapped with <ThemeProvider /> using next-themes to be able to work with light and dark themes | |
"use client"; | |
import { createContext, useContext, useEffect, useMemo, useState } from "react"; | |
// To add more themes: | |
// add css variables to app/globals.css. With the format '.className.light' and '.className.dark'. | |
// Then add the className to this THEMES array | |
const THEMES = [ |
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
// Place your key bindings in this file to override the defaults | |
[ | |
{ | |
"key": "shift+;", | |
"command": "vim.showQuickpickCmdLine", | |
"when": "editorTextFocus && vim.mode != 'Insert'" | |
}, | |
// Navigation | |
{ | |
"key": "ctrl+h", |
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 'package:flutter/material.dart'; | |
import 'dart:async'; | |
class AgeInfo { | |
final DateTime dob; | |
final List<String> months = [ | |
'January', | |
'February', | |
'March', |