Thanks to visit codestin.com
Credit goes to github.com

Skip to content
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
30 changes: 13 additions & 17 deletions projects/core/build/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,16 @@ const aliases = {
},
disabled: token(color.white),
highlight: token(color.blue[700]),
shade: {
value: token(color.coolGray[50]),
hover: token(color.construction[100]),
active: token(color.blue[75]),
selected: {
value: token(color.white),
hover: token(color.construction[100]),
active: token(color.construction[200]),
},
},
},
color: {
value: token(color.construction[700]),
Expand Down Expand Up @@ -598,20 +608,6 @@ const aliases = {
hover: token(color.construction[600]),
click: token(color.construction[800]),
},
vertical: {
navigation: {
background: {
color: token(color.coolGray[50]),
hover: token(color.construction[100]),
active: token(color.blue[75]),
selected: {
value: token(color.white),
hover: token(color.construction[100]),
active: token(color.construction[200]),
},
},
},
},
},
app: {
background: token(color.construction[25]),
Expand All @@ -625,7 +621,7 @@ const aliases = {
value: token(color.white),
tint: token(color.construction[50]),
shade: token(color.construction[100]),
dark: token(color.construction[200]),
dark: token(color.coolGray[50]),
inverse: {
value: token(color.construction[600]),
tint: token(color.construction[800]),
Expand Down Expand Up @@ -727,7 +723,7 @@ const aliases = {
},
},
viz: {
border: token(color.coolGray[50]),
border: token(color.construction[1100]),
general: {
1: {
blue: token(color.blue[600]),
Expand Down Expand Up @@ -785,7 +781,7 @@ const aliases = {
value: token(color.yellow[700]),
light: token(color.yellow[400]),
},
immediate: token(color.tangerine[700]),
immediate: token(color.tangerine[400]),
critical: token(color.red[700]),
},
sequential: {
Expand Down
2 changes: 1 addition & 1 deletion projects/core/src/index.performance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { testBundleSize } from 'web-test-runner-performance/browser.js';

describe('performance', () => {
it(`should meet maximum individual css bundle size limits`, async () => {
expect((await testBundleSize('@cds/core/global.min.css')).kb).toBeLessThan(9.5);
expect((await testBundleSize('@cds/core/global.min.css')).kb).toBeLessThan(10);
expect((await testBundleSize('@cds/core/styles/theme.dark.min.css')).kb).toBeLessThan(1.29);
expect((await testBundleSize('@cds/core/list/list.min.css')).kb).toBeLessThan(0.4);

Expand Down
14 changes: 7 additions & 7 deletions projects/core/src/styles/theme.dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
--cds-alias-object-container-background: #{$cds-global-color-construction-900};
--cds-alias-object-container-background-tint: #{$cds-global-color-construction-1000};
--cds-alias-object-container-background-shade: #{$cds-global-color-construction-800};
--cds-alias-object-container-background-dark: #{$cds-global-color-construction-700};
--cds-alias-object-container-background-dark: #{$cds-global-color-construction-1100};
--cds-alias-object-container-background-inverse: #{$cds-global-color-construction-200};
--cds-alias-object-container-background-inverse-tint: #{$cds-global-color-construction-100};
--cds-alias-object-container-background-inverse-shade: #{$cds-global-color-construction-300};
Expand All @@ -78,12 +78,12 @@
--cds-alias-object-interaction-background-selected-hover: #{$cds-global-color-construction-700};
--cds-alias-object-interaction-background-disabled: #{$cds-global-color-construction-700};
--cds-alias-object-interaction-background-highlight: #{$cds-global-color-blue-400};
--cds-alias-object-interaction-vertical-navigation-background-color: #{$cds-global-color-construction-1100};
--cds-alias-object-interaction-vertical-navigation-background-hover: #{$cds-global-color-construction-600};
--cds-alias-object-interaction-vertical-navigation-background-active: #{$cds-global-color-construction-800};
--cds-alias-object-interaction-vertical-navigation-background-selected: #{$cds-global-color-construction-700};
--cds-alias-object-interaction-vertical-navigation-background-selected-hover: #{$cds-global-color-construction-800};
--cds-alias-object-interaction-vertical-navigation-background-selected-active: #{$cds-global-color-construction-600};
--cds-alias-object-interaction-background-shade: #{$cds-global-color-construction-1100};
--cds-alias-object-interaction-background-shade-hover: #{$cds-global-color-construction-600};
--cds-alias-object-interaction-background-shade-active: #{$cds-global-color-construction-800};
--cds-alias-object-interaction-background-shade-selected: #{$cds-global-color-construction-700};
--cds-alias-object-interaction-background-shade-selected-hover: #{$cds-global-color-construction-800};
--cds-alias-object-interaction-background-shade-selected-active: #{$cds-global-color-construction-600};
--cds-alias-object-interaction-border-color: #{$cds-global-color-construction-300};
--cds-alias-object-interaction-info-hover: #{$cds-global-color-blue-300};
--cds-alias-object-interaction-info-click: #{$cds-global-color-blue-500};
Expand Down