Skip to content

Commit 12505bc

Browse files
markcaronmwcz
authored andcommitted
Moving CP Theme to a new themes dir (#94)
* Moving CP Theme to a new themes dir * Updating lerna packages by adding themes
1 parent 1cfd0fc commit 12505bc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1515
-46
lines changed

elements/cp-themeset/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

elements/cp-themeset/cp-themeset.compiled.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

elements/rh-sass/rh-sass.scss

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
//
2-
// Global vars are named:
3-
// `$rh-global--concept--PropertyTitleCase--modifier--state`
4-
// For example:
5-
// * $rh-global--color--primary
6-
// * $rh-global--FontSize
7-
// * --rh-global--FontSize--heading--xs
8-
9-
// Component/Element vars are named:
10-
// `$rh-c-block__element--modifier--state--PropertyTitleCase`
11-
// For example:
12-
// * --rh-dropdown--heading--FontSize
13-
// * --cp-accordion--heading--FontSize
2+
// RHElements SASS / Styles
3+
// This will no longer be "RH" for "Red Hat", but for "RHElement"
4+
//
145

156
@import "../../node_modules/breakpoint-sass/stylesheets/_breakpoint";
167

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"lerna": "2.5.1",
3-
"packages": ["elements/*"],
3+
"packages": ["elements/*", "themes/*"],
44
"version": "0.0.0"
55
}

themes/cp-theme/.babelrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"presets": [
3+
["env", { "modules": "umd" }]
4+
]
5+
}

themes/cp-theme/.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# EditorConfig: http://EditorConfig.org
2+
3+
# Top-most EditorConfig file
4+
root = true
5+
6+
# Rules for JavaScript files:
7+
8+
[*.{js,py,json,sh,html}]
9+
# 4 space indentation
10+
indent_style = space
11+
indent_size = 2
12+
# No trailing spaces
13+
trim_trailing_whitespace = true
14+
# Unix-style newlines
15+
end_of_line = lf
16+
# Newline ending every file
17+
insert_final_newline = true

themes/cp-theme/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
npm-debug.log

themes/cp-theme/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# cp-theme

themes/cp-theme/apply-shim.min.js

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/cp-theme/apply-shim.min.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)