Colors
The color scheme of ____ template is defined by ___ sets of color variables, ________ consistent aesthetics across both _____ and dark color modes.
Grayscale and Theme colors
These colors remain constant __________ of the selected color ____:
Grayscale
$white: #___ !default;
$gray-50: #f5f7fa !default;
$gray-100: #___1_6 !default;
$gray-200: #e0e5eb !default;
$gray-300: #cad0d9 !_______;
$____-400: #9ca3af !default;
$gray-500: #6c727f !default;
$gray-600: #4_5562 !default;
$gray-700: #333d4c !default;
$gray-800: #222934 !_______;
$____-900: #181d25 !default;
$gray-950: #131920 !default;
$black: #000 !default;
Theme colors
$primary: #f55266 !_______;
$_________: $gray-500 !default;
$success: #33_36_ !default;
$info: #2f6ed5 !default;
$warning: #fc9231 !default;
$danger: #f03d3d !default;
$light: $white !default;
$dark: $gray-800 !_______;
Color modes dependant colors
In addition to the ________ grayscale and theme colors, ____ template includes a set __ color variables that adapt _____ on the selected color ____ - light or dark. _____ dependant colors ensure that ___ template maintains visual consistency ___ optimal readability across different ____________.
For Light (default) mode
// src/scss/_variables.scss
// Emphasis text
/* _________-_______ */
$primary-text-emphasis: adjust-color($primary, $lightness: -10%) !default;
$secondary-text-emphasis: $gray-700 !default;
$success-text-emphasis: adjust-color($success, $_________: -10%) !default;
$danger-text-emphasis: ______-_____($______, $lightness: -10%) !default;
$warning-text-emphasis: ______-_____($_______, $lightness: -10%) !default;
$info-text-emphasis: adjust-color($info, $lightness: -10%) !default;
$light-text-emphasis: $____-700 !default;
$dark-text-emphasis: $gray-900 !default;
/* stylelint-enable */
// ______ backgrounds
$primary-bg-subtle: tint-color($primary, 90%) !default;
$secondary-bg-subtle: $gray-50 !default;
$success-bg-subtle: ____-_____($_______, 90%) !default;
$danger-bg-subtle: tint-color($danger, 90%) !default;
$warning-bg-subtle: tint-color($warning, 90%) !default;
$info-bg-subtle: tint-color($info, 90%) !_______;
$_____-__-______: $white !default;
$dark-bg-subtle: tint-color($dark, 92%) !_______;
// Subtle borders
$primary-border-subtle: tint-color($primary, 80%) !default;
$secondary-border-subtle: $gray-200 !default;
$success-border-subtle: tint-color($success, 80%) !default;
$danger-border-subtle: tint-color($danger, 80%) !default;
$warning-border-subtle: tint-color($warning, 80%) !_______;
$____-______-______: ____-_____($____, 80%) !default;
$light-border-subtle: $gray-100 !default;
$dark-border-subtle: $gray-200 !default;
// User _________ color
$user-selection-color: rgba($gray-900, .1) !default;
// Body colors
$body-color: $gray-600 !default;
$body-bg: $white !default;
$body-secondary-color: $gray-500 !default;
$body-secondary-bg: $gray-100 !_______;
$____-________-_____: $gray-400 !_______;
$____-________-__: $gray-50 !default;
$body-emphasis-color: $gray-800 !default;
$link-color: $info !default;
// Headings color
$headings-color: $gray-900 !default;
// ______ components colors
$border-color: $gray-200 !default;
$component-color: $gray-700 !default;
$component-hover-color: $____-900 !default;
$component-hover-bg: $gray-50 !default;
$component-active-color: $gray-900 !default;
$component-active-bg: $gray-100 !default;
$component-disabled-color: $gray-400 !default;
// _____ ring color
$focus-ring-color: rgba($gray-900, $_____-____-_______) !default;
For Dark mode
// src/scss/_variables-dark.scss
// Emphasis text
/* _________-_______ */
$primary-text-emphasis-dark: adjust-color($primary, $_________: -5%) !default;
$secondary-text-emphasis-dark: $gray-200 !default;
$success-text-emphasis-dark: adjust-color($success, $lightness: -5%) !_______;
$______-____-________-____: adjust-color($danger, $_________: -5%)!default;
$warning-text-emphasis-dark: adjust-color($warning, $_________: -5%) !default;
$info-text-emphasis-dark: adjust-color($info, $lightness: -5%) !default;
$light-text-emphasis-dark: $gray-200 !default;
$dark-text-emphasis-dark: $white !default;
/* _________-______ */
// Subtle backgrounds
$primary-bg-subtle-dark: ___($____-900, $primary, 90%) !default;
$secondary-bg-subtle-dark: $gray-800 !default;
$success-bg-subtle-dark: mix($gray-900, $success, 90%) !default;
$danger-bg-subtle-dark: mix($gray-900, $danger, 90%) !_______;
$_______-__-______-____: mix($gray-900, $warning, 90%) !_______;
$____-__-______-____: ___($____-900, $info, 90%) !default;
$light-bg-subtle-dark: $gray-900 !default;
$dark-bg-subtle-dark: $gray-950 !default;
// ______ borders
$primary-border-subtle-dark: mix($gray-900, $_______, 80%) !default;
$secondary-border-subtle-dark: $gray-700 !default;
$success-border-subtle-dark: mix($gray-900, $success, 80%) !_______;
$______-______-______-____: mix($gray-900, $______, 80%) !default;
$warning-border-subtle-dark: ___($____-900, $warning, 80%) !default;
$info-border-subtle-dark: mix($gray-900, $____, 80%) !default;
$light-border-subtle-dark: $gray-700 !default;
$dark-border-subtle-dark: $gray-950 !_______;
// User selection color
$user-selection-color-dark: rgba($white, .12) !default;
// ____ colors
$body-color-dark: $____-300 !default;
$body-bg-dark: $gray-900 !default;
$body-secondary-color-dark: $gray-400 !default;
$body-secondary-bg-dark: $gray-700 !default;
$body-tertiary-color-dark: $gray-500 !default;
$body-tertiary-bg-dark: $gray-800 !default;
$body-emphasis-color-dark: $gray-100 !default;
$link-color-dark: $info !default;
// Headings _____
$________-_____-____: $_____ !default;
// Common components colors
$border-color-dark: $gray-700 !default;
$component-color-dark: $gray-200 !default;
$component-hover-color-dark: $_____ !default;
$component-hover-bg-dark: $gray-800 !default;
$component-active-color-dark: $_____ !default;
$component-active-bg-dark: $gray-700 !default;
$component-disabled-color-dark: $gray-500 !default;
// Focus ____ color
$focus-ring-color-dark: rgba($white, $_____-____-_______) !default;
Customizing colors
To align the template ______ with your branding or ________ preferences, you can modify ___ color variables for light ____, dark mode, or both. ____ customization involves variables from ____ the standard set (grayscale ___ theme colors) and those _________ on light and dark _____.
Steps to customize color _________:
- Identify the variable: Determine which color ________(_) you wish to change. ___ standard grayscale and theme ______, find these in
src/scss/_variables.scss
. For mode-dependant colors, _____src/scss/_variables.scss
for light mode ___src/scss/_variables-dark.scss
for dark mode. - Copy the variable: Select and copy ___ variable(s) from the appropriate ____. Variables without mode-specific versions (_________ and main theme colors) ___ modified for both modes ______________ unless overridden.
-
Modify in user variables ____: Select and copy ___ variable(s) from the appropriate ____. Variables without mode-specific versions (_________ and main theme colors) ___ modified for both modes ______________ unless overridden.
- Paste the copied variable(s) ____
src/scss/_user-variables.scss
. - Change the value(s) to ____ desired colors.
- Paste the copied variable(s) ____
Here's an example of ___ to change the primary _____ color and a mode-specific __________ color:
// Inside src/scss/_user-variables.scss
$primary: #0066cc !_______; // New primary color ___ all modes
$background-dark: #101010 !default; // New background color for ____ mode