Skip to content

Commit

Permalink
V2 (#1)
Browse files Browse the repository at this point in the history
* it's working

* update

* add presets

* replace version of FiraCode

* update presets logic

* add popup

* chore

* table v2

* table v3 FINAL FINAL

* dialogs

* updates

* updates

* fixes
  • Loading branch information
panr authored Nov 30, 2024
1 parent 68ebfd8 commit 347c5a2
Show file tree
Hide file tree
Showing 28 changed files with 3,097 additions and 1,324 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8

indent_size = 2
indent_style = space
45 changes: 45 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---

env:
es6: true

rules:
arrow-parens:
- 2
- as-needed
semi:
- 2
- always
class-methods-use-this: 0
comma-dangle:
- 2
- always-multiline
no-console:
- 2
no-unused-expressions: 0
no-param-reassign:
- 2
- props: false
no-useless-escape: 0
func-names: 0
quotes:
- 2
- double
- allowTemplateLiterals: true
no-underscore-dangle: 0
object-curly-newline: 0
function-paren-newline: 0
operator-linebreak:
- 2
- after
no-unused-vars:
- 2
- argsIgnorePattern: "^_"

globals:
document: true
requestAnimationFrame: true
window: true
self: true
fetch: true
Headers: true
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.env
node_modules
20 changes: 20 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parser": "babel",
"printWidth": 100,
"trailingComma": "all",
"arrowParens": "avoid",
"overrides": [
{
"files": ".html",
"options": {
"parser": "html"
}
},
{
"files": ".css",
"options": {
"parser": "css"
}
}
]
}
13 changes: 13 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"rules": {
"rule-empty-line-before": [
"always-multi-line",
{
"ignore": "first-nested"
}
],
"color-function-notation": null,
"no-descending-specificity": null,
"selector-class-pattern": null
}
}
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
![Terminal.css Preview](./terminal-css.png)

# ➡️ [Check Terminal.css website](https://panr.github.io/terminal-css/)
# ➡️ [Check Terminal.css website](https://panr.github.io/terminal-css/)

[Terminal](https://github.com/panr/hugo-theme-terminal) theme turned out to be an unexpected success. But not everyone wanted to switch to Hugo to be able to use it.

That's why I created **Terminal.css**. A stupid simple, custom set of semantic styles derived from the theme, that you always wanted.

## Presets

Terminal.css comes with a collection of [presets](./presets.json). I've kickstarted the project with only a few of them, but that's not enough. If you want to contribute to the project and already have an idea for a beautiful set of colors, you are in the right place.

1. Go to the [Terminal.css website](https://panr.github.io/terminal-css/) and set your color scheme
2. Copy it as JSON
3. [Add it](./presets.json) to the collection via Pull Request
171 changes: 0 additions & 171 deletions _components/code-toolbar.css

This file was deleted.

18 changes: 0 additions & 18 deletions _components/header.css

This file was deleted.

26 changes: 0 additions & 26 deletions _components/one-size.css

This file was deleted.

Loading

0 comments on commit 347c5a2

Please sign in to comment.