stadgent / fractal_styleguide_gent-base-archive Goto Github PK
View Code? Open in Web Editor NEWArchive for the styleguide for sites made by city of Ghent.
Home Page: https://stijlgids.stad.gent/
License: GNU General Public License v3.0
Archive for the styleguide for sites made by city of Ghent.
Home Page: https://stijlgids.stad.gent/
License: GNU General Public License v3.0
It should probably be content-box
What is in the scss folder and the public folder after grunt compile ATM. That should be an exportable/separate asset.
The input type 'datetime' is not working as expecting.
https://stijlgids.stad.gent/components/detail/input-datetime.html
Just an idea:
Using a grid system like Susy allows for better semantics. It also removes a lot of divs Bootstrap needs to define a grid. No more row wrappers are needed etc...
It generally makes the HTML cleaner.
Should be use BEM or a custom variant of it to define classes inside the styleguide or not?
A change like this will require refactoring and might break subthemes!
We should clarify inside the Stad Gent Styleguide repo how to implement the styleguide in your project.
The installation of the package over npm still fails due to the postinstall script.
Can you please fix this?
I propose a different approach on how we should let sections define theming for atoms, molecules and organisms.
In this article there is a section called "The block mixin approach".
The idea is that they use a SASS map where they define the colors that themes should override.
They also use a mixin themify()
that automatically creates the CSS that components need based on a wrapper class (e.g. the section it's contained in).
This would let us create atoms, molecules and organisms without having to manually change code in the new-sections()
mixin each time, thus removing duplicate code and making it easier to maintain the style guide.
It would then be the responsibility of the developer to include the themify()
mixin for all properties of a component that need different theming based on the section they are in.
But once this is implemented, the code for all theme variations for that component would be compiled automatically by SASS.
Currently when a h-tag (h1,... h6) contains a link it will be styled as a link...
This should be part of the heading atoms imo, that when they contain a link, they should style that link the same way as the heading atom it is in.
Should we keep the mixins in a global folder or add them to their component specific folders in Fractal?
I propose we change the structure of the style guide to the following:
By defining components and their variants in their own twig files we can start to reuse these components in other components with more ease, which allows us to better keep the style guide up to date and allows for better Drupal 8 integration in the future.
Some things to refactor:
{% include ‘@text-styles’ %}
.order
key in their config files to define the Fractal navigation order.Some references, inspiration:
Can be done when markdownlint/markdownlint#189 is fixed.
To make sure atoms, molecules, ... are WCAG2AA compliant.
Is it possible to add a typeahead functionality to the library
The main.scss file uses import globbing statements, which is, by default, not supported for use with Angular CLI. Is it possible to create a main_cli.scss file with all the necassary references without globs?
Migration from Grunt to Gulp.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.