Skip to content

Commit 4e7f410

Browse files
authored
[sc-2301] re align sistema neutral colors (#241)
* [sc-2301]: Re-align Sistema neutral colors Move neutral colors to the right (so $color-neutral-strong becomes $color-neutral-regular) and $color-neutral-lightest will be out of palette and be used specifically as a background * Add missing menu glyph * Remove custom palette demo page
1 parent 8164a33 commit 4e7f410

File tree

22 files changed

+32
-205
lines changed

22 files changed

+32
-205
lines changed

apps/dashboard/src/app/account/billing/plans/plans.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $column-header: 128px;
3434
}
3535

3636
.parameter-group {
37-
border-bottom: 1px solid $color-neutral-strong;
37+
border-bottom: 1px solid $color-neutral-regular;
3838
&:last-child {
3939
border-bottom: 0;
4040
}
@@ -128,7 +128,7 @@ $column-header: 128px;
128128
right: 0;
129129
font-size: var(--stf-font-size-ssmall);
130130
font-weight: var(--stf-font-weight-light);
131-
color: $color-neutral-strong;
131+
color: $color-neutral-regular;
132132
}
133133
}
134134

apps/dashboard/src/app/account/billing/settings/plan-settings.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717

1818
.description {
19-
color: $color-neutral-strong;
19+
color: $color-neutral-regular;
2020
}
2121

2222
input {

apps/dashboard/src/app/components/hint/hint.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
.hint-title {
1919
display: flex;
2020
align-items: center;
21-
color: $color-neutral-strong;
21+
color: $color-neutral-regular;
2222

2323
pa-icon {
2424
display: inline-block;

apps/dashboard/src/app/components/topbar/kb-switch/kb-switch.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
}
2525

2626
pa-option.demo-kb {
27-
color: $color-neutral-strong;
27+
color: $color-neutral-regular;
2828
}
2929
}

apps/desktop/src/app/connectors/folder-upload/folder-upload.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
width: 400px;
88
height: rhythm(12);
99
border: 2px dashed $color-neutral-regular;
10-
color: $color-neutral-strong;
10+
color: $color-neutral-regular;
1111
transition: border-color 0.15s;
1212
&.active {
1313
border: 2px dashed $color-primary-regular;
1414
}
15-
}
15+
}

