diff --git a/components/header/header.styles.ts b/components/header/header.styles.ts index e98945a..9b919e2 100644 --- a/components/header/header.styles.ts +++ b/components/header/header.styles.ts @@ -31,19 +31,19 @@ export const styles = css` } .header.border-bottom { - border-bottom: var(--hot-divider-border-bottom) solid var(--sl-color-neutral-50); + border-bottom: var(--sl-spacing-3x-small) solid var(--sl-color-neutral-50); } .header--size-small { - height: var(--hot-height-small); + height: var(--sl-spacing-4x-large); } .header--size-medium { - height: var(--hot-height-medium); + height: calc(var(--sl-spacing-4x-large) * 2); } .header--size-large { - height: var(--hot-height-large); + height: calc(var(--sl-spacing-4x-large) * 4); } .header--link { diff --git a/components/header/header.ts b/components/header/header.ts index 019d80b..03ef349 100644 --- a/components/header/header.ts +++ b/components/header/header.ts @@ -1,5 +1,4 @@ import "../../theme/hot-sl.css"; -import "../../theme/hot.css"; import "@shoelace-style/shoelace/dist/components/icon-button/icon-button.js"; import "@shoelace-style/shoelace/dist/components/tab-panel/tab-panel.js"; diff --git a/components/logo/logo.styles.ts b/components/logo/logo.styles.ts index 0cd52e8..8f480e4 100644 --- a/components/logo/logo.styles.ts +++ b/components/logo/logo.styles.ts @@ -3,5 +3,6 @@ import { css } from 'lit'; export default css` .logo { line-height: 0; + height: var(--sl-spacing-3x-large) } ` \ No newline at end of file diff --git a/theme/hot-sl.css b/theme/hot-sl.css index f566c0e..965c24c 100644 --- a/theme/hot-sl.css +++ b/theme/hot-sl.css @@ -6,86 +6,189 @@ :root, :host, .sl-theme-light { - --sl-color-primary-950: #b9302d; - --sl-color-primary-900: #b9302d; - --sl-color-primary-800: #c93938; - --sl-color-primary-700: #d63f3f; - --sl-color-primary-600: #e84846; - --sl-color-primary-500: #f75047; - --sl-color-primary-400: #f15f5e; - --sl-color-primary-300: #e67c7e; - --sl-color-primary-200: #efa0a2; - --sl-color-primary-100: #fed1d7; - --sl-color-primary-50: #feecf0; - - --sl-color-danger-950: #5b1018; - --sl-color-danger-900: #5b1018; - --sl-color-danger-800: #6c2020; - --sl-color-danger-700: #7c2e26; - --sl-color-danger-600: #8d3a2f; - --sl-color-danger-500: #994335; - --sl-color-danger-400: #b15e4e; - --sl-color-danger-300: #c87968; - --sl-color-danger-200: #e69b8c; - --sl-color-danger-100: #ffbead; - --sl-color-danger-50: #ffdec8; - - --sl-color-neutral-950: #2c3038; - --sl-color-neutral-900: #2c3038; - --sl-color-neutral-800: #3f444f; - --sl-color-neutral-700: #4f5765; - --sl-color-neutral-600: #606a7c; - --sl-color-neutral-500: #6e798d; - --sl-color-neutral-400: #848c9d; - --sl-color-neutral-300: #9aa1af; - --sl-color-neutral-200: #b7bcc5; - --sl-color-neutral-100: #d3d7dc; - --sl-color-neutral-50: #eeeef0; - - --sl-color-success-950: #105950; - --sl-color-success-900: #105950; - --sl-color-success-800: #15766e; - --sl-color-success-700: #17867e; - --sl-color-success-600: #1a978f; - --sl-color-success-500: #1da49d; - --sl-color-success-400: #34b3ad; - --sl-color-success-300: #57c1bd; - --sl-color-success-200: #87d3d1; - --sl-color-success-100: #b7e4e3; - --sl-color-success-50: #e2f4f4; - - --sl-color-warning-950: #ef7e1a; - --sl-color-warning-900: #ef7e1a; - --sl-color-warning-800: #f4a628; - --sl-color-warning-700: #f6bd30; - --sl-color-warning-600: #f9d538; - --sl-color-warning-500: #f7e53a; - --sl-color-warning-400: #faea58; - --sl-color-warning-300: #fcef77; - --sl-color-warning-200: #fdf39d; - --sl-color-warning-100: #fef8c4; - --sl-color-warning-50: #fefde7; - - /* Spacings */ - - --sl-spacing-3x-small: 0.125rem; /* 2px */ - --sl-spacing-2x-small: 0.25rem; /* 4px */ - --sl-spacing-x-small: 0.5rem; /* 8px */ - --sl-spacing-small: 0.75rem; /* 12px */ - --sl-spacing-medium: 1rem; /* 16px */ - --sl-spacing-large: 1.25rem; /* 20px */ - --sl-spacing-x-large: 1.75rem; /* 28px */ - --sl-spacing-2x-large: 2.25rem; /* 36px */ - --sl-spacing-3x-large: 3rem; /* 48px */ - --sl-spacing-4x-large: 4.5rem; /* 72px */ + + /* + * Color primitives + */ + + /* red - red */ + + --sl-color-red-950: #a52a28; + --sl-color-red-900: #b9302d; + --sl-color-red-800: #c93938; + --sl-color-red-700: #d73f3f; + --sl-color-red-600: #e84846; + --sl-color-red-500: #f75047; + --sl-color-red-400: #f15f5e; + --sl-color-red-300: #e67c7e; + --sl-color-red-200: #efa0a2; + --sl-color-red-100: #fed1d7; + --sl-color-red-50: #feecf0; + + /* rose - persian plum */ + + --sl-color-rose-950: #6c2020; + --sl-color-rose-900: #7A3632; + --sl-color-rose-800: #864740; + --sl-color-rose-700: #92584F; + --sl-color-rose-600: #9E6960; + --sl-color-rose-500: #AB7B71; + --sl-color-rose-400: #B79086; + --sl-color-rose-300: #C6A59E; + --sl-color-rose-200: #D5BDB7; + --sl-color-rose-100: #E3D5CF; + --sl-color-rose-50: #F4EFED; + + /* yellow - bright yellow */ + + --sl-yellow-950: #FAA71E; + --sl-yellow-900: #FCB343; + --sl-yellow-800: #FDBA58; + --sl-yellow-700: #FDC26D; + --sl-yellow-600: #FECA7F; + --sl-yellow-500: #FED293; + --sl-yellow-400: #FFDAA6; + --sl-yellow-300: #FFE2BA; + --sl-yellow-200: #FFEBCF; + --sl-yellow-100: #FFF3E3; + --sl-yellow-50: #FFF9F3; + + /* blue - space cadet */ + + --sl-blue-950: #20365B; + --sl-blue-900: #374668; + --sl-blue-800: #4A5374; + --sl-blue-700: #5A607E; + --sl-blue-600: #70718D; + --sl-blue-500: #82839C; + --sl-blue-400: #9595AA; + --sl-blue-300: #ACACBC; + --sl-blue-200: #C1C1CD; + --sl-blue-100: #DADADF; + --sl-blue-50: #F1EFF2; + + /* cyan - cadet blue */ + + --sl-blue-950: #259592; + --sl-blue-900: #49AFAC; + --sl-blue-800: #57C1BE; + --sl-blue-700: #7DCFCD; + --sl-blue-600: #8CD5D3; + --sl-blue-500: #9DDBD9; + --sl-blue-400: #B0E2E1; + --sl-blue-300: #C4EAE9; + --sl-blue-200: #D5F0EF; + --sl-blue-100: #E6F6F5; + --sl-blue-50: #F5FBFB; + + /* cyan - cadet blue */ + + --sl-cyan-950: #259592; + --sl-cyan-900: #49AFAC; + --sl-cyan-800: #57C1BE; + --sl-cyan-700: #7DCFCD; + --sl-cyan-600: #8CD5D3; + --sl-cyan-500: #9DDBD9; + --sl-cyan-400: #B0E2E1; + --sl-cyan-300: #C4EAE9; + --sl-cyan-200: #D5F0EF; + --sl-cyan-100: #E6F6F5; + --sl-cyan-50: #F5FBFB; + + /* gray - dark slate gray */ + + --sl-gray-950: #2C3038; + --sl-gray-900: #404248; + --sl-gray-800: #515057; + --sl-gray-700: #615F66; + --sl-gray-600: #716F73; + --sl-gray-500: #828085; + --sl-gray-400: #9A969B; + --sl-gray-300: #B3B0B3; + --sl-gray-200: #C4C3C5; + --sl-gray-100: #E1E0E1; + --sl-gray-50: #F3F3F3; + + /* neutral - black & white */ + + --sl-neutral-1000: #000; + --sl-neutral-0: #fff; + + /* + * Color tokens + */ + + --sl-color-primary-950: var(--sl-color-red-950); + --sl-color-primary-900: var(--sl-color-red-900); + --sl-color-primary-800: var(--sl-color-red-800); + --sl-color-primary-700: var(--sl-color-red-700); + --sl-color-primary-600: var(--sl-color-red-600); + --sl-color-primary-500: var(--sl-color-red-500); + --sl-color-primary-400: var(--sl-color-red-400); + --sl-color-primary-300: var(--sl-color-red-300); + --sl-color-primary-200: var(--sl-color-red-200); + --sl-color-primary-100: var(--sl-color-red-100); + --sl-color-primary-50: var(--sl-color-red-50); + + --sl-color-danger-950: var(--sl-color-rose-950); + --sl-color-danger-900: var(--sl-color-rose-900); + --sl-color-danger-800: var(--sl-color-rose-800); + --sl-color-danger-700: var(--sl-color-rose-700); + --sl-color-danger-600: var(--sl-color-rose-600); + --sl-color-danger-500: var(--sl-color-rose-500); + --sl-color-danger-400: var(--sl-color-rose-400); + --sl-color-danger-300: var(--sl-color-rose-300); + --sl-color-danger-200: var(--sl-color-rose-200); + --sl-color-danger-100: var(--sl-color-rose-100); + --sl-color-danger-50: var(--sl-color-rose-50); + + --sl-color-neutral-950: var(--sl-color-gray-950); + --sl-color-neutral-900: var(--sl-color-gray-900); + --sl-color-neutral-800: var(--sl-color-gray-800); + --sl-color-neutral-700: var(--sl-color-gray-700); + --sl-color-neutral-600: var(--sl-color-gray-600); + --sl-color-neutral-500: var(--sl-color-gray-500); + --sl-color-neutral-400: var(--sl-color-gray-400); + --sl-color-neutral-300: var(--sl-color-gray-300); + --sl-color-neutral-200: var(--sl-color-gray-200); + --sl-color-neutral-100: var(--sl-color-gray-100); + --sl-color-neutral-50: var(--sl-color-gray-50); + + --sl-color-success-950: var(--sl-color-cyan-950); + --sl-color-success-900: var(--sl-color-cyan-900); + --sl-color-success-800: var(--sl-color-cyan-800); + --sl-color-success-700: var(--sl-color-cyan-700); + --sl-color-success-600: var(--sl-color-cyan-600); + --sl-color-success-500: var(--sl-color-cyan-500); + --sl-color-success-400: var(--sl-color-cyan-400); + --sl-color-success-300: var(--sl-color-cyan-300); + --sl-color-success-200: var(--sl-color-cyan-200); + --sl-color-success-100: var(--sl-color-cyan-100); + --sl-color-success-50: var(--sl-color-cyan-50); + + --sl-color-warning-950: var(--sl-color-yellow-950); + --sl-color-warning-900: var(--sl-color-yellow-900); + --sl-color-warning-800: var(--sl-color-yellow-800); + --sl-color-warning-700: var(--sl-color-yellow-700); + --sl-color-warning-600: var(--sl-color-yellow-600); + --sl-color-warning-500: var(--sl-color-yellow-500); + --sl-color-warning-400: var(--sl-color-yellow-400); + --sl-color-warning-300: var(--sl-color-yellow-300); + --sl-color-warning-200: var(--sl-color-yellow-200); + --sl-color-warning-100: var(--sl-color-yellow-100); + --sl-color-warning-50: var(--sl-color-yellow-50); /* * Typography */ /* Fonts */ - --sl-font-sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, - 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; + --sl-font-sans: Archivo, -apple-system, Roboto, Helvetica, Arial, sans-serif, + 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; + --sl-font-sans-variant: 'Barlow Condensed'; + --sl-font-sefif: Georgia, 'Times New Roman', serif; + --sl-font-mono: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; + } diff --git a/theme/hot.css b/theme/hot.css deleted file mode 100644 index 4e3d93d..0000000 --- a/theme/hot.css +++ /dev/null @@ -1,15 +0,0 @@ - -/* HOT theme */ - -:root, -:host, -.hot-theme { - - --hot-divider-border-bottom: 2px; - --hot-divider-border-bottom: 2px; - --hot-height-small: 5rem; - --hot-height-medium: 8rem; - --hot-height-large: 20rem; - -} -