Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: document all colors #3441

Merged
merged 4 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/dnb-design-system-portal/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const ignoreAsPage = [
'**/demos/layout/Layout.js',
'**/skip-link-example.tsx',
'**/CardProductsTable.js',
'**/ColorTable.tsx',
'**/assets/*.js',
'**/__utils__/*.{js,ts,tsx}',
// '**/*.mdx',// Use when templates/mdx.tsx in createPage is used
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,16 @@ title: 'Colors'
icon: 'colors'
---

import ColorsTable from 'Docs/quickguide-designer/colors-table.mdx'
import ColorsTable from 'Docs/quickguide-designer/colors/tables'

# Colors

<VisibilityByTheme hidden="sbanken">
## DNB color table for web

_Note:_ DNB color names for design and development are in English.
## Color table for web

<ColorsTable />

<VisibilityByTheme hidden="sbanken">

## Gradients, shadows, and shades

### Gradients
Expand All @@ -33,13 +32,10 @@ Tints are lighter versions of the color that are made by mixing a color with whi
</VisibilityByTheme>

<VisibilityByTheme visible="sbanken">
## Sbanken color table for web

<ColorsTable />

### Tertiary colors

Tertiary colors are available in Eufemia Web Figma file for Sbanken. These are mainly lighter variations of the secondary colors.
Tertiary colors are mainly lighter variations of the secondary colors.

</VisibilityByTheme>

Expand Down
Loading
Loading