WordPress/wp-content/themes/twentytwenty
Sergey Biryukov 0f971e68ec Twenty Twenty: Replace Smooth Scroll JS implementation with `scroll-behavior` CSS property.
The JS implementation had multiple issues and did not work as expected.

This change includes an accessibility enhancement by using `prefers-reduced-motion: reduce` media query property for users that don't want motion effects. For further explanation on this media query, see MDN documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior#Accessibility_concerns

Props audrasjb, melchoyce, joostdevalk, Anlino, mauteri, sergiomdgomes, littlebigthing, williampatton, netweb, andraganescu, joyously, acosmin, mukesh27, hareesh-pillai.
Fixes #48763, #48551, #48866.
Built from https://develop.svn.wordpress.org/trunk@46824


git-svn-id: http://core.svn.wordpress.org/trunk@46624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-07 11:05:01 +00:00
..
assets Twenty Twenty: Replace Smooth Scroll JS implementation with `scroll-behavior` CSS property. 2019-12-07 11:05:01 +00:00
classes Bundled Themes: Adds Customizer option to show or hide author bio Twenty Twenty. 2019-12-04 15:59:03 +00:00
inc Bundled Themes: Update Twenty Twenty. 2019-11-11 12:29:01 +00:00
template-parts Bundled Themes: Adds Customizer option to show or hide author bio Twenty Twenty. 2019-12-04 15:59:03 +00:00
templates Bundled Themes: Update Twenty Twenty. 2019-10-08 19:08:07 +00:00
.stylelintrc.json Ensure `svn:eol-style` is consistently set for all files (part 2). 2019-10-25 19:29:04 +00:00
404.php Bundled Themes: Update Twenty Twenty. 2019-10-08 19:08:07 +00:00
comments.php Bundled Themes: Update Twenty Twenty. 2019-10-29 14:55:05 +00:00
footer.php Bundled Themes: Update Twenty Twenty. 2019-11-11 12:29:01 +00:00
functions.php Bundled Themes: Update Twenty Twenty. 2019-11-12 18:24:03 +00:00
header.php Bundled Themes: Update Twenty Twenty. 2019-10-15 18:47:02 +00:00
index.php Bundled Themes: Update Twenty Twenty. 2019-10-08 19:08:07 +00:00
package-lock.json Bundled Themes: Update Twenty Twenty. 2019-10-08 19:08:07 +00:00
package.json Bundled Themes: Update Twenty Twenty. 2019-10-08 19:08:07 +00:00
print.css Bundled Themes: Update Twenty Twenty. 2019-11-11 12:29:01 +00:00
readme.txt Bundled Themes: Update copyright year in `readme.txt` for Twenty Twelve and Twenty Twenty. 2019-11-12 17:51:02 +00:00
screenshot.png Bundled Themes: Update Twenty Twenty. 2019-10-29 14:55:05 +00:00
searchform.php Bundled Themes: Update Twenty Twenty. 2019-10-08 19:08:07 +00:00
singular.php Bundled Themes: Update Twenty Twenty. 2019-10-08 19:08:07 +00:00
style-rtl.css Twenty Twenty: Replace Smooth Scroll JS implementation with `scroll-behavior` CSS property. 2019-12-07 11:05:01 +00:00
style.css Twenty Twenty: Replace Smooth Scroll JS implementation with `scroll-behavior` CSS property. 2019-12-07 11:05:01 +00:00

readme.txt

=== Twenty Twenty ===
Contributors: the WordPress team
Tested up to: 5.3
Stable tag: 1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Default theme for 2020.

== Description ==

Our default theme for 2020 is designed to take full advantage of the 
flexibility of the block editor. Organizations and businesses have the 
ability to create dynamic landing pages with endless layouts using the 
group and column blocks. The centered content column and fine-tuned 
typography also makes it perfect for traditional blogs. Complete editor 
styles give you a good idea of what your content will look like, even 
before you publish. You can give your site a personal touch by changing 
the background colors and the accent color in the Customizer. The colors of 
all elements on your site are automatically calculated based on the colors 
you pick, ensuring a high, accessible color contrast for your visitors.

== Changelog ==

== Copyright ==

Twenty Twenty WordPress Theme, Copyright 2019 WordPress.org
Twenty Twenty is distributed under the terms of the GNU GPL.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

Twenty Twenty is derived from the Chaplin Theme, Copyright 2019 Anders Norén
Chaplin Theme is distributed under the terms of the GNU GPL version 2.0

Twenty Twenty bundles the following third-party resources:

Illustrations in screenshot.png by Tammie Lister
License: Creative Commons Zero (CC0), https://creativecommons.org/publicdomain/zero/1.0/  

Inter Font
Copyright (c) 2016-2019 The Inter Project Authors (me@rsms.me)
License: SIL Open Font License, 1.1, https://opensource.org/licenses/OFL-1.1
Source: https://rsms.me/inter/

Bespoke Icons Created For Twenty Twenty
License: Creative Commons Zero (CC0), https://creativecommons.org/publicdomain/zero/1.0/
List of bespoke icons:
- Search icon
- Menu icon

Feather Icons
Copyright (c) 2013-2017 Cole Bemis
License: MIT License, https://opensource.org/licenses/MIT
Source: https://feathericons.com
Used for post meta icons, and the link icon in the social menu.

Social Icons
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Source: WordPress Social Link Block (See wp-includes\blocks\social-link.php)

Code from Twenty Nineteen
Copyright (c) 2018-2019 WordPress.org
License: GPLv2
Source: https://wordpress.org/themes/twentynineteen/
Included as part of the following classes and functions:
- TwentyTwenty_SVG_Icons
- twentytwenty_the_theme_svg()
- twentytwenty_get_theme_svg()
- twentytwenty_nav_menu_social_icons()

Code from Twenty Seventeen
Copyright (c) 2016-2019 WordPress.org
License: GPLv2
Source: https://wordpress.org/themes/twentyseventeen/
Included as part of the following classes and functions:
- twentytwenty_unique_id()

Underscores 
https://underscores.me/, (C) 2012-2019 Automattic, Inc., [GPLv2 or later](https://www.gnu.org/licenses/gpl-2.0.html)