-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from ConductionNL/feature/NDT-39/OpenCatalogi
feature/NDT-39/OpenCatalogi
- Loading branch information
Showing
94 changed files
with
2,387 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Auteursrecht OpenCatalogi | ||
|
||
Copyright (c) 2023 OpenCatalogi | ||
|
||
## Logo en huisstijl | ||
|
||
Op het huisstijl en logo zijn auteursrechten van toepassing. Het gebruik van logo en huisstijl is alleen toegestaan voor gebruik door OpenCatalogi. | ||
|
||
Wanneer je een bewerking van de software wilt gebruiken voor andere doeleinden, mag je niet het logo van OpenCatalogi gebruiken en je ontwerpt een eigen huisstijl. | ||
|
||
## Lettertype | ||
|
||
Lettertypes die worden gebruikt voor de huisstijl zijn niet allemaal gratis en open source. Let op dat bij gebruik van die bijgeleverde lettertypes je een (betaalde) licentie regelt. Pas anders de configuratie aan om minder of andere lettertypes te gebruiken. | ||
|
||
## Toestemming | ||
|
||
Wanneer je het logo of de huisstijl wilt gebruiken kun je voor toestemming contact opnemen met OpenCatalogi. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# NL Design System design tokens OpenCatalogi | ||
|
||
These tokens have been made for the [website of OpenCatalogi](https://opencatalogi.nl/) by using the tokens of [Gemeente Rotterdam](https://www.rotterdam.nl/). |
17 changes: 17 additions & 0 deletions
17
municipalities/opencatalogi-design-tokens/documentation/color.stories.mdx
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { Meta, ColorPalette, ColorItem } from "@storybook/addon-docs"; | ||
import tokens from "../dist/tokens.json"; | ||
import { ColorSearch } from "@nl-design-system-unstable/theme-toolkit/src/ColorSearch"; | ||
import { ColorTable } from "@nl-design-system-unstable/theme-toolkit/src/ColorTable"; | ||
import config from "../src/config.json"; | ||
|
||
<Meta title={`${config.name}/Color`} /> | ||
|
||
# Color | ||
|
||
## Find a color | ||
|
||
<ColorSearch tokens={tokens[config.prefix]["color"]}></ColorSearch> | ||
|
||
## Color palette | ||
|
||
<ColorTable tokens={tokens[config.prefix]["color"]}></ColorTable> |
11 changes: 11 additions & 0 deletions
11
municipalities/opencatalogi-design-tokens/documentation/components.stories.mdx
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { Meta, Story } from "@storybook/addon-docs"; | ||
import { ComponentStories } from "@nl-design-system-unstable/theme-toolkit/src/ComponentStories"; | ||
import config from "../src/config.json"; | ||
|
||
<Meta title={`${config.name}`} /> | ||
|
||
# Components | ||
|
||
<Story name="Components"> | ||
<ComponentStories config={config} /> | ||
</Story> |
14 changes: 14 additions & 0 deletions
14
municipalities/opencatalogi-design-tokens/documentation/design-tokens.stories.mdx
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { Meta, ColorPalette, ColorItem } from "@storybook/addon-docs"; | ||
import { DesignTokensTable } from "@nl-design-system-unstable/theme-toolkit/src/DesignTokensTable"; | ||
import tokens from "../dist/index.json"; | ||
import config from "../src/config.json"; | ||
|
||
<Meta title={`${config.name}/Design Tokens`} /> | ||
|
||
# Design Tokens | ||
|
||
<DesignTokensTable tokens={tokens.filter((token) => token.path[0] !== config.prefix)}></DesignTokensTable> | ||
|
||
## Proprietary Design Tokens | ||
|
||
<DesignTokensTable tokens={tokens.filter((token) => token.path[0] === config.prefix)}></DesignTokensTable> |
7 changes: 7 additions & 0 deletions
7
municipalities/opencatalogi-design-tokens/documentation/readme.stories.mdx
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { Meta, Description } from "@storybook/addon-docs"; | ||
import markdown from "../README.md"; | ||
import config from "../src/config.json"; | ||
|
||
<Meta title={`${config.name}/README`} /> | ||
|
||
<Description>{markdown}</Description> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"version": "1.0.0-alpha.1", | ||
"author": "Community for NL Design System", | ||
"description": "NL Design System design tokens for OpenCatalogi", | ||
"website": "https://opencatalogi.nl/", | ||
"keywords": [ | ||
"nl-design-system", | ||
"conduction" | ||
], | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
"name": "@nl-design-system-unstable/leiden-design-tokens", | ||
"private": false, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"repository": { | ||
"type": "git+ssh", | ||
"url": "[email protected]:nl-design-system/themes.git" | ||
}, | ||
"scripts": { | ||
"clean": "rimraf -rf dist/", | ||
"prebuild": "npm run clean", | ||
"watch": "npm-run-all watch:**", | ||
"watch:style-dictionary": "chokidar --follow-symlinks --command 'npm run --ignore-scripts build' 'src/**/*.tokens.json'", | ||
"build": "npm-run-all build:**", | ||
"build:scss": "sass --no-source-map src/:dist/", | ||
"build:style-dictionary": "style-dictionary build --config ./style-dictionary.config.js" | ||
}, | ||
"devDependencies": { | ||
"@nl-design-system-unstable/theme-toolkit": "workspace:*", | ||
"chokidar-cli": "3.0.0", | ||
"npm-run-all": "4.1.5", | ||
"rimraf": "3.0.2", | ||
"style-dictionary": "3.8.0" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/ConductionNL/conduction-theme/issues" | ||
}, | ||
"homepage": "https://github.com/ConductionNL/conduction-theme#readme" | ||
} |
24 changes: 24 additions & 0 deletions
24
municipalities/opencatalogi-design-tokens/src/_responsive.scss
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/** | ||
* @license SEE LICENSE.md | ||
* Copyright (c) 2021 NL Design System Community | ||
* All rights reserved | ||
*/ | ||
|
||
/* stylelint-disable no-duplicate-selectors */ | ||
.rotterdam-theme { | ||
@media (min-width: 768px) { | ||
& { | ||
--utrecht-page-footer-padding-inline-start: 24px; | ||
--utrecht-page-footer-padding-inline-end: 24px; | ||
--utrecht-page-footer-block-end: 115px; | ||
--utrecht-page-footer-block-start: 52px; | ||
} | ||
} | ||
@media (max-width: 375px) { | ||
& { | ||
--utrecht-page-footer-padding-inline-start: 24px; | ||
--utrecht-page-footer-padding-inline-end: 24px; | ||
--utrecht-page-footer-block-end: 48px; | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
municipalities/opencatalogi-design-tokens/src/components/conduction/card-header.tokens.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"conduction": { | ||
"card-header": { | ||
"background-color": {}, | ||
"border-bottom-width": {}, | ||
"border-bottom-style": {}, | ||
"border-bottom-color": {}, | ||
"color": { "value": "{utrecht.document.color}" }, | ||
"hover": { | ||
"background-color": {}, | ||
"border-bottom-width": {}, | ||
"border-bottom-style": {}, | ||
"border-bottom-color": {} | ||
}, | ||
"title": { | ||
"color": { "value": "{opencatalogi.color.green.tint-01}" } | ||
}, | ||
"date": { | ||
"color": { "value": "{opencatalogi.color.gray.tint-11}" }, | ||
"font-size": { "value": "16px" }, | ||
"font-weight": { "value": "400" }, | ||
"margin-block-end": { "value": "8px" } | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
municipalities/opencatalogi-design-tokens/src/components/conduction/card-wrapper.tokens.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"conduction": { | ||
"card-wrapper": { | ||
"background-color": { "value": "{opencatalogi.color.base.white}" }, | ||
"border-color": {}, | ||
"border-style": {}, | ||
"border-width": {}, | ||
"border-bottom-color": { "value": "{opencatalogi.color.gray.tint-04}" }, | ||
"border-bottom-style": { "value": "solid" }, | ||
"border-bottom-width": { "value": "4px" }, | ||
"border-radius": { "value": "0px" }, | ||
"box-shadow": {}, | ||
"color": { "value": "{opencatalogi.color.gray.tint-11}" }, | ||
"hover": { | ||
"background-color": {}, | ||
"border-bottom-color": { "value": "{opencatalogi.color.green.tint-01}" }, | ||
"border-bottom-style": { "value": "solid" }, | ||
"border-bottom-width": { "value": "4px" } | ||
}, | ||
"padding-inline-end": { "value": "16px" }, | ||
"padding-inline-start": { "value": "16px" }, | ||
"padding-block-end": { "value": "16px" }, | ||
"padding-block-start": { "value": "16px" } | ||
} | ||
} | ||
} |
69 changes: 69 additions & 0 deletions
69
municipalities/opencatalogi-design-tokens/src/components/conduction/checkbox.tokens.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"conduction": { | ||
"input-checkbox": { | ||
"color": { "value": "{opencatalogi.color.base.white}" }, | ||
"border-width": { "value": "1px" }, | ||
"border-style": { "value": "solid" }, | ||
"border-color": { "value": "{opencatalogi.color.gray.tint-08}" }, | ||
"border-radius": { "value": "0px" }, | ||
"box-shadow": {}, | ||
"hover": { | ||
"color": { "value": "{opencatalogi.color.base.white}" }, | ||
"border-width": { "value": "2px" }, | ||
"border-style": { "value": "solid" }, | ||
"border-color": { "value": "{opencatalogi.color.base.green}" }, | ||
"border-radius": { "value": "0px" }, | ||
"box-shadow": {} | ||
}, | ||
"checked": { | ||
"color": { "value": "{opencatalogi.color.base.green}" }, | ||
"border-width": { "value": "1px" }, | ||
"border-style": { "value": "solid" }, | ||
"border-color": { "value": "{opencatalogi.color.base.green}" }, | ||
"border-radius": { "value": "0px" }, | ||
"box-shadow": {}, | ||
"checkmark-url": {}, | ||
"hover": { | ||
"color": { "value": "{opencatalogi.color.base.black}" }, | ||
"border-width": { "value": "1px" }, | ||
"border-style": { "value": "solid" }, | ||
"border-color": { "value": "{opencatalogi.color.base.black}" }, | ||
"border-radius": { "value": "0px" }, | ||
"box-shadow": {} | ||
} | ||
}, | ||
"disabled": { | ||
"color": { "value": "{opencatalogi.color.gray.tint-08}" }, | ||
"border-width": { "value": "1px" }, | ||
"border-style": { "value": "solid" }, | ||
"border-color": { "value": "{opencatalogi.color.gray.tint-08}" }, | ||
"border-radius": { "value": "0px" }, | ||
"box-shadow": {}, | ||
"hover": { | ||
"color": { "value": "{opencatalogi.color.gray.tint-08}" }, | ||
"border-width": { "value": "1px" }, | ||
"border-style": { "value": "solid" }, | ||
"border-color": { "value": "{opencatalogi.color.gray.tint-08}" }, | ||
"border-radius": { "value": "0px" }, | ||
"box-shadow": {} | ||
} | ||
}, | ||
"focus": { | ||
"outline-width": { "value": "1px" }, | ||
"outline-style": { "value": "solid" }, | ||
"outline-color": { "value": "{opencatalogi.color.base.black}" }, | ||
"outline-offset": { "value": "2px" } | ||
}, | ||
"label": { | ||
"color": { "value": "{utrecht.document.color}" }, | ||
"font-size": { "value": "{utrecht.document.font-size}" }, | ||
"font-weight": {}, | ||
"font-family": { "value": "{utrecht.document.font-family}" }, | ||
"container": { | ||
"padding": { "value": "3px" }, | ||
"margin": { "value": "3px" } | ||
} | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...cipalities/opencatalogi-design-tokens/src/components/conduction/download-card.tokens.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"conduction": { | ||
"download-card": { | ||
"background-color": {}, | ||
"title": { | ||
"color": { "value": "{utrecht.document.color}" }, | ||
"font-size": { "value": "20px" }, | ||
"font-weight": { "value": "{opencatalogi.typography.weight-scale.bold.font-weight}" }, | ||
"font-family": { "value": "{opencatalogi.typography.sans-serif.font-family}" }, | ||
"margin-inline-end": { "value": "14px" } | ||
}, | ||
"border-width": { "value": "1px" }, | ||
"border-style": { "value": "solid" }, | ||
"border-color": { "value": "{opencatalogi.color.gray.tint-04}" }, | ||
"border-radius": { "value": "0px" }, | ||
"icon-gap": { "value": "14px" }, | ||
"padding-inline-end": { "value": "18px" }, | ||
"padding-inline-start": { "value": "18px" }, | ||
"padding-block-end": { "value": "18px" }, | ||
"padding-block-start": { "value": "18px" } | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
municipalities/opencatalogi-design-tokens/src/components/conduction/logo.tokens.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"conduction": { | ||
"logo": { | ||
"header": { | ||
"inline-size": { "value": "46px" }, | ||
"block-size": { "value": "46px" }, | ||
"background-image": { | ||
"value": "url('https://dev.opencatalogi.nl/static/logo_OpenCatalogi-8b1b0a001c3f37dae4d3f69b5964ec72.png')" | ||
} | ||
}, | ||
"footer": { | ||
"inline-size": { "value": "46px" }, | ||
"block-size": { "value": "46px" }, | ||
"background-image": { | ||
"value": "url('https://dev.opencatalogi.nl/static/logo_OpenCatalogi-8b1b0a001c3f37dae4d3f69b5964ec72.png')" | ||
} | ||
}, | ||
"navbar": { | ||
"inline-size": { "value": "46px" }, | ||
"block-size": { "value": "46px" }, | ||
"background-image": { | ||
"value": "url('https://dev.opencatalogi.nl/static/logo_OpenCatalogi-8b1b0a001c3f37dae4d3f69b5964ec72.png')" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.