zalando / dress-code Goto Github PK
View Code? Open in Web Editor NEWThe official style guide and framework for all Zalando Brand Solutions products
Home Page: http://zalando.github.io/dress-code
License: MIT License
The official style guide and framework for all Zalando Brand Solutions products
Home Page: http://zalando.github.io/dress-code
License: MIT License
Create a progress bar to indicate page loading
To avoid css conflicts. We need to namespace all css classes and never apply styling directly to native elements.
EXAMPLE:
/* NO */
button {
width:100px;
color: blue;
}
/* YES */
.hb-btn {
width:100px;
color: blue;
}
first we need to close this #2
I think SVG icons are more or less unusable from a developer perspective.
We will never include something like this in our templates as shown in the doc section:
<svg class="i--interactive i--portal" width="36" height="36" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg" shape-rendering="crispEdges">
<title>
Menu
</title>
<g fill="#979797" fill-rule="evenodd">
<path d="M10.5 11H26v-1H10v1h.5zM10.5 18H26v-1H10v1h.5z" id="Shape"/>
<path d="M10.5 25H26v-1H10v1h.5z"/>
</g>
</svg>
We want something like material icons by Google:
https://www.google.com/design/icons/
This issue can be related to #10
Create utility classes that allow to add horizontal or vertical dividers to containers.
Implement the spinner atom using the bsCommon version as a blue print....
We need a different and simplified README for the bower version, basically explain that this repository is just the bower version of the holy bible and a link to the source code.
How to test this thing?
we can run a travis job that check the style #9, but then how to test the visual part?
I want to be able to do like this:
<i class="dc-font-icons">add</i>
I think is related to how we export svg icons, how we build the font, how we define the dc-font-icons class.
The grid and the breakpoint toggles are broken after the renaming.
The current repo name is too generic and looks like it's a company-wide thing. I'll think about a new name and then rename it.
We need the dialog element in the dress code.
Components that must or should be implemented in 1.0.0:
fix markdown format in the contributing.md file
We must write down some docs file (I suggest to use markdown under a docs folder) about contributing: css style guide, git style guide, build process, issue management, releasing process...
A really nice inspiration: https://github.com/angular/material/tree/master/docs
To be able to define our first milestone 1.0.0, we have to write down all issues.
Add usage info with npm and bower, compiled and not.
We have to came up with a shiny, super-simple grid, the one that we had is too complex and not really usable (will be removed). Maybe we can use directly the flex-box model.
Shouldn't all buttons (dc-btn) have a cursor: pointer; by default?
Otherwise the property will likely need to be overridden in the projects using it
Extend search form to be able to display results containing not only text labels but a combination of those plus images
A basic input group exists in the price input. Let's improve it:
we need input type number in _forms.scss
Create/use something like this http://philipwalton.github.io/solved-by-flexbox/demos/grids/
update src/styles
folder/files structure and naming to match the adopted methodology (Atomic Web Design). We use this kind of "naming" also for the documentation.
Create a button that activate a dropdown or dropup.
Will be based on the toast shown when saving a version in Brand CMS
This line in _base.scss is causing a compilation error after installing the dress code via npm:
@import "../../node_modules/normalize-css/normalize";
Steps to reproduce:
The root issue is that _base.scss is assuming a particular structure of packages within node_modules, and that structure is not guaranteed.
For now, I am working around this by just using the compiled css directly, but I would prefer to use standard sass importing.
We have to rename all classes, mixins and variables with a namespace prefix:
// avoid styling native element
// no
button {}
// example
.btn {}
// to
.bs-btn {}
foobarMixin()
//to
bsFooBarMixin()
$foobarVariable
//to
$bsFoobarVariable
Provide icon font and something simple to use those icons with css classes.
Add responsive grid classes like:
row
col-sm-1
col-md-2
or something like that.
Remove "dead bodies", remove unused sass files, remove unused doc sections
I pulled the library via Bower and added the toolkit import as directed in the README. The compile failed with errors until I made the following changes:
Please fix these changes in the base library if they are indeed bugs or advise on how to avoid these compile issues.
@xonic have to align UX designer team about the holy bible, etc.
in the code block of the style guid page, please disable select all if you click into the code block textarea.
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.