Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weā€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

šŸ”„ Orbiitai āŒ #61

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
0c4ce7b
chore: update dependencies
jonashaefele Sep 17, 2020
e20e4e2
remove: Hoppin from Design Provider
jonashaefele Sep 18, 2020
55cb54a
remove: Hoppin from Design Provider
jonashaefele Sep 18, 2020
efc13ee
add: colors, factor out shadower/hopper, build
jonashaefele Sep 23, 2020
ac100a8
update: typography
jonashaefele Sep 23, 2020
134c59f
update: export all from styled-componentss, update typography
jonashaefele Sep 23, 2020
3a064b1
fix: export styled-system internals
jonashaefele Sep 23, 2020
2d9322c
add: responsive svg logo with color variations
jonashaefele Sep 23, 2020
66f7432
updaate: spacing (add huge) and fix Logos (className)
jonashaefele Sep 24, 2020
44e45ee
white bg for body
jonashaefele Sep 25, 2020
70c7556
remove git add from husky hook
jonashaefele Sep 25, 2020
ce43859
add: PhoneInput, Textarea, style form fieldss
jonashaefele Sep 26, 2020
33d6c18
add: PhoneInput, Textarea to Fields. VERY basic Form styling
jonashaefele Sep 27, 2020
deeef3a
Luuk/form colors (#60)
Sep 27, 2020
fb2e0b2
fix: phone flags
jonashaefele Sep 27, 2020
0d8de6c
Luuk/orbiit surt font (#62)
Sep 28, 2020
1a9a819
fix: lineHeight for H1-H2 (#63)
jonashaefele Sep 28, 2020
399bfce
Luuk/orbiitai form styling (#64)
Sep 29, 2020
eb485ae
Luuk/fields required field (#65)
Sep 29, 2020
6359aad
fix: required fields on select
luckylwk Oct 2, 2020
63a7ed1
build
luckylwk Oct 2, 2020
b89d081
feat: AT Surt
luckylwk Oct 29, 2020
f049806
Build
luckylwk Oct 29, 2020
92aa388
fix: z-index in negative numbers introduces bugs
jonashaefele Nov 13, 2020
37ca023
Merge branch 'orbiitai' of github.com:luckylwk/hoppin-design-system iā€¦
jonashaefele Nov 13, 2020
3914cd5
add make shortcuts for "yarn link" ODS
jonashaefele Nov 16, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v12.13.1
v12.18.1
13 changes: 10 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: install clean pretty test/pretty build dev start deploy/now deploy/now-prod
.PHONY: install clean pretty test/pretty build dev start deploy/now deploy/now-prod local/link

install:
yarn install
Expand All @@ -23,9 +23,16 @@ make build:
yarn build

deploy/now:
now switch hoppin
now switch orbiit
now

deploy/now-prod:
now switch hoppin
now switch orbiit
now --prod

local/link:
yarn link
cd node_modules/react
yarn link
cd ../styled-components
yarn link
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
# Hoppin Design System

If you make changes, don't forget to `yarn build` and `yarn deploy`.

## Local dev with local DesignSystem

When using local versions of the design system while debugging, we need to teach `yarn link` to use the same version of `react` for both repositories, as local `yarn link` doesn't resolve `resolutions` or `peerDependencies` in package.json, but always used what's in the local node_modules folder...

https://github.com/facebook/react/issues/14257

```
cd design-system
yarn link
yarn install
cd node_modules/react
yarn link
cd ../styled-components
yarn link
cd ../../website
yarn link orbiit-design-system
yarn link react
yarn link styled-components
```

To make it easier the Makefile contains shortcuts for this.

Run `make local/link` in this repo.
Then run `make local/link` in the frontend repo to enable localy linked ODS.
To revert run `make local/unlink` in the frontend repo and commit that to your branch (so yarn.lock contains the right hash of the dependency.)
8 changes: 4 additions & 4 deletions doczrc.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
export default {
title: 'Hoppin Design System',
description: 'Getting consistent design at Hoppin',
title: 'Orbiit Design System',
description: 'Getting consistent design at Orbiit',
port: 2000,
src: './src',
files: '**/*.{md,markdown,mdx}',
themeConfig: {
colors: {
primary: '#44E2D6',
primary: '#008CE6',
},
showPlaygroundEditor: true,
styles: {
root: {
fontFamily: '"Nunito Sans", sans-serif',
fontFamily: 'sans-serif',
fontSize: 2,
},
Container: {
Expand Down
39 changes: 24 additions & 15 deletions es/components/Banner/Banner.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions es/components/Box/Box.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

60 changes: 34 additions & 26 deletions es/components/Button/Button.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 19 additions & 14 deletions es/components/Button/ButtonGroup.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading