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.
55 lines
1.9 KiB
SCSS
55 lines
1.9 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;
|
|
|
|
/*
|
|
* Replace the default font with Inter.
|
|
*
|
|
* 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
|
|
* and adds "Inter" to the front.
|
|
*
|
|
* The font itself is loaded via stylesheet link layouts/partials/hooks/head-end.html.
|
|
*/
|
|
$font-family-sans-serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", 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;
|