tada: Initial commit
This commit is contained in:
parent
06be072d28
commit
66f4c1999e
9 changed files with 1623 additions and 0 deletions
13
packages/css-theme/.editorconfig
Normal file
13
packages/css-theme/.editorconfig
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# editorconfig.org
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
||||||
|
end_of_line = lf
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
62
packages/css-theme/.gitignore
vendored
Normal file
62
packages/css-theme/.gitignore
vendored
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
dist
|
||||||
|
# Logs
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
|
||||||
|
# Runtime data
|
||||||
|
pids
|
||||||
|
*.pid
|
||||||
|
*.seed
|
||||||
|
*.pid.lock
|
||||||
|
|
||||||
|
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||||
|
lib-cov
|
||||||
|
|
||||||
|
# Coverage directory used by tools like istanbul
|
||||||
|
coverage
|
||||||
|
|
||||||
|
# nyc test coverage
|
||||||
|
.nyc_output
|
||||||
|
|
||||||
|
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
||||||
|
.grunt
|
||||||
|
|
||||||
|
# Bower dependency directory (https://bower.io/)
|
||||||
|
bower_components
|
||||||
|
|
||||||
|
# node-waf configuration
|
||||||
|
.lock-wscript
|
||||||
|
|
||||||
|
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
||||||
|
build/Release
|
||||||
|
|
||||||
|
# Dependency directories
|
||||||
|
node_modules/
|
||||||
|
jspm_packages/
|
||||||
|
|
||||||
|
# TypeScript v1 declaration files
|
||||||
|
typings/
|
||||||
|
|
||||||
|
# Optional npm cache directory
|
||||||
|
.npm
|
||||||
|
|
||||||
|
# Optional eslint cache
|
||||||
|
.eslintcache
|
||||||
|
|
||||||
|
# Optional REPL history
|
||||||
|
.node_repl_history
|
||||||
|
|
||||||
|
# Output of 'npm pack'
|
||||||
|
*.tgz
|
||||||
|
|
||||||
|
# Yarn Integrity file
|
||||||
|
.yarn-integrity
|
||||||
|
|
||||||
|
# dotenv environment variables file
|
||||||
|
.env
|
||||||
|
|
||||||
|
# next.js build output
|
||||||
|
.next
|
2
packages/css-theme/.npmignore
Normal file
2
packages/css-theme/.npmignore
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
src
|
||||||
|
.editorconfig
|
1487
packages/css-theme/package-lock.json
generated
Normal file
1487
packages/css-theme/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
45
packages/css-theme/package.json
Normal file
45
packages/css-theme/package.json
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
{
|
||||||
|
"name": "@freesewing/css-theme",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"description": "A CSS theme for freesewing web UIs",
|
||||||
|
"author": "Joost De Cock <joost@decock.org> (https://github.com/joostdecock)",
|
||||||
|
"homepage": "https://freesewing.org/",
|
||||||
|
"license": "MIT",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/freesewing/css-theme.git"
|
||||||
|
},
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/freesewing/css-theme/issues"
|
||||||
|
},
|
||||||
|
"main": "dist/theme.css",
|
||||||
|
"scripts": {
|
||||||
|
"patch": "npm version patch -m ':bookmark: v%s' && npm run build",
|
||||||
|
"minor": "npm version minor -m ':bookmark: v%s' && npm run build",
|
||||||
|
"major": "npm version major -m ':bookmark: v%s' && npm run build",
|
||||||
|
"clean": "rimraf dist",
|
||||||
|
"pretty": "npx prettier --write 'src/*.scss'",
|
||||||
|
"watch": "npx node-sass --watch --recursive src/theme.scss dist/theme.css",
|
||||||
|
"build": "npx node-sass --output-style compressed src/theme.scss dist/theme.css"
|
||||||
|
},
|
||||||
|
"husky": {
|
||||||
|
"hooks": {
|
||||||
|
"pre-commit": "lint-staged"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"lint-staged": {
|
||||||
|
"*.{js,json}": [
|
||||||
|
"prettier --write",
|
||||||
|
"git add"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"dependencies": {},
|
||||||
|
"devDependencies": {
|
||||||
|
"node-sass": "4.11.0"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"dist/*",
|
||||||
|
"README.md",
|
||||||
|
"package.json"
|
||||||
|
]
|
||||||
|
}
|
1
packages/css-theme/src/_components.scss
Normal file
1
packages/css-theme/src/_components.scss
Normal file
|
@ -0,0 +1 @@
|
||||||
|
@import "components/emblem";
|
3
packages/css-theme/src/_mixins.scss
Normal file
3
packages/css-theme/src/_mixins.scss
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
@mixin body-font { font-family: -apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif; }
|
||||||
|
@mixin title-font { font-family: 'Roboto Condensed', sans-serif; }
|
||||||
|
@mixin fixed-font { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; }
|
8
packages/css-theme/src/components/_emblem.scss
Normal file
8
packages/css-theme/src/components/_emblem.scss
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
span.emb,
|
||||||
|
span.lem {
|
||||||
|
@include title-font;
|
||||||
|
font-weight: 900,
|
||||||
|
}
|
||||||
|
|
||||||
|
span.emb { letter-spacing: -0.02em; }
|
||||||
|
span.lem { letter-spacing: -0.03em; }
|
2
packages/css-theme/src/theme.scss
Normal file
2
packages/css-theme/src/theme.scss
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
@import "mixins";
|
||||||
|
@import "components";
|
Loading…
Add table
Add a link
Reference in a new issue