apps/desktop/src/app/upload/select-files/select-files.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ h3 {
4444
table {
4545
width: calc(100% - #{rhythm(2)});
4646
border-spacing: 0;
47-
border-top: 2px solid $color-neutral-strong;
47+
border-top: 2px solid $color-neutral-regular;
4848
}
4949

5050
td {
5151
height: rhythm(3);
52-
border-bottom: 1px solid $color-neutral-strong;
52+
border-bottom: 1px solid $color-neutral-regular;
5353
}

apps/sistema-demo/src/app/app.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import {
2222
InfiniteScrollPageComponent,
2323
InputPageComponent,
2424
NativeTextFieldPageComponent,
25+
PalettePageComponent,
2526
PopoverPageComponent,
2627
PopupPageComponent,
2728
SelectPageComponent,
@@ -44,7 +45,6 @@ import {
4445
SistemaConfirmationDialogComponent,
4546
SistemaIconsComponent,
4647
SistemaModalComponent,
47-
SistemaPaletteComponent,
4848
SistemaScrollbarComponent,
4949
SistemaTableComponent,
5050
SistemaToastComponent,
@@ -62,7 +62,7 @@ export const menu: IDemoMenuSection[] = [
6262
title: 'Core',
6363
pages: [
6464
{ view: 'icon', title: 'Icons', type: SistemaIconsComponent },
65-
{ view: 'palette', title: 'Palette', type: SistemaPaletteComponent },
65+
{ view: 'palette', title: 'Palette', type: PalettePageComponent },
6666
{ view: 'typography', title: 'Typography', type: TypographyPageComponent },
6767
{ view: 'focusable', title: 'Focusable', type: FocusablePageComponent },
6868
{ view: 'accessibility', title: 'Accessibility', type: AccessibilityPageComponent },

apps/sistema-demo/src/app/sistema-pages/pastanaga-pages-override/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ export * from './sistema-buttons/sistema-buttons.component';
22
export * from './sistema-confirmation-dialog/sistema-confirmation-dialog.component';
33
export * from './sistema-icons/sistema-icons.component';
44
export * from './sistema-modal';
5-
export * from './sistema-palette/sistema-palette.component';
65
export * from './sistema-scrollbar/sistema-scrollbar.component';
76
export * from './sistema-tables/sistema-table.component';
87
export * from './sistema-toasts/sistema-toast.component';

apps/sistema-demo/src/app/sistema-pages/pastanaga-pages-override/sistema-palette/sistema-palette.component.html

Lines changed: 0 additions & 160 deletions
This file was deleted.

apps/sistema-demo/src/app/sistema-pages/pastanaga-pages-override/sistema-palette/sistema-palette.component.scss

Lines changed: 0 additions & 5 deletions
This file was deleted.

apps/sistema-demo/src/app/sistema-pages/pastanaga-pages-override/sistema-palette/sistema-palette.component.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

apps/sistema-demo/src/app/sistema-pages/sistema-pages.module.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import {
2222
SistemaConfirmationDialogComponent,
2323
SistemaIconsComponent,
2424
SistemaModalComponent,
25-
SistemaPaletteComponent,
2625
SistemaScrollbarComponent,
2726
SistemaTableComponent,
2827
SistemaToastComponent,
@@ -44,7 +43,6 @@ import { SistemaSpinnerComponent } from './sistema-spinner/sistema-spinner.compo
4443
ModalExampleComponent,
4544
SistemaIconsComponent,
4645
SistemaModalComponent,
47-
SistemaPaletteComponent,
4846
SistemaScrollbarComponent,
4947
SistemaTableComponent,
5048
SistemaLabelComponent,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export const ICONS =
2-
["search", "payment", "arrow-down", "list", "lock-off", "circle-chevron-right", "user", "account", "home", "more-horizontal", "chevron-down", "label", "square-arrow", "file", "knowledge-box", "chevron-up", "eye-closed", "lock", "chevron-right", "link", "key", "arrow-right", "log-out", "settings", "submenu", "circle-check", "code", "plus", "check", "warning", "info", "gear", "copy", "reload", "refresh", "image", "smile", "images", "search-plus", "play", "widget", "trash", "circle-plus", "circle-dash", "edit", "unlink", "upload-cloud", "unlock", "language", "forbidden", "eye", "add-user", "circle-cross", "more-vertical", "share", "arrow-up", "filter", "calendar", "arrow-left", "cross", "download-cloud", "upload", "add-file", "circle-minus", "help", "activity-log", "circle-chevron-left", "folder", "users", "chevron-left", "heart"]
2+
["search", "payment", "arrow-down", "list", "lock-off", "circle-chevron-right", "user", "account", "home", "more-horizontal", "chevron-down", "label", "square-arrow", "file", "knowledge-box", "chevron-up", "eye-closed", "lock", "chevron-right", "link", "key", "arrow-right", "log-out", "settings", "submenu", "circle-check", "code", "plus", "check", "warning", "info", "gear", "copy", "reload", "refresh", "image", "smile", "images", "search-plus", "play", "widget", "trash", "circle-plus", "circle-dash", "edit", "unlink", "upload-cloud", "unlock", "language", "forbidden", "eye", "add-user", "circle-cross", "more-vertical", "share", "arrow-up", "filter", "calendar", "arrow-left", "cross", "download-cloud", "upload", "add-file", "circle-minus", "help", "activity-log", "menu", "circle-chevron-left", "folder", "users", "chevron-left", "heart"]
33
;

libs/common/src/lib/user/login/login.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
}
3333

3434
.login_policy {
35-
color: $color-neutral-strong;
35+
color: $color-neutral-regular;
3636
a {
3737
color: inherit;
3838
}
@@ -64,7 +64,7 @@
6464
.login_social_button {
6565
-webkit-appearance: none;
6666

67-
background-color: $color-neutral-lightest;
67+
background-color: $color-neutral-background;
6868
border: none;
6969
border-radius: $border-radius-default;
7070
box-shadow: var(--stf-shadow-button) $color-neutral-light;

libs/search-widget/public/icons/glyphs-sprite.svg

Lines changed: 1 addition & 0 deletions
Loading

libs/sistema/assets/glyphs-sprite.svg

Lines changed: 1 addition & 0 deletions
Loading

libs/sistema/glyphs/menu.svg

Lines changed: 5 additions & 0 deletions
Loading

libs/sistema/theme/_pastanaga-core-overrides.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ overrides for:
88
theme/layout
99
theme/scrollbar
1010
*/
11+
@import "tokens/palette.tokens";
1112
@import "tokens/spacing.tokens";
1213
@import "tokens/typography.tokens";
1314
@import "tokens/scrollbar.tokens";

0 commit comments

Comments
 (0)