Skip to content

Commit

Permalink
docs(creation doc partner)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrienfrey2 committed Dec 21, 2021
1 parent b2200ca commit 53c9c6f
Show file tree
Hide file tree
Showing 18 changed files with 349 additions and 8 deletions.
20 changes: 14 additions & 6 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"version": "2.0.0",
"tasks": [
{
"label": "prettier eslint",
"type": "shell",
"command": "node",
"isShellCommand": true,
"showOutput": "always",
"isBuildCommand": true,
"taskName": "prettier eslint",
"args": ["./node_modules/.bin/prettier-eslint", "--write", "--prettier-last", "${file}"]
"args": [
"./node_modules/.bin/prettier-eslint",
"--write",
"--prettier-last",
"${file}"
],
"problemMatcher": [],
"group": {
"_id": "build",
"isDefault": false
}
}
]
}
15 changes: 15 additions & 0 deletions .vscode/tasks.json.old
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"tasks": [
{
"command": "node",
"isShellCommand": true,
"showOutput": "always",
"isBuildCommand": true,
"taskName": "prettier eslint",
"args": ["./node_modules/.bin/prettier-eslint", "--write", "--prettier-last", "${file}"]
}
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"build:angularjs": "yarn workspace @lumx/angularjs build",
"build:storybook": "yarn workspace @lumx/react build:storybook",
"chromatic": "npx chromatic -b build:storybook",
"clean": "rm -rf packages/*/dist && lerna clean --yes && lerna run --stream clean",
"clean": "rm -rf packages/*/dist; lerna clean --yes && lerna run --stream clean",
"clean:git-hooks": "yarn husky uninstall",
"format": "yarn format:code && yarn format:style",
"format:style": "prettier-stylelint --prettier-last --write packages/**/*.{css,scss}",
Expand Down
4 changes: 3 additions & 1 deletion packages/site-demo/content/menu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@
- Size
- Spacing
- Brand
- Partners
- Partners:
- Extensions:
- Design Documentation
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions packages/site-demo/src/style/components/_custom-doc-styles.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.best-practices {
background: rgba(76, 175, 80, 0.1);
padding: 10px;
color: rgba(76, 175, 80, 1);
}

.example {
background: rgba(33, 150, 243, 0.1);
padding: 10px;
color: rgba(33, 150, 243, 1);
}

.alinea {
indent: 120px;
}
1 change: 1 addition & 0 deletions packages/site-demo/src/style/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@import '~@lumx/core/scss/lumx.scss';
@import './base/base';
@import './components/asset-block';
@import './components/custom-doc-styles';
@import './components/design-token';
@import './components/demo-block';
@import './components/code-block';
Expand Down

0 comments on commit 53c9c6f

Please sign in to comment.