{
  "source": "https://nethesis.github.io/nebula-design-system/",
  "note": "Each section has its source, the page of the site it comes from. px values are CSS pixels; rem values assume a 16 px root font size.",
  "typography": {
    "source": "https://nethesis.github.io/nebula-design-system/?page=typography",
    "typeface": {
      "family": "Poppins",
      "imports": ["@fontsource/poppins/400.css","@fontsource/poppins/500.css"]
    },
    "weights": [
      {"name":"Regular","value":400,"className":"font-normal","use":"Body text"},
      {"name":"Medium","value":500,"className":"font-medium","use":"Headings, labels and buttons"}
    ],
    "sizes": [
      {"name":"xxs","className":null,"size":10,"lineHeight":12},
      {"name":"xs","className":"text-xs","size":12,"lineHeight":16},
      {"name":"sm","className":"text-sm","size":14,"lineHeight":20},
      {"name":"base","className":"text-base","size":16,"lineHeight":24},
      {"name":"lg","className":"text-lg","size":18,"lineHeight":28},
      {"name":"xl","className":"text-xl","size":20,"lineHeight":28},
      {"name":"2xl","className":"text-2xl","size":24,"lineHeight":32},
      {"name":"3xl","className":"text-3xl","size":30,"lineHeight":36},
      {"name":"4xl","className":"text-4xl","size":36,"lineHeight":40},
      {"name":"5xl","className":"text-5xl","size":48,"lineHeight":48},
      {"name":"6xl","className":"text-6xl","size":60,"lineHeight":60},
      {"name":"7xl","className":"text-7xl","size":72,"lineHeight":72},
      {"name":"8xl","className":"text-8xl","size":96,"lineHeight":96}
    ],
    "lineLength": {
      "className": "max-w-2xl",
      "px": 672,
      "note": "The widest a paragraph of running text should be, such as the description of a page: longer lines are hard to read. Tables, forms and other content can be wider."
    },
    "textStyles": [
      {"title":"Headings","styles":[{"token":"Headings/H1","className":"text-4xl font-medium","size":36,"lineHeight":40,"weight":"Medium"},{"token":"Headings/H2","className":"text-3xl font-medium","size":30,"lineHeight":36,"weight":"Medium"},{"token":"Headings/H3","className":"text-2xl font-medium","size":24,"lineHeight":32,"weight":"Medium"},{"token":"Headings/H4","className":"text-xl font-medium","size":20,"lineHeight":28,"weight":"Medium"},{"token":"Headings/H5","className":"text-lg font-medium","size":18,"lineHeight":28,"weight":"Medium"},{"token":"Headings/H6","className":"text-base font-medium","size":16,"lineHeight":24,"weight":"Medium"},{"token":"Headings/H7","className":"text-sm/6 font-medium","size":14,"lineHeight":24,"weight":"Medium"}]},
      {"title":"Body","styles":[{"token":"Body/lg","className":"text-lg","size":18,"lineHeight":28,"weight":"Regular"},{"token":"Body/base","className":"text-base","size":16,"lineHeight":24,"weight":"Regular"},{"token":"Body/sm","className":"text-sm","size":14,"lineHeight":20,"weight":"Regular"},{"token":"Body/xs","className":"text-xs","size":12,"lineHeight":16,"weight":"Regular"},{"token":"Body/xxs","className":null,"size":10,"lineHeight":12,"weight":"Regular"}]},
      {"title":"UI elements","styles":[{"token":"UI/Button/lg","className":"text-sm font-medium","size":14,"lineHeight":20,"weight":"Medium"},{"token":"UI/Button/sm","className":"text-xs font-medium","size":12,"lineHeight":16,"weight":"Medium"}]}
    ]
  },
  "iconography": {
    "source": "https://nethesis.github.io/nebula-design-system/?page=iconography",
    "note": "Which icon to use for each meaning, from which package: icons.json. Font Awesome Solid icons, and Nethesis custom icons where icons.json uses them; Light custom icons only for the inactive sections of the main sidebar. Import each icon by name from its package and pass the imported object to FontAwesomeIcon, from @fortawesome/vue-fontawesome; do not register icons with library.add() to use them by name. Hide icons next to a text label with aria-hidden=\"true\"; an icon without text needs a label and a tooltip.",
    "packages": [
      {"pack":"fa-solid","name":"@fortawesome/free-solid-svg-icons","version":"^6.7.2"},
      {"pack":"ns-solid","name":"@nethesis/nethesis-solid-svg-icons","version":"github:nethesis/Font-Awesome#ns-solid"},
      {"pack":"ns-light","name":"@nethesis/nethesis-light-svg-icons","version":"github:nethesis/Font-Awesome#ns-light"},
      {"pack":"ns-brands","name":"@nethesis/nethesis-brands-svg-icons","version":"github:nethesis/Font-Awesome#ns-brands"}
    ],
    "sizes": [
      {"px":12,"className":"size-3","use":"Service icons, such as the check circle of a selection"},
      {"px":16,"className":"size-4","use":"The most used size: buttons, badges, tooltips, text inputs, comboboxes, dropdowns, tables"},
      {"px":20,"className":"size-5","use":"Rounded icon"},
      {"px":24,"className":"size-6","use":"Cards, sidebar and top bar"},
      {"px":32,"className":"size-8","use":"File input"},
      {"px":48,"className":"size-12","use":"Empty state"}
    ]
  },
  "spacingAndBorder": {
    "source": "https://nethesis.github.io/nebula-design-system/?page=spacing-and-border",
    "spacing": [
      {"step":0,"token":"space/0","px":0,"rem":"0rem"},
      {"step":0.5,"token":"space/0,5","px":2,"rem":"0.125rem"},
      {"step":1,"token":"space/1","px":4,"rem":"0.25rem"},
      {"step":1.5,"token":"space/1,5","px":6,"rem":"0.375rem"},
      {"step":2,"token":"space/2","px":8,"rem":"0.5rem"},
      {"step":2.5,"token":"space/2,5","px":10,"rem":"0.625rem"},
      {"step":3,"token":"space/3","px":12,"rem":"0.75rem"},
      {"step":3.5,"token":"space/3,5","px":14,"rem":"0.875rem"},
      {"step":4,"token":"space/4","px":16,"rem":"1rem"},
      {"step":5,"token":"space/5","px":20,"rem":"1.25rem"},
      {"step":6,"token":"space/6","px":24,"rem":"1.5rem"},
      {"step":7,"token":"space/7","px":28,"rem":"1.75rem"},
      {"step":8,"token":"space/8","px":32,"rem":"2rem"},
      {"step":9,"token":"space/9","px":36,"rem":"2.25rem"},
      {"step":10,"token":"space/10","px":40,"rem":"2.5rem"},
      {"step":11,"token":"space/11","px":44,"rem":"2.75rem"},
      {"step":12,"token":"space/12","px":48,"rem":"3rem"},
      {"step":14,"token":"space/14","px":56,"rem":"3.5rem"},
      {"step":16,"token":"space/16","px":64,"rem":"4rem"},
      {"step":20,"token":"space/20","px":80,"rem":"5rem"},
      {"step":24,"token":"space/24","px":96,"rem":"6rem"},
      {"step":28,"token":"space/28","px":112,"rem":"7rem"},
      {"step":32,"token":"space/32","px":128,"rem":"8rem"},
      {"step":36,"token":"space/36","px":144,"rem":"9rem"},
      {"step":40,"token":"space/40","px":160,"rem":"10rem"},
      {"step":44,"token":"space/44","px":176,"rem":"11rem"},
      {"step":48,"token":"space/48","px":192,"rem":"12rem"},
      {"step":52,"token":"space/52","px":208,"rem":"13rem"},
      {"step":56,"token":"space/56","px":224,"rem":"14rem"},
      {"step":60,"token":"space/60","px":240,"rem":"15rem"},
      {"step":64,"token":"space/64","px":256,"rem":"16rem"},
      {"step":72,"token":"space/72","px":288,"rem":"18rem"},
      {"step":80,"token":"space/80","px":320,"rem":"20rem"},
      {"step":96,"token":"space/96","px":384,"rem":"24rem"}
    ],
    "radii": [
      {"token":"radius/rounded-none","className":"rounded-none","px":0,"rem":"0rem"},
      {"token":"radius/rounded-xs","className":"rounded-xs","px":2,"rem":"0.125rem"},
      {"token":"radius/rounded-sm","className":"rounded-sm","px":4,"rem":"0.25rem"},
      {"token":"radius/rounded-md","className":"rounded-md","px":6,"rem":"0.375rem"},
      {"token":"radius/rounded-lg","className":"rounded-lg","px":8,"rem":"0.5rem"},
      {"token":"radius/rounded-xl","className":"rounded-xl","px":12,"rem":"0.75rem"},
      {"token":"radius/rounded-2xl","className":"rounded-2xl","px":16,"rem":"1rem"},
      {"token":"radius/rounded-3xl","className":"rounded-3xl","px":24,"rem":"1.5rem"},
      {"token":"radius/rounded-full","className":"rounded-full","px":9999,"rem":null}
    ],
    "borderWidths": [
      {"token":"width/border-0","className":"border-0","px":0},
      {"token":"width/border-1","className":"border","px":1},
      {"token":"width/border-2","className":"border-2","px":2},
      {"token":"width/border-4","className":"border-4","px":4},
      {"token":"width/border-8","className":"border-8","px":8}
    ],
    "focusRing": {
      "note": "The focus ring shows which element has the keyboard focus. Focus ring 1 is a 2 px ring around the element; focus ring 2 leaves a 2 px gap between the element and the ring. In code, the primary palette is the palette of the product, so the classes are the same in every product: focus-visible:ring-2 focus-visible:ring-primary-500 for focus ring 1, plus focus-visible:ring-offset-2 for focus ring 2. In the dark theme the ring takes shade 300 (dark:focus-visible:ring-primary-300) and the gap the color of the background (dark:focus-visible:ring-offset-primary-950). On a status color, focus ring 2 uses the classes of that status. styles are the box-shadow values of the Figma effect styles.",
      "styles": {"Focus ring/1":"0 0 0 2px <ring color>","Focus ring/2":"0 0 0 2px <gap color, white by default>, 0 0 0 4px <ring color>, 0 1px 2px 0 rgb(0 0 0 / 0.05)"},
      "products": [{"name":"NethSecurity","ring":"#06b6d4","primary":"#0e7490","palette":"cyan"},{"name":"NethVoice","ring":"#10b981","primary":"#047857","palette":"emerald"},{"name":"NethLink","ring":"#3b82f6","primary":"#1d4ed8","palette":"blue"},{"name":"NethService","ring":"#f97316","primary":"#c2410c","palette":"orange"},{"name":"My Nethesis","ring":"#0ea5e9","primary":"#0369a1","palette":"sky"}],
      "status": [{"name":"Info","ring":"#3b82f6","gap":"#dbeafe","className":"ring-blue-500 ring-offset-blue-100"},{"name":"Success","ring":"#22c55e","gap":"#dcfce7","className":"ring-green-500 ring-offset-green-100"},{"name":"Warning","ring":"#f59e0b","gap":"#fef3c7","className":"ring-amber-500 ring-offset-amber-100"},{"name":"Error","ring":"#f43f5e","gap":"#ffe4e6","className":"ring-rose-500 ring-offset-rose-100"}]
    }
  },
  "elevationAndShadow": {
    "source": "https://nethesis.github.io/nebula-design-system/?page=elevation-and-shadow",
    "note": "Each elevation level, from L0 to L4, is a surface color of the gray palette, and its use says where it goes: L0 for the sidebar and the top bar, L1 for the page and the drawer, each next level for content on the previous one; L2 invert uses the L0 color to stand out on an L1 surface. Shadows apply to components such as cards, buttons, modals and tooltips; in the dark theme they are gray instead of black.",
    "elevation": [
      {"level":"L0","use":"The main surfaces: the sidebar and the top bar.","light":"white","dark":"gray-950","className":"bg-white dark:bg-gray-950"},
      {"level":"L1","use":"The background of the page and of the drawer.","light":"gray-50","dark":"gray-900","className":"bg-gray-50 dark:bg-gray-900"},
      {"level":"L2","use":"Content on L1.","light":"gray-100","dark":"gray-800","className":"bg-gray-100 dark:bg-gray-800"},
      {"level":"L3","use":"Content on L2.","light":"gray-200","dark":"gray-700","className":"bg-gray-200 dark:bg-gray-700"},
      {"level":"L4","use":"Content on L3.","light":"gray-300","dark":"gray-600","className":"bg-gray-300 dark:bg-gray-600"},
      {"level":"L2 invert","use":"Content on L1, as an alternative to L2: it has the L0 color.","light":"white","dark":"gray-950","className":"bg-white dark:bg-gray-950"}
    ],
    "shadows": [
      {"token":"shadow/xs","className":"shadow-xs","light":"0 1px 2px 0 rgb(0 0 0 / 0.05)","dark":"0 1px 2px 0 rgb(75 85 99 / 0.05)"},
      {"token":"shadow/sm","className":"shadow-sm","light":"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)","dark":"0 1px 3px 0 rgb(75 85 99 / 0.1), 0 1px 2px -1px rgb(75 85 99 / 0.1)"},
      {"token":"shadow/md","className":"shadow-md","light":"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)","dark":"0 4px 6px -1px rgb(75 85 99 / 0.1), 0 2px 4px -2px rgb(75 85 99 / 0.1)"},
      {"token":"shadow/lg","className":"shadow-lg","light":"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)","dark":"0 10px 15px -3px rgb(75 85 99 / 0.1), 0 4px 6px -4px rgb(75 85 99 / 0.1)"},
      {"token":"shadow/xl","className":"shadow-xl","light":"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","dark":"0 20px 25px -5px rgb(75 85 99 / 0.1), 0 8px 10px -6px rgb(75 85 99 / 0.1)"},
      {"token":"shadow/2xl","className":"shadow-2xl","light":"0 25px 50px -12px rgb(0 0 0 / 0.25)","dark":"0 25px 50px -12px rgb(75 85 99 / 0.25)"},
      {"token":"shadow/drawer","className":"shadow-[0px_20px_40px_0_rgba(0,0,0,0.2)] dark:shadow-[0px_20px_40px_0_rgba(0,0,0,0.6)]","light":"0 20px 40px 0 rgb(0 0 0 / 0.2)","dark":"0 20px 40px 0 rgb(0 0 0 / 0.6)"}
    ]
  }
}
