{"id":18376899,"url":"https://github.com/bbc/gs-sass-tools","last_synced_at":"2025-09-11T12:40:23.871Z","repository":{"id":34939016,"uuid":"39011267","full_name":"bbc/gs-sass-tools","owner":"bbc","description":"A collection of Sass variables, functions and mixins, part of BBC Grandstand","archived":false,"fork":false,"pushed_at":"2020-06-04T14:47:36.000Z","size":69,"stargazers_count":16,"open_issues_count":2,"forks_count":2,"subscribers_count":144,"default_branch":"master","last_synced_at":"2025-06-17T03:03:14.698Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://bbc.github.io/grandstand/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-13T12:39:57.000Z","updated_at":"2021-07-25T07:09:29.000Z","dependencies_parsed_at":"2022-09-01T06:01:32.338Z","dependency_job_id":null,"html_url":"https://github.com/bbc/gs-sass-tools","commit_stats":null,"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"purl":"pkg:github/bbc/gs-sass-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbc%2Fgs-sass-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbc%2Fgs-sass-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbc%2Fgs-sass-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbc%2Fgs-sass-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbc","download_url":"https://codeload.github.com/bbc/gs-sass-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbc%2Fgs-sass-tools/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263215240,"owners_count":23431881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T00:25:20.645Z","updated_at":"2025-07-02T21:04:08.595Z","avatar_url":"https://github.com/bbc.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eGrandstand Sass Tools\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n    A collection of common Sass variables, functions and mixins.\u003cbr /\u003e\n    Forms part of \u003ca href=\"http://bbc.github.io/bbc-grandstand\" target=\"_blank\"\u003e\u003cb\u003eBBC Grandstand\u003c/b\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## What is this?\n\nGrandstand Sass Tools is a collection of common Sass variables, functions and mixins.\n\nThis library is built and maintained by the BBC Sport team and used by the [Grandstand Framework](http://bbc.github.io/bbc-grandstand/) and various components on BBC Sport website and within the BBC Live product.\n\n\n## Install using NPM (v6 and above)\n\n```bash\n$ npm install --save gs-sass-tools\n```\n\n```sass\n// your-app/main.scss\n@import 'node_modules/gs-sass-tools/sass-tools';\n```\n\n## Install using Bower (v5 and below)\n\n```bash\n$ bower install --save gs-sass-tools\n```\n\n```sass\n// your-app/main.scss\n@import 'bower_components/gs-sass-tools/sass-tools';\n```\n\n## GEL Foundations\n\nGrandstand Sass Tools is built on top of the GEL Foundations of:\n\n- [GEL Sass Tools](https://github.com/bbc/gel-sass-tools)\n- [GEL Typography](https://github.com/bbc/gel-typography)\n- [GEL Grid](https://github.com/bbc/gel-grid)\n\nThese three libraries are automatically included as part of this library and all of their functionality is available.\n\nFor specific details on any of these libraries please refer to their individual README files.\n\n## Settings\n\nSettings are collections of globally available variables which can be used in your app's SCSS files.\n\n### Global Variables\nThe global variables are primarily formed of the [GEL Sass Tools](https://github.com/bbc/gel-sass-tools).\n\n### Colour Palettes\nA number of products colour palettes are available as Sass variables:\n\n- [Generic Colours](https://github.com/bbc/gs-sass-tools/blob/master/settings/_generic-colours.scss)\n- [Sport](https://github.com/bbc/gs-sass-tools/blob/master/settings/_sport-colours.scss)\n- [News](https://github.com/bbc/gs-sass-tools/blob/master/settings/_news-colours.scss)\n- [MyBBC](https://github.com/bbc/gs-sass-tools/blob/master/settings/_mybbc-colours.scss)\n- [Newsround](https://github.com/bbc/gs-sass-tools/blob/master/settings/_newsround-colours.scss)\n\n## Tools\n\nA number of Sass Mixins \u0026 Functions are available:\n\n- [Clearfix](https://github.com/bbc/gs-sass-tools/blob/master/tools/_clearfix.scss) - A simple `clearfix` available as a mixin\n- [Visibility](https://github.com/bbc/gs-sass-tools/blob/master/tools/_visability.scss) - A mixin hide content visually, but have it available for screen readers.\n- [Flexbox](https://github.com/bbc/gs-sass-tools/blob/master/tools/_flexbox.scss) - A collection of `flexbox` mixins\n- [Theme](https://github.com/bbc/gs-sass-tools/blob/master/tools/_theme.scss) - A mixin to output styles scoped in a theming class\n\n## Why Grandstand?!?\n\nThis framework is named after [Grandstand](https://www.youtube.com/watch?v=HLHMxFGqhIs), a British television sport programme. Broadcast between 1958 and 2007, it was one of the BBC's longest running sports shows, alongside BBC Sports Personality of the Year.\n\n## License\n\n\u003e The MIT License (MIT)\n\u003e\n\u003e Copyright 2016 British Broadcasting Corporation\n\u003e\n\u003e Permission is hereby granted, free of charge, to any person obtaining a copy of\n\u003e this software and associated documentation files (the \"Software\"), to deal in\n\u003e the Software without restriction, including without limitation the rights to\n\u003e use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\n\u003e the Software, and to permit persons to whom the Software is furnished to do so,\n\u003e subject to the following conditions:\n\u003e\n\u003e The above copyright notice and this permission notice shall be included in all\n\u003e copies or substantial portions of the Software.\n\u003e\n\u003e THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\u003e IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n\u003e FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n\u003e COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n\u003e IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n\u003e CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbc%2Fgs-sass-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbc%2Fgs-sass-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbc%2Fgs-sass-tools/lists"}