diff --git a/resources/components/reducemotion.less b/resources/components/reducemotion.less new file mode 100644 index 00000000..b58707c6 --- /dev/null +++ b/resources/components/reducemotion.less @@ -0,0 +1,14 @@ +// +// Citizen - Reduce motion Styles +// https://starcitizen.tools +// + +@media (prefers-reduced-motion: reduce) { + + *, + *::before, + *::after { + animation-duration: 0.001s !important; + transition-duration: 0.001s !important; + } +} \ No newline at end of file diff --git a/resources/screen.less b/resources/screen.less index 0a0e231c..6e55a48b 100644 --- a/resources/screen.less +++ b/resources/screen.less @@ -10,4 +10,5 @@ @import 'components/footer.less'; @import 'components/bottombar.less'; @import 'components/scrollbar.less'; -@import 'components/darkmode.less'; \ No newline at end of file +@import 'components/darkmode.less'; +@import 'components/reducemotion.less'; diff --git a/skin.json b/skin.json index cf9b2a7e..a20c290d 100644 --- a/skin.json +++ b/skin.json @@ -1,6 +1,7 @@ { "name": "Citizen", "namemsg": "skinname-citizen", + "version": "1.0.0", "author": "alistair3149", "url": "https://starcitizen.tools", "descriptionmsg": "citizen-desc",