You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
2.0 KiB
SCSS
57 lines
2.0 KiB
SCSS
/*
|
|
Copyright 2020, 2021 The Matrix.org Foundation C.I.C.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
$primary: #FFF;
|
|
$secondary: #0098D4;
|
|
$dark: #333;
|
|
$gray-100: #FBFBFB;
|
|
|
|
$secondary-background: #E5F5FB;
|
|
$secondary-lighter-background: #F4FAFC;
|
|
$secondary-lightest-background: #FBFDFD;
|
|
|
|
|
|
$warning: #FF6666;
|
|
$note: $secondary;
|
|
|
|
$note-background: $secondary-background;
|
|
$warning-background: #FFE0E0;
|
|
|
|
// colours for definition tables.
|
|
// the border colour matches that used for "highlight" divs
|
|
$table-border-color: rgba(black, .125);
|
|
$table-bg: $secondary-lightest-background;
|
|
|
|
/* Configure docsy to use the default system fonts instead of Google Fonts.
|
|
* See https://www.docsy.dev/docs/adding-content/lookandfeel/#fonts */
|
|
$td-enable-google-fonts: false;
|
|
|
|
/*
|
|
* The $font-family-sans-serif definition here overrides the default value set by docsy
|
|
* (https://github.com/matrix-org/docsy/blob/66a4e61d2d34edc7196b9df83a7d09cd4af14b47/assets/scss/_variables.scss#L68)
|
|
*/
|
|
$font-family-sans-serif:
|
|
// Add "Inter" to the front, making it the default. The font itself is loaded via stylesheet
|
|
// links in layouts/partials/hooks/head-end.html.
|
|
"Inter",
|
|
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
|
|
// Insert fonts suited for mathematical symbols on different platforms before "Arial"
|
|
"STIX Two Math", "Cambria Math", "Noto Sans Math", "Dejavu Sans",
|
|
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
|
|
// Disable smooth scrolling as it makes TOC highlighting jump during the transition.
|
|
$enable-smooth-scroll: false;
|