govuk-frontend
dropin-minimal-css

govuk-frontend | dropin-minimal-css | |
---|---|---|
21 | 9 | |
1,206 | 1,739 | |
1.6% | 0.7% | |
9.9 | 4.9 | |
7 days ago | 7 months ago | |
JavaScript | CSS | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
govuk-frontend
- Why Gov.uk's Exit this Page component doesn't use the Escape key
-
Show HN: Gov.uk Vue, a Vue Component Library for the Gov.uk Design System
Haha, hi AL!
Yeah the target for this definitely isn't the regular transactional GOV.UK services. I've added a note at the top of the installation guide:
> GOV.UK Vue (or any JavaScript library) might not be suitable for your project if it's a standard transactional government service. Make sure you read the guidance on progressive enhancement and building more complex services before starting. GOV.UK Vue is designed to be used in more complex services, like interactive mapping, or internal tools where you've determined that JavaScript is acceptable.
GDS are also currently doing exploratory work to investigate how Frontend can be more closely integrated with React/Vue/Svelte/Angular etc, so it's definitely not verboten: https://github.com/alphagov/govuk-frontend/issues/5172
SSR/SSG is supported (the docs website is an SSG Nuxt app) but I need to do some work to improve how it works for certain components to ensure the state they're first rendered in is usable on its own (eg defaulting accordion components to open on the server-rendered version)
-
The Design System Ecosystem
It depends on the level of contribution.
You can contribute by responding to the discussions in the backlog[0], by improving the actual distributed styles and code[1] or suggesting improvements to the documentation in the link I posted above.
Bigger changes need to be backed up with user research, evidence of user needs and accessibility reviews and checks.
[0] https://github.com/alphagov/govuk-design-system-backlog
[1] https://github.com/alphagov/govuk-frontend
-
Can we at least modernize visually hidden?
However looking at the samples with modern browsers I was unable to see the overflow issue. So it might now be entirely possible that setting negative margin is not required anymore. And it happens to actually be harmful: negative margin can change the reading order in VoiceOver!
-
Daily Megathread - 04/03/2023
It's quite literally open source, with a permissive license. It's often more than just inspiration, it's the literal code.
-
Let's talk about the truth
Check it out: https://design-system.service.gov.uk/ and: https://github.com/alphagov/govuk-frontend (MIT license)
-
What’s that one thing that makes you feel proud about the U.K. or being British?
For those who may be interested, the front end is actually open sourced for third parties to use.
-
The impact of removing jQuery on our web performance
To that end, we're still in the process of dropping support for IE 8–10, along with reducing IE 11 to 'functional'—it doesn't always look the same, but users can still complete tasks.
- Εβδομαδιαία συζήτηση του /r/greece | Weekly /r/greece discussion thread 08/08/2022
- How and why we removed jQuery from Gov.uk
dropin-minimal-css
-
I hate CSS: how can I build UIs?
Agreed, find a class-less framework to start, so that you focus on just the HTML, semantic structure first. Here's a couple of lists of such frameworks:
https://github.com/troxler/awesome-css-frameworks#class-less
https://github.com/dohliam/dropin-minimal-css
Personally, I like simple.css (https://github.com/kevquirk/simple.css)
-
Why everybody speaks only about Tailwind, what happened to Boo0strap?
I think picocss is the best classless CSS framework, but there a bunch of others:
https://github.com/dohliam/dropin-minimal-css
- dropin-minimal-css: Drop-in switcher for previewing minimal CSS frameworks
-
Show HN: Lissom.CSS, a classless, minimalist, and themeable CSS library
Nice work! I like that you have included support for prefers-color-scheme, which is one of the more highly-requested features for these kinds of frameworks.
I've added Lissom to the big list of minimal CSS frameworks [0] which aims to collect all of these types of projects (more or less) in one place for ease of discoverability and comparison. You can preview the CSS on some HTML5 boilerplate here [1].
[0]: https://github.com/dohliam/dropin-minimal-css
[1]: https://dohliam.github.io/dropin-minimal-css/?lissom
-
What is your go-to site for pure HTML templates?
Here is the list of CSS that work out of the box either with pure HTML, or with minimal amount of classes. Many can be tried in a matter of seconds via unpkg.
- Drop-in switcher for previewing minimal CSS frameworks
-
MVP.css – Minimalist stylesheet for HTML elements
Makes it just so easy to switch and select. Embed in your html page, select an item from the drop down and see what it does to the page, when you’re happy, remove ! Simple. Genius. Wonder why I never thought of it.
Also has a demo page [2] to try it out
[1]: https://github.com/dohliam/dropin-minimal-css
[2]: https://dohliam.github.io/dropin-minimal-css/
-
Pico CSS Framework
This is great! I've added it to this big list[0] of classless/minimal CSS frameworks (100+ frameworks) to make it easier to compare to other similar projects.
For those interested in Pico (which is already on the list), you can preview it on some boilerplate HTML here[1] or use the Javascript bookmarklet[2] to preview how it would look on any arbitrary page, which can be helpful for prototyping a new site.
[0]: https://github.com/dohliam/dropin-minimal-css
What are some alternatives?
dsfr - 🇫🇷 Official french government's design system (Système de Design de l'État)
open-props - CSS custom properties to help accelerate adaptive and consistent design.
Orange-Boosted-Bootstrap - Orange Boosted is an accessible, ergonomic and Orange branded framework based on Bootstrap
modern-normalize - 🐒 Normalize browsers' default style
govuk-infrastructure - Terraform turnup automation for the EKS Kubernetes clusters that host GOV.UK. See https://github.com/alphagov/govuk-helm-charts for application config.
Pure - A set of small, responsive CSS modules that you can use in every web project.
govuk-design-system - One place for service teams to find styles, components and patterns for designing government services.
pico - Minimal CSS Framework for semantic HTML
gatsby-starter-mate - An accessible and fast portfolio starter for Gatsby integrated with Contentful CMS
mvp - MVP.css — Minimalist classless CSS stylesheet for HTML elements
react-scanner - Extract React components and props usage from code.
sakura - :cherry_blossom: a minimal css framework/theme.
