Skip to content
This repository was archived by the owner on Feb 10, 2022. It is now read-only.

Commit cd7f5a8

Browse files
committed
chore: migrate to geist ui
1 parent 9ec54ab commit cd7f5a8

File tree

16 files changed

+51
-68
lines changed

16 files changed

+51
-68
lines changed

.github/CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Zeit UI Contributing Guide
1+
Geist UI Contributing Guide
22

3-
### Pull Request Guidelines
3+
### Pull Request Guidelines
44
- Fork this repository to your own account. Do not create branches here.
55
- Commit info should be formatted by the [rules](https://github.com/conventional-changelog/commitlint/blob/master/%40commitlint/config-conventional/README.md).
66
- Rebase before creating a PR to keep commit history clear.

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 Zeit UI
3+
Copyright (c) 2019 Geist UI
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+7-17
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,25 @@
1-
## Zeit Style
1+
## Geist Style
22
<p align="left">
3-
<img src="https://circleci.com/gh/zeit-ui/zeit-style/tree/master.svg?style=svg"><span>&nbsp</span>
3+
<img src="https://circleci.com/gh/geist-ui/style/tree/master.svg?style=svg"><span>&nbsp</span>
44
<img src="https://img.shields.io/badge/minzipped-11kb-green.svg?style=popout&colorB=01b301">
55
</p>
66

7-
Zeit style is a modern css library, originating from [Zeit Design](https://zeit.co/design).
7+
Geist style is a modern css library.
88

9-
There's only styles here. If you're looking for a front-end library, please reference [zeit-ui/vue](https://github.com/zeit-ui/vue).
9+
There's only styles here. If you're looking for a front-end library, please reference [geist-vue](https://github.com/geist-org/vue).
1010

1111
<br/>
1212

1313
## Usage
1414

15-
- with npm: `npm i @zeit-ui/style`
15+
- with npm: `npm i @geist-ui/style`
1616

17-
- with CDN: [jsdelivr cdn](https://cdn.jsdelivr.net/npm/@zeit-ui/style@latest/dist/style.css)
17+
- with CDN: [jsdelivr cdn](https://cdn.jsdelivr.net/npm/@geist-ui/style@latest/dist/style.css)
1818

1919
<br/>
2020

2121
## Documentation
22-
[more details](https://zeit-style.now.sh/)
23-
24-
<br/>
25-
26-
## Showcases
27-
28-
- jsdelivr console for NPM projects [jsdelivr](https://jsdelivr.now.sh/)
29-
30-
- vue auto import: [vue-auto](https://vue-auto.lambdas.dev/)
31-
32-
- gitlab robot: [cobot](https://cobot.lambdas.dev/)
22+
[more details](https://style.geist-ui.dev/)
3323

3424
<br/>
3525

now.json

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
2-
"name": "zeit-style",
32
"version": 2,
4-
"alias": "zeit-style",
53
"github": {
64
"silent": true
75
},

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "@zeit-ui/style",
3-
"version": "0.9.4",
4-
"description": "style for zeit",
2+
"name": "@geist-ui/style",
3+
"version": "0.9.5",
4+
"description": "style for Geist UI.",
55
"main": "dist/style.css",
66
"module": "dist/style.css",
77
"scripts": {
@@ -16,9 +16,9 @@
1616
],
1717
"repository": {
1818
"type": "git",
19-
"url": "git+https://github.com/zeit-ui/zeit-style.git"
19+
"url": "git+https://github.com/geist-org/style.git"
2020
},
21-
"author": "unix ([email protected])",
21+
"author": "Geist Org",
2222
"license": "MIT",
2323
"devDependencies": {
2424
"copy-webpack-plugin": "^4.6.0",
@@ -38,4 +38,4 @@
3838
"webpack-dev-server": "^3.1.14",
3939
"webpack-merge": "^4.2.1"
4040
}
41-
}
41+
}

src/templates/assets/avatar.png

109 KB
Loading

src/templates/assets/favicon.ico

31.3 KB
Binary file not shown.

src/templates/basics/start.pug

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ h3 Start
22
p You need import style in your project:
33
:marked
44
```js
5-
import '@zeit-ui/style'
5+
import '@geist-ui/style'
66
```
7-
p In a simpler way, you can also use link of css: #[a(href='https://cdn.jsdelivr.net/npm/@zeit-ui/style@latest/dist/style.css' target='_blank') jsdelivr cdn].
7+
p In a simpler way, you can also use link of css: #[a(href='https://cdn.jsdelivr.net/npm/@geist-ui/style@latest/dist/style.css' target='_blank') jsdelivr cdn].
88
br
99
| Add class name to #[code body] element will start the using:
1010
:marked

src/templates/components/avatar.pug

+13-13
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,30 @@ br
22
h3#avatars Avatars
33
p.zi-comment Default avatars
44
.zi-card
5-
img.small.zi-avatar(src='https://zeit.co/api/www/avatar/?u=evilrabbit&s=240')
6-
img.zi-avatar(src='https://zeit.co/api/www/avatar/?u=evilrabbit&s=240')
7-
img.big.zi-avatar(src='https://zeit.co/api/www/avatar/?u=evilrabbit&s=240')
8-
img.huge.zi-avatar(src='https://zeit.co/api/www/avatar/?u=evilrabbit&s=240')
5+
img.small.zi-avatar(src='./assets/avatar.png')
6+
img.zi-avatar(src='./assets/avatar.png')
7+
img.big.zi-avatar(src='./assets/avatar.png')
8+
img.huge.zi-avatar(src='./assets/avatar.png')
99

1010
p
11-
img.zi-avatar(src='https://zeit.co/api/www/avatar/?u=evilrabbit&s=240')
12-
img.zi-avatar(src='https://zeit.co/api/www/avatar/?u=evilrabbit&s=240')
13-
img.zi-avatar(src='https://zeit.co/api/www/avatar/?u=evilrabbit&s=240')
11+
img.zi-avatar(src='./assets/avatar.png')
12+
img.zi-avatar(src='./assets/avatar.png')
13+
img.zi-avatar(src='./assets/avatar.png')
1414
span.zi-avatar
15-
img(src='https://zeit.co/api/www/avatar/?u=evilrabbit&s=240')
15+
img(src='./assets/avatar.png')
1616

1717
br
1818
p.zi-comment Square avatars
1919
.zi-card
20-
img.square.zi-avatar(src='https://zeit.co/api/www/avatar/?u=evilrabbit&s=240')
20+
img.square.zi-avatar(src='./assets/avatar.png')
2121

2222
br
2323
p.zi-comment Stacked Avatars
2424
.zi-card
25-
img.stacked.zi-avatar(src='https://zeit.co/api/www/avatar/?u=evilrabbit&s=240')
26-
img.stacked.zi-avatar(src='https://zeit.co/api/www/avatar/?u=evilrabbit&s=240')
27-
img.stacked.zi-avatar(src='https://zeit.co/api/www/avatar/?u=evilrabbit&s=240')
28-
img.stacked.zi-avatar(src='https://zeit.co/api/www/avatar/?u=evilrabbit&s=240')
25+
img.stacked.zi-avatar(src='./assets/avatar.png')
26+
img.stacked.zi-avatar(src='./assets/avatar.png')
27+
img.stacked.zi-avatar(src='./assets/avatar.png')
28+
img.stacked.zi-avatar(src='./assets/avatar.png')
2929

3030
br
3131
p.zi-comment Text Avatars

src/templates/components/badge.pug

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ p.zi-comment Combination
4949
.zi-card
5050
p
5151
span.zi-badge-group(style='margin-right: 30px')
52-
img.zi-avatar.square(src='//zeit.co/api/www/avatar/?u=evilrabbit&s=240')
52+
img.zi-avatar.square(src='./assets/avatar.png')
5353
sup.zi-badge.red 10+
5454
br
5555
p this is a&nbsp

src/templates/components/code.pug

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ h3#code Code
1212
br
1313

1414
p.zi-comment Bash code
15-
pre.zi-bash npm i @zeit-ui/style
15+
pre.zi-bash npm i @geist-ui/style
1616
br
1717

1818
p.zi-comment Dark style
@@ -26,6 +26,6 @@ br
2626
```html
2727
<code>TypeScript</code>
2828
<pre>const isNaN = val => Number.isNaN(val)</pre>
29-
<pre class="zi-bash">npm i @zeit-ui/style</pre>
29+
<pre class="zi-bash">npm i @geist-ui/style</pre>
3030
<pre class="zi-dark">Output: 1, Status: ok</pre>
3131
```

src/templates/components/input.pug

+4-4
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ p.zi-comment Input Group
6363
br
6464
p.zi-comment include text
6565
.zi-input-group.prefix
66-
span.zi-label.prefix zeit.co/teams
67-
input.zi-input(value='Zeit')
66+
span.zi-label.prefix gesit-ui/react
67+
input.zi-input(value='Geist')
6868
p
6969

7070
br
@@ -79,8 +79,8 @@ br
7979
</div>
8080

8181
<div class="zi-input-group prefix">
82-
<span class="zi-label prefix">zeit.co/teams</span>
83-
<input class="zi-input" value="Zeit">
82+
<span class="zi-label prefix">geist-ui/react</span>
83+
<input class="zi-input" value="Geist">
8484
</div>
8585
```
8686

src/templates/components/table.pug

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ h3#table Table
1010
tbody
1111
tr
1212
td
13-
img.zi-avatar(src='https://zeit.co/api/www/avatar/?u=evilrabbit&s=240')
13+
img.zi-avatar(src='./assets/avatar.png')
1414
td Evil Rabbit
1515
td evilrabbit
1616
tr
1717
td
18-
img.zi-avatar(src='https://zeit.co/api/www/avatar/?u=evilrabbit&s=240')
18+
img.zi-avatar(src='./assets/avatar.png')
1919
td Evil Rabbit
2020
td evilrabbit
2121

src/templates/index.pug

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ html(lang="en")
33
head
44
meta(name='format-detection' content='telephone=no, email=no')
55
meta(name='viewport' content='initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, viewport-fit=cover')
6-
title zeit-style
6+
title Geist Style
77
link(rel='stylesheet' href='./assets/prism-ghcolors.css')
88
link(rel='icon' href='./assets/favicon.ico')
9-
link(rel='preconnect' href='//zeit-style.now.sh')
10-
link(rel='dns-prefetch' href='//zeit-style.now.sh')
9+
link(rel='preconnect' href='//style.geist-ui.dev')
10+
link(rel='dns-prefetch' href='//style.geist-ui.dev')
1111
body
1212
.zi-main.zi-layout.ex-layout
1313
include side

src/templates/styles/side.styl

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
box-shadow 0 2px 5px 0 rgba(0, 0, 0, .12);
5858

5959
&::before
60-
content 'zeit-style'
60+
content 'Geist Style'
6161
position absolute
6262
width 100%
6363
height 4rem

src/templates/summary.pug

+7-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
1-
h2 Zeit Style
2-
p Zeit style is a modern css library, originating from&nbsp
3-
| #[a(href='https://zeit.co/design' target='_blank') Zeit Design].&nbsp
4-
| Your can fork it on #[a(href='https://github.com/zeit-ui/zeit-style' target="_black") GITHUB].
1+
h2 Geist Style
2+
p Geist style is a modern css library.
3+
| Your can fork it on #[a(href='https://github.com/geist-org/style' target="_black") GitHub].
54
br
6-
|#[b There's only styles here.] If you're looking for a front-end library, please reference&nbsp
7-
|#[a(href='https://github.com/zeit-ui/vue' target="_black") zeit-ui/vue].
8-
h2#about About
9-
p The design of the Zeit is concise and aesthetic feeling,&nbsp
10-
|this is an important reason for popular of Zeit. Now you can use them through the #[b Zeit Style].
11-
| #[br]
12-
| Try to install:
13-
pre.zi-bash npm i @zeit-ui/style
5+
|#[b There's only styles here.] If you're looking for a front-end library, please reference
6+
|#[a(href='https://github.com/geist-org/react' target="_black") Geist React].
7+
h2#about Install
8+
pre.zi-bash npm i @geist-ui/style
149
br
1510

1611
h2#usage Usage

0 commit comments

Comments
 (0)