### Shell: Install new.css via npm Source: https://github.com/xz/new.css/blob/main/README.md Install new.css using npm. ```shell npm i @exampledev/new.css ``` -------------------------------- ### Example HTML Head with Custom Theme Source: https://github.com/xz/new.css/wiki/Customizing-Themes An example element showing how to reference a custom theme stylesheet after new.css. The custom stylesheet must be loaded after new.css to override the variables. ```html Document "> ``` -------------------------------- ### Shell: Install new.css via Yarn Source: https://github.com/xz/new.css/blob/main/README.md Install new.css using Yarn. ```shell yarn add @exampledev/new.css ``` -------------------------------- ### Header example with title and navigation Source: https://github.com/xz/new.css/wiki/Semantic-Elements Use this header at the top of the body to display a title, navigation, or other accessible information. It has a slightly darker background and spans the full page width, while its contents align with the page's content width. ```html

new.css

``` -------------------------------- ### Default Theme CSS Variables Source: https://github.com/xz/new.css/wiki/Customizing-Themes The default theme variables for new.css, including light and dark theme colors. Copy and paste this into a new CSS file to start customizing. Omitted variables fall back to defaults. ```css :root { --nc-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; --nc-font-mono: Consolas, monaco, 'Ubuntu Mono', 'Liberation Mono', 'Courier New', Courier, monospace; /* Light theme */ --nc-tx-1: #000000; --nc-tx-2: #1A1A1A; --nc-bg-1: #FFFFFF; --nc-bg-2: #F6F8FA; --nc-bg-3: #E5E7EB; --nc-lk-1: #0070F3; --nc-lk-2: #0366D6; --nc-lk-tx: #FFFFFF; --nc-ac-1: #79FFE1; --nc-ac-tx: #0C4047; /* Dark theme */ --nc-d-tx-1: #ffffff; --nc-d-tx-2: #eeeeee; --nc-d-bg-1: #000000; --nc-d-bg-2: #111111; --nc-d-bg-3: #222222; --nc-d-lk-1: #3291FF; --nc-d-lk-2: #0070F3; --nc-d-lk-tx: #FFFFFF; --nc-d-ac-1: #7928CA; --nc-d-ac-tx: #FFFFFF; } ``` -------------------------------- ### HTML: Include new.css via CDN Source: https://github.com/xz/new.css/blob/main/README.md Add this line to the end of your HTML's to include new.css from the jsDelivr CDN. ```html ``` -------------------------------- ### Basic HTML document structure Source: https://github.com/xz/new.css/blob/main/theme/night.html A minimal HTML document with a title and paragraph content. ```HTML Hello World

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

``` -------------------------------- ### HTML: Include Inter font (recommended) Source: https://github.com/xz/new.css/blob/main/README.md Add this line to the end of your HTML's to include the Inter font from fonts.xz.style. Recommended for better typography. ```html ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.