Skip to content

Commit

Permalink
feat(icons): add editor and color picker icons
Browse files Browse the repository at this point in the history
* feat(demo): add SSR support

* chore(comments): fix

* feat(icons): add editor and color picker icons

* chore(addon-editor): remove icons

Co-authored-by: Roman Sedov <darragon-nn@yandex.ru>
  • Loading branch information
waterplea and MarsiBarsi authored Dec 22, 2020
1 parent d3bf4d8 commit 170f9a0
Show file tree
Hide file tree
Showing 627 changed files with 350 additions and 232 deletions.
2 changes: 1 addition & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@
},
{
"glob": "**/*",
"input": "projects/icons/src/icons/src",
"input": "projects/icons/src",
"output": "assets/taiga-ui/icons"
}
],
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@
"prettier": "prettier --write \"projects/**/*.{js,ts,html,md,less,json}\"",
"clear": "prettier --write '**/projects/**/*.{js,ts,html,md,less,json}' && tslint '**/projects/**/*.ts' --fix",
"typecheck": "tsc --noEmit --skipLibCheck",
"*** build **": "",
"*** Build **": "",
"build": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --configuration=production",
"build:demo": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --prod --configuration=production",
"postbuild:demo": "node scripts/checkDist.js && cp ./dist/demo/browser/index.html ./dist/demo/browser/404.html",
"*** Icons ***": "",
"compile:icons": "ts-node --project ./tsconfig.compiler.json scripts/compileIcons.ts",
"prebuild:icons": "npm run compile:icons projects/icons",
"prebuild:icons": "ts-node --project ./tsconfig.compiler.json projects/icons/scripts/compile-icons.ts",
"build:icons": "ng run icons:build --configuration=production",
"postbuild:icons": "node projects/icons/scripts/copy-icons.js",
"*** Release ***": "",
"release": "standard-version -a --no-verify",
"release:patch": "node scripts/release.js patch",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@

&:hover,
&_active {
color: var(--tui-primary-text);
color: var(--tui-text-01);
background: var(--tui-secondary-hover);
}
}
Expand Down
4 changes: 2 additions & 2 deletions projects/addon-editor/components/toolbar/toolbar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ export class TuiToolbarComponent {
{
size: '5',
px: 24,
family: 'tuiHeading',
family: 'var(--tui-heading-font)',
name: 'Подзаголовок',
},
{
size: '6',
px: 30,
family: 'tuiHeading',
family: 'var(--tui-heading-font)',
name: 'Заголовок',
},
];
Expand Down
2 changes: 1 addition & 1 deletion projects/addon-editor/constants/default-editor-styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ body.tui-editor-socket {
.tui-editor-socket font[size='7'] {
display: block;
margin: 32px 0 16px;
font-family: tuiHeading, 'Manrope', sans-serif;
font-family: var(--tui-heading-font);
}
.tui-editor-socket font[size='5'] {
Expand Down
59 changes: 0 additions & 59 deletions projects/addon-editor/icons/all.ts

This file was deleted.

1 change: 0 additions & 1 deletion projects/addon-editor/icons/index.ts

This file was deleted.

7 changes: 0 additions & 7 deletions projects/addon-editor/icons/package.json

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarAttach.svg

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarBold.svg

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarClearFormat.svg

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarCode.svg

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarColor.svg

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarFont.svg

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarFormat.svg

This file was deleted.

14 changes: 0 additions & 14 deletions projects/addon-editor/icons/src/tuiIconToolbarHilite.svg

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarHr.svg

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarImg.svg

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarIndent.svg

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarItalic.svg

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarJustifyFull.svg

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarJustifyLeft.svg

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarLink.svg

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarOL.svg

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarOutdent.svg

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarQuote.svg

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarRedo.svg

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarSubscript.svg

This file was deleted.

4 changes: 0 additions & 4 deletions projects/addon-editor/icons/src/tuiIconToolbarSuperscript.svg

This file was deleted.

Loading

0 comments on commit 170f9a0

Please sign in to comment.