2020-06-10 01:55:06 +00:00
|
|
|
// Import Gutenberg variables
|
|
|
|
@import 'node_modules/@wordpress/base-styles/colors';
|
|
|
|
@import 'node_modules/@wordpress/base-styles/variables';
|
|
|
|
@import 'node_modules/@wordpress/base-styles/mixins';
|
|
|
|
@import 'node_modules/@wordpress/base-styles/breakpoints';
|
|
|
|
@import 'node_modules/@wordpress/base-styles/animations';
|
|
|
|
@import 'node_modules/@wordpress/base-styles/z-index';
|
2018-07-16 13:53:38 +00:00
|
|
|
|
2018-09-11 07:27:13 +00:00
|
|
|
$fallback-gutter: 24px;
|
|
|
|
$fallback-gutter-large: 40px;
|
2018-07-16 13:53:38 +00:00
|
|
|
$gutter: var(--main-gap);
|
2018-08-08 22:11:54 +00:00
|
|
|
$gutter-large: var(--large-gap);
|
2018-07-16 13:53:38 +00:00
|
|
|
|
2018-08-08 22:11:54 +00:00
|
|
|
$gap-largest: 40px;
|
2018-08-23 18:21:04 +00:00
|
|
|
$gap-larger: 36px;
|
2018-07-16 13:53:38 +00:00
|
|
|
$gap-large: 24px;
|
|
|
|
$gap: 16px;
|
|
|
|
$gap-small: 12px;
|
2018-08-01 16:00:45 +00:00
|
|
|
$gap-smaller: 8px;
|
2018-07-16 13:53:38 +00:00
|
|
|
$gap-smallest: 4px;
|
|
|
|
|
2019-04-30 09:43:55 +00:00
|
|
|
// Header
|
2019-07-04 15:58:08 +00:00
|
|
|
$header-height: 56px;
|
2019-04-30 09:43:55 +00:00
|
|
|
|
2019-07-18 10:11:21 +00:00
|
|
|
// Sidebar
|
|
|
|
$sidebar-width: 272px;
|
|
|
|
|
2019-02-06 06:41:53 +00:00
|
|
|
// @todo Remove this spacing variable
|
2018-07-16 13:53:38 +00:00
|
|
|
$spacing: 16px;
|
2018-07-20 03:40:15 +00:00
|
|
|
|
2019-11-22 00:19:37 +00:00
|
|
|
// Gutenberg variable overrides.
|
2019-08-29 16:07:56 +00:00
|
|
|
$white: $studio-white;
|
|
|
|
$black: $studio-black;
|
2019-08-15 16:51:21 +00:00
|
|
|
$light-gray-100: $core-grey-light-100;
|
|
|
|
$light-gray-200: $core-grey-light-200;
|
|
|
|
$light-gray-300: $core-grey-light-300;
|
|
|
|
$light-gray-400: $core-grey-light-400;
|
2018-07-20 03:40:15 +00:00
|
|
|
$light-gray-500: $core-grey-light-500;
|
2019-08-15 16:51:21 +00:00
|
|
|
$light-gray-600: $core-grey-light-600;
|
|
|
|
$light-gray-700: $core-grey-light-700;
|
|
|
|
$light-gray-800: $core-grey-light-800;
|
|
|
|
$light-gray-900: $core-grey-light-900;
|
|
|
|
$dark-gray-100: $core-grey-dark-100;
|
|
|
|
$dark-gray-200: $core-grey-dark-200;
|
|
|
|
$dark-gray-300: $core-grey-dark-300; // This & below have 4.5+ contrast against white
|
|
|
|
$dark-gray-400: $core-grey-dark-400;
|
|
|
|
$dark-gray-500: $core-grey-dark-500;
|
|
|
|
$dark-gray-600: $core-grey-dark-600;
|
2019-07-23 03:26:46 +00:00
|
|
|
$dark-gray-700: $core-grey-dark-700;
|
2019-08-15 16:51:21 +00:00
|
|
|
$dark-gray-800: $core-grey-dark-800;
|
2018-07-20 03:40:15 +00:00
|
|
|
$dark-gray-900: $core-grey-dark-900;
|
|
|
|
$alert-red: $error-red;
|
2019-08-15 16:51:21 +00:00
|
|
|
$alert-yellow: $notice-yellow;
|
|
|
|
$alert-green: $valid-green;
|
2018-12-25 04:34:24 +00:00
|
|
|
|
|
|
|
// WordPress defaults
|
|
|
|
$adminbar-height: 32px;
|
|
|
|
$adminbar-height-mobile: 46px;
|
2019-05-22 08:38:25 +00:00
|
|
|
|
2019-08-29 16:07:56 +00:00
|
|
|
// wp-admin colors
|
|
|
|
$wp-admin-background: #f1f1f1;
|
|
|
|
$wp-admin-sidebar: #24292d;
|
|
|
|
|
2019-05-22 08:38:25 +00:00
|
|
|
// Muriel
|
2019-05-22 16:19:56 +00:00
|
|
|
$muriel-box-shadow-1dp: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14),
|
2019-05-22 08:38:25 +00:00
|
|
|
0 1px 3px 0 rgba(0, 0, 0, 0.12);
|
2019-08-21 06:41:42 +00:00
|
|
|
$muriel-box-shadow-6dp: 0 3px 5px rgba(0, 0, 0, 0.2), 0 1px 18px rgba(0, 0, 0, 0.12),
|
|
|
|
0 6px 10px rgba(0, 0, 0, 0.14);
|
2019-05-22 16:19:56 +00:00
|
|
|
$muriel-box-shadow-8dp: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
|
|
0 3px 14px 2px rgba(0, 0, 0, 0.12);
|