All files / src/themes/packs nord.ts

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108              1x                                                                                                                                                                                                        
import type { ThemePackage } from '../types.js';
 
/**
 * Nord theme - Arctic, north-bluish color palette
 * @see https://www.nordtheme.com/docs/colors-and-palettes
 * @license Apache-2.0 AND CC-BY-SA-4.0
 */
export const nordThemes: ThemePackage = {
  id: 'nord',
  name: 'Nord',
  homepage: 'https://www.nordtheme.com/',
  license: {
    spdx: 'Apache-2.0 AND CC-BY-SA-4.0',
    url: 'https://github.com/nordtheme/nord/blob/develop/LICENSE.md',
    copyright: 'Arctic Ice Studio and Sven Greb',
  },
  source: {
    package: 'nord',
    version: '0.2.1',
    repository: 'https://github.com/nordtheme/nord',
  },
  flavors: [
    {
      id: 'nord',
      label: 'Nord',
      vendor: 'nord',
      appearance: 'dark',
      iconUrl: '/assets/img/nord.png',
      tokens: {
        background: {
          base: '#2e3440',
          surface: '#3b4252',
          overlay: '#434c5e',
        },
        text: {
          primary: '#eceff4',
          secondary: '#d8dee9',
          inverse: '#2e3440',
        },
        brand: {
          primary: '#88c0d0',
        },
        state: {
          info: '#5e81ac',
          success: '#a3be8c',
          warning: '#ebcb8b',
          danger: '#bf616a',
        },
        border: {
          default: '#4c566a',
        },
        accent: {
          link: '#88c0d0',
        },
        typography: {
          fonts: {
            sans: 'Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"',
            mono: 'JetBrains Mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',
          },
          webFonts: [
            'https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap',
            'https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&display=swap',
          ],
        },
        content: {
          heading: {
            h1: '#8fbcbb',
            h2: '#88c0d0',
            h3: '#81a1c1',
            h4: '#ebcb8b',
            h5: '#d08770',
            h6: '#b48ead',
          },
          body: {
            primary: '#eceff4',
            secondary: '#d8dee9',
          },
          link: {
            default: '#88c0d0',
          },
          selection: {
            fg: '#eceff4',
            bg: '#4c566a',
          },
          blockquote: {
            border: '#4c566a',
            fg: '#d8dee9',
            bg: '#3b4252',
          },
          codeInline: {
            fg: '#eceff4',
            bg: '#434c5e',
          },
          codeBlock: {
            fg: '#eceff4',
            bg: '#434c5e',
          },
          table: {
            border: '#4c566a',
            stripe: '#434c5e',
            theadBg: '#3b4252',
          },
        },
      },
    },
  ],
} as const;