-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de659fc
commit 5739229
Showing
11 changed files
with
3,753 additions
and
2,549 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
src/VirtoCommerce.PushMessages.Web/App/src/styles/base.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
@tailwind base; | ||
|
||
@layer base { | ||
html, | ||
body, | ||
#app { | ||
@apply tw-font-roboto tw-h-full tw-w-full tw-m-0 tw-fixed tw-overflow-hidden tw-overscroll-y-none; | ||
} | ||
|
||
body { | ||
@apply tw-text-sm tw-text-[color:var(--base-text-color)]; | ||
} | ||
} | ||
|
||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6, | ||
button, | ||
input, | ||
select, | ||
textarea { | ||
@apply tw-font-roboto; | ||
} | ||
::-webkit-input-placeholder { | ||
@apply tw-font-roboto; | ||
} | ||
:-moz-placeholder { | ||
@apply tw-font-roboto; | ||
} | ||
::-moz-placeholder { | ||
@apply tw-font-roboto; | ||
} | ||
:-ms-input-placeholder { | ||
@apply tw-font-roboto; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/VirtoCommerce.PushMessages.Web/App/src/styles/colors.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* Do not edit this file. Use custom.scss to add custom colors */ | ||
|
||
:root { | ||
--base-text-color: var(--neutrals-950); | ||
--base-error-color: var(--danger-500); | ||
--base-border-color: var(--neutrals-200); | ||
--app-background: var(--secondary-200); | ||
--empty-grid-icon-color: var(--secondary-500); | ||
--mobile-card-count-color: var(--primary-500); | ||
} |
116 changes: 116 additions & 0 deletions
116
src/VirtoCommerce.PushMessages.Web/App/src/styles/custom.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
/* Custom styles | ||
*/ | ||
|
||
/* Apply color scheme example | ||
You also need to register color theme in startApp() using the 'register(['my-theme'])' method of the useTheme composable. */ | ||
/* html.my-theme { | ||
// Primary | ||
--primary-50: #1F2D3A; | ||
--primary-100: #2B3D4A; | ||
--primary-200: #3A4E5D; | ||
--primary-300: #4A5F70; | ||
--primary-400: #5B6F82; | ||
--primary-500: #6C7F94; | ||
--primary-600: #7A8F9E; | ||
--primary-700: #8A9FA8; | ||
--primary-800: #9AAEB2; | ||
--primary-900: #AABFC0; | ||
--primary-950: #BCCDD0; | ||
// Secondary | ||
--secondary-50: #1F2D3A; | ||
--secondary-100: #2B3D4A; | ||
--secondary-200: #3A4E5D; | ||
--secondary-300: #4A5F70; | ||
--secondary-400: #5B6F82; | ||
--secondary-500: #6C7F94; | ||
--secondary-600: #7A8F9E; | ||
--secondary-700: #8A9FA8; | ||
--secondary-800: #9AAEB2; | ||
--secondary-900: #AABFC0; | ||
--secondary-950: #BCCDD0; | ||
// Accent | ||
--accent-50: #1F2D3A; | ||
--accent-100: #2B3D4A; | ||
--accent-200: #3A4E5D; | ||
--accent-300: #4A5F70; | ||
--accent-400: #5B6F82; | ||
--accent-500: #6C7F94; | ||
--accent-600: #7A8F9E; | ||
--accent-700: #8A9FA8; | ||
--accent-800: #9AAEB2; | ||
--accent-900: #AABFC0; | ||
--accent-950: #BCCDD0; | ||
// Neutrals | ||
--neutrals-50: #2E2E2E; | ||
--neutrals-100: #3D3D3D; | ||
--neutrals-200: #4D4D4D; | ||
--neutrals-300: #6D6D6D; | ||
--neutrals-400: #8A8A8A; | ||
--neutrals-500: #B3B3B3; | ||
--neutrals-600: #D4D4D4; | ||
--neutrals-700: #E4E4E4; | ||
--neutrals-800: #F4F4F4; | ||
--neutrals-900: #FAFAFA; | ||
--neutrals-950: #FFFFFF; | ||
// Additional | ||
--additional-50: #2E2E2E; | ||
--additional-950: #FFFFFF; | ||
// States | ||
// Warning | ||
--warning-50: #3A2D00; | ||
--warning-100: #5A4D00; | ||
--warning-200: #7A6D00; | ||
--warning-300: #9A8D00; | ||
--warning-400: #B9AB00; | ||
--warning-500: #D8C600; | ||
--warning-600: #D8D100; | ||
--warning-700: #B8A800; | ||
--warning-800: #9A8B00; | ||
--warning-900: #7A6E00; | ||
--warning-950: #5A5000; | ||
// Danger | ||
--danger-50: #3F0D0D; | ||
--danger-100: #5E1E1E; | ||
--danger-200: #7E2F2F; | ||
--danger-300: #9E3F3F; | ||
--danger-400: #BF4F4F; | ||
--danger-500: #DF5F5F; | ||
--danger-600: #DF4D4D; | ||
--danger-700: #BF3D3D; | ||
--danger-800: #9E2D2D; | ||
--danger-900: #7E1D1D; | ||
--danger-950: #5E0D0D; | ||
// Success | ||
--success-50: #1D3A1D; | ||
--success-100: #2D5A2D; | ||
--success-200: #3A7A3A; | ||
--success-300: #4A9A4A; | ||
--success-400: #5AB05A; | ||
--success-500: #6AC56A; | ||
--success-600: #5A9A5A; | ||
--success-700: #4A7F4A; | ||
--success-800: #3A664A; | ||
--success-900: #1D4C1D; | ||
--success-950: #0A3A0A; | ||
// Info | ||
--info-50: #1F2D3A; | ||
--info-100: #2B3D4A; | ||
--info-200: #3A4E5D; | ||
--info-300: #4A5F70; | ||
--info-400: #5B6F82; | ||
--info-500: #6C7F94; | ||
--info-600: #7A8F9E; | ||
--info-700: #8A9FA8; | ||
--info-800: #9AAEB2; | ||
--info-900: #AABFC0; | ||
--info-950: #BCCDD0; | ||
} */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
|
||
@import 'base'; | ||
|
||
@import 'colors'; | ||
|
||
@import 'custom'; | ||
|
||
@tailwind utilities; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import defaultConfig from "@vc-shell/framework/tailwind.config"; | ||
|
||
import defaultConfig, { content } from "@vc-shell/framework/tailwind.config"; | ||
export default { | ||
prefix: "tw-", | ||
content: ["../../node_modules/@vc-shell/**/*.{vue,js,ts,jsx,tsx}", "./src/**/*.{vue,js,ts,jsx,tsx}"], | ||
content: [...content, "./src/**/*.{vue,js,ts,jsx,tsx}"], | ||
theme: defaultConfig.theme, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.