-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: make new css package
dnb-ui-tags
- to make it more clear what…
… this packages includes (raw tag selectors, to avoid using css selectors, even this is not recommended to use in larger apps)
- Loading branch information
1 parent
f8df3a4
commit d85ff42
Showing
6 changed files
with
54 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/** | ||
* HTML Element Tags | ||
* | ||
*/ | ||
|
||
@import './core/utilities.scss'; | ||
@import './core/properties.scss'; | ||
|
||
// import and execute all HTML element tags | ||
@import './elements/ui-tags.scss'; | ||
@include executeHTMLTags(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Import all element tags | ||
* | ||
*/ | ||
|
||
@import './ui-elements.scss'; | ||
|
||
@mixin executeHTMLTags() { | ||
// div | ||
@include anchorTag(); | ||
@include imageTag(); | ||
@include blockquoteTag(); | ||
@include hrTag(); | ||
|
||
// typography | ||
@include typographyTags(); | ||
|
||
// lists | ||
@include ulTag(); | ||
@include olTag(); | ||
@include dlTag(); | ||
|
||
// table | ||
@include tableTag(); | ||
|
||
// form | ||
@include formTag(); | ||
@include labelTag(); | ||
@include textareaTag(); | ||
|
||
// additional | ||
@include codeTag(); | ||
@include preTag(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/** | ||
* Imports only the main UI themes HTML elements (tags) | ||
* | ||
*/ | ||
|
||
import './dnb-ui-tags.scss' |