diff --git a/apps/docs-app/src/_teradata-branding.scss b/apps/docs-app/src/_teradata-branding.scss index f45320d168..118616494f 100644 --- a/apps/docs-app/src/_teradata-branding.scss +++ b/apps/docs-app/src/_teradata-branding.scss @@ -5,16 +5,15 @@ // Customer Teradata brand palette // Custom orange contrast $td-orange: ( - 50: #fce3db, - 100: #fce3db, - 200: #fac7b7, - 300: #fac7b7, - 400: #f7aa93, - 500: #f7aa93, - 600: #f58e6f, - 700: #f58e6f, - 800: #f3753f, - 900: #f3753f, + 100: #ffcfb3, + 200: #ffaf81, + 300: #ff8f4e, + 400: #ff7728, + 500: #ff5f02, + 600: #f05800, + 700: #e54900, + 800: #d83b03, + 900: #c23200, contrast: ( 50: $black-87-opacity, 100: $black-87-opacity, @@ -29,27 +28,49 @@ $td-orange: ( ), ); $td-slate: ( - 50: #d8dbdc, - 100: #d8dbdc, - 200: #b0b6b9, - 300: #b0b6b9, - 400: #899296, - 500: #899296, - 600: #616d73, - 700: #616d73, - 800: #394851, + 50: #e3e7e8, + 100: #c9cfd1, + 200: #afb6b9, + 300: #959ea2, + 400: #7b858a, + 500: #616d73, + 600: #57646b, + 700: #4d5b62, + 800: #43515a, 900: #394851, + 1000: #2e3d42, + 1100: #28353b, + 1200: #222e33, + 1300: #1f282e, + 1400: #1a2126, + 1500: #161c1f, + 1600: #14171a, + 1700: #101314, + 1800: #0c0e0f, + 1900: #060708, + 2000: #020203, contrast: ( 50: $black-87-opacity, 100: $black-87-opacity, 200: $black-87-opacity, 300: $black-87-opacity, 400: $black-87-opacity, - 500: $black-87-opacity, - 600: white, - 700: white, + 500: $white-87-opacity, + 600: $white-87-opacity, + 700: $white-87-opacity, 800: $white-87-opacity, 900: $white-87-opacity, + 1000: $white-87-opacity, + 1100: $white-87-opacity, + 1200: $white-87-opacity, + 1300: $white-87-opacity, + 1400: $white-87-opacity, + 1500: $white-87-opacity, + 1600: $white-87-opacity, + 1700: $white-87-opacity, + 1800: $white-87-opacity, + 1900: $white-87-opacity, + 2000: $white-87-opacity, ), ); $td-yellow: ( @@ -87,6 +108,17 @@ $td-teal: ( 700: #009392, 800: #008383, 900: #007373, + 1000: #016b6b, + 1100: #036464, + 1200: #045c5c, + 1300: #055454, + 1400: #074d4d, + 1500: #084545, + 1600: #0a3e3e, + 1700: #0b3636, + 1800: #0c2e2e, + 1900: #0e2727, + 2000: #0f1f1f, contrast: ( 50: $black-87-opacity, 100: $black-87-opacity, @@ -96,8 +128,19 @@ $td-teal: ( 500: $black-87-opacity, 600: $black-87-opacity, 700: $black-87-opacity, - 800: white, - 900: white, + 800: $black-87-opacity, + 900: $white-87-opacity, + 1000: $white-87-opacity, + 1100: $white-87-opacity, + 1200: $white-87-opacity, + 1300: $white-87-opacity, + 1400: $white-87-opacity, + 1500: $white-87-opacity, + 1600: $white-87-opacity, + 1700: $white-87-opacity, + 1800: $white-87-opacity, + 1900: $white-87-opacity, + 2000: $white-87-opacity, ), ); $td-blue: ( @@ -162,6 +205,142 @@ $td-emphasis2: ( background-dark: mat-color($mat-blue-grey, 200), ); +// Background palette for light themes. +$td-light-theme-background: ( + status-bar: mat-color($mat-grey, 300), + app-bar: mat-color($mat-grey, 50), + background: mat-color($mat-grey, 100), + canvas: mat-color($mat-grey, 200), + card: white /*** card color = surface color ***/, + dialog: white, + hover: rgba(0, 0, 0, 0.04), + disabled-button: rgba(mat-color($mat-grey, 400), 0.1), + raised-button: white, + focused-button: rgba(0, 0, 0, 0.12), + selected-button: #e0e0e0, + selected-disabled-button: #bdbdbd, + disabled-button-toggle: #eeeeee, + unselected-chip: mat-color($mat-grey, 400), + disabled-list-option: #eeeeee, + tooltip: #616161, + overlay: rgba(#000000, 0.4), + accent: mat-color($td-teal, 200), + accent-highlight: rgba(mat-color($td-teal, 200), 0.1), + accent-highlight-hover: rgba(mat-color($td-teal, 200), 0.2), + emphasis: mat-color($mat-blue-grey, 200), + emphasis-highlight: rgba(mat-color($mat-blue-grey, 200), 0.1), + emphasis-highlight-hover: rgba(mat-color($mat-blue-grey, 200), 0.2), + caution: mat-color($mat-orange, 300), + caution-highlight: rgba(mat-color($mat-orange, 300), 0.1), + caution-highlight-hover: rgba(mat-color($mat-orange, 300), 0.2), + negative: mat-color($mat-red, 300), + negative-highlight: rgba(mat-color($mat-red, 300), 0.1), + negative-highlight-hover: rgba(mat-color($mat-red, 300), 0.2), + neutral: mat-color($mat-grey, 400), + neutral-highlight: rgba(mat-color($mat-grey, 400), 0.04), + neutral-highlight-hover: rgba(mat-color($mat-grey, 400), 0.08), + positive: mat-color($mat-green, 200), + positive-highlight: rgba(mat-color($mat-green, 200), 0.1), + positive-highlight-hover: rgba(mat-color($mat-green, 200), 0.2), + primary: mat-color($td-slate, 200), + primary-highlight: rgba(mat-color($td-slate, 500), 0.04), + primary-highlight-hover: rgba(mat-color($td-slate, 500), 0.08), +); + +// Foreground palette for light themes. +$td-light-theme-foreground: ( + base: black, + divider: $dark-dividers, + dividers: $dark-dividers, + disabled: $dark-disabled-text, + disabled-button: rgba(black, 0.26), + disabled-text: $dark-disabled-text, + elevation: black, + hint-text: $dark-disabled-text, + secondary-text: $dark-secondary-text, + icon: rgba(black, 0.54), + icons: rgba(black, 0.54), + text: rgba(black, 0.87), + slider-min: rgba(black, 0.87), + slider-off: rgba(black, 0.26), + slider-off-active: rgba(black, 0.38), + accent: mat-color($td-teal, 900), + emphasis: mat-color($mat-blue-grey, 600), + caution: mat-color($mat-amber, 800), + negative: mat-color($mat-red, 900), + neutral: mat-color($mat-grey, 400), + positive: mat-color($mat-green, 700), + primary: mat-color($td-slate, 800), +); + +// Background palette for dark themes. +$td-dark-theme-background: ( + status-bar: black, + app-bar: mat-color($td-slate, 1300), + background: mat-color($td-slate, 1500), + canvas: mat-color($td-slate, 1700), + card: mat-color($td-slate, 1100) /*** card color = surface color ***/, + dialog: mat-color($td-slate, 1100), + hover: rgba(255, 255, 255, 0.04), + disabled-button: rgba(mat-color($td-slate, 800), 0.4), + raised-button: mat-color($td-slate, 800), + focused-button: rgba(255, 255, 255, 0.12), + selected-button: #212121, + selected-disabled-button: mat-color($td-slate, 800), + disabled-button-toggle: black, + unselected-chip: mat-color($td-slate, 800), + disabled-list-option: black, + tooltip: #616161, + overlay: rgba(0, 0, 0, 0.4), + accent: mat-color($td-teal, 1200), + accent-highlight: rgba(mat-color($td-teal, 1200), 0.4), + accent-highlight-hover: rgba(mat-color($td-teal, 1200), 0.6), + emphasis: #4f5558, + emphasis-highlight: rgba(mat-color($td-slate, 200), 0.4), + emphasis-highlight-hover: rgba(mat-color($td-slate, 200), 0.6), + caution: #704c16, + caution-highlight: rgba(#704c16, 0.4), + caution-highlight-hover: rgba(#704c16, 0.6), + negative: #883e32, + negative-highlight: rgba(#883e32, 0.4), + negative-highlight-hover: rgba(#883e32, 0.6), + neutral: mat-color($td-slate, 800), + neutral-highlight: rgba(mat-color($td-slate, 800), 0.4), + neutral-highlight-hover: rgba(mat-color($td-slate, 800), 0.6), + positive: #336033, + positive-highlight: rgba(#336033, 0.4), + positive-highlight-hover: rgba(#336033, 0.6), + primary: mat-color($td-slate, 900), + primary-highlight: rgba(mat-color($td-slate, 900), 0.4), + primary-highlight-hover: rgba(mat-color($td-slate, 900), 0.6), +); + +// Foreground palette for dark themes. +$td-dark-theme-foreground: ( + base: white, + divider: $light-dividers, + dividers: $light-dividers, + disabled: $light-disabled-text, + disabled-button: rgba(white, 0.3), + disabled-text: $light-disabled-text, + elevation: black, + hint-text: $light-disabled-text, + secondary-text: $light-secondary-text, + icon: white, + icons: white, + text: white, + slider-min: white, + slider-off: rgba(white, 0.3), + slider-off-active: rgba(white, 0.3), + accent: mat-color($td-teal, 300), + emphasis: mat-color($mat-blue-grey, 200), + caution: mat-color($mat-orange, 300), + negative: mat-color($mat-red, 400), + neutral: rgba(white, 0.87), + positive: mat-color($mat-green, 300), + primary: mat-color($td-slate, 200), +); + body { // Slate .bgc-td-slate, diff --git a/apps/docs-app/src/app/components/home/home.component.html b/apps/docs-app/src/app/components/home/home.component.html index 148921cf80..53e4bc345a 100644 --- a/apps/docs-app/src/app/components/home/home.component.html +++ b/apps/docs-app/src/app/components/home/home.component.html @@ -26,9 +26,7 @@ hide-gt-sm >