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
# Nushell Environment Config File | |
# | |
# version = "0.89.0" | |
def create_left_prompt [] { | |
let home = $nu.home-path | |
# Perform tilde substitution on dir | |
# To determine if the prefix of the path matches the home dir, we split the current path into | |
# segments, and compare those with the segments of the home dir. In cases where the current dir |
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
{ | |
"extensions": { | |
"astro": { | |
"manifest": { | |
"id": "astro", | |
"name": "Astro", | |
"version": "0.0.1", | |
"schema_version": 1, | |
"description": "Astro support.", | |
"repository": "https://github.com/zed-industries/zed", |
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 type { HTMLAttributes } from "astro/types"; | |
type Props = HTMLAttributes<"a"> & { | |
href: string | { pathname: string; query?: Record<string, string> }; | |
}; | |
const { href: rawHref, style, ...attrs } = Astro.props as Props; | |
const href = (() => { |
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
textarea { | |
--padding: var(--size-3); | |
min-height: calc(2lh + 2 * var(--padding)); | |
max-height: calc(4lh + 2 * var(--padding)); | |
line-height: 1.5; | |
padding-block: var(--padding); | |
padding-inline: calc(var(--padding) * calc(1lh - 1ex) / 2); | |
} | |
input, |
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
@theme { | |
/* Defaults */ | |
--default-transition-duration: 150ms; | |
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); | |
--default-font-family: var(--font-family-sans); | |
--default-font-feature-settings: var(--font-family-sans--font-feature-settings); | |
--default-font-variation-settings: var(--font-family-sans--font-variation-settings); | |
--default-mono-font-family: var(--font-family-mono); | |
--default-mono-font-feature-settings: var(--font-family-mono--font-feature-settings); | |
--default-mono-font-variation-settings: var(--font-family-mono--font-variation-settings); |
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
/* | |
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) | |
2. Remove default margins and padding | |
3. Reset all borders. | |
*/ | |
*, | |
::after, | |
::before, | |
::backdrop, |
OlderNewer