-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4388940
commit b54f770
Showing
81 changed files
with
259 additions
and
1,977 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import Prism from 'react-prism'; | ||
import 'prismjs'; | ||
import 'prism-themes/themes/prism-base16-ateliersulphurpool.light.css'; | ||
|
||
export const CodeBlock = ({ snippet }) => ( | ||
<pre className="Snippet__code"> | ||
<Prism className="language-css">{snippet}</Prism> | ||
</pre> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,34 @@ | ||
export const Btn = () => ( | ||
import snippet from '!raw-loader!obsidian.css/src/components/obsidian.btns.css'; | ||
|
||
const Btn = () => ( | ||
<> | ||
<div className="u-mb4"> | ||
<h6 className="u-mb2 small u-caps">Xtra Small Buttons</h6> | ||
<a className="c-btn c-btn--xs u-m1">Button</a> | ||
<a className="c-btn c-btn--xs c-btn--2 u-m1">Button</a> | ||
<a className="c-btn c-btn--xs c-btn--3 u-m1">Button</a> | ||
<a className="c-btn c-btn--xs c-btn--4 u-m1">Button</a> | ||
<a className="c-Btn c-Btn--xs u-m1">Button</a> | ||
</div> | ||
<div className="u-mb4"> | ||
<h6 className="u-mb2 small u-caps">Buttons</h6> | ||
<a className="c-btn u-m1">Button</a> | ||
<a className="c-btn c-btn--2 u-m1">Button</a> | ||
<a className="c-btn c-btn--3 u-m1">Button</a> | ||
<a className="c-btn c-btn--4 u-m1">Button</a> | ||
<a className="c-Btn u-m1">Button</a> | ||
</div> | ||
<div className="u-mb4"> | ||
<h6 className="u-mb2 small u-caps">Medium Buttons</h6> | ||
<a className="c-btn c-btn--md u-m1">Button</a> | ||
<a className="c-btn c-btn--md c-btn--2 u-m1">Button</a> | ||
<a className="c-btn c-btn--md c-btn--3 u-m1">Button</a> | ||
<a className="c-btn c-btn--md c-btn--4 u-m1">Button</a> | ||
<a className="c-Btn c-Btn--md u-m1">Button</a> | ||
</div> | ||
<div className="u-mb4"> | ||
<h6 className="u-mb2 small u-caps">Large Buttons</h6> | ||
<a className="c-btn c-btn--lg u-m1">Button</a> | ||
<a className="c-btn c-btn--lg c-btn--2 u-m1">Button</a> | ||
<a className="c-btn c-btn--lg c-btn--3 u-m1">Button</a> | ||
<a className="c-btn c-btn--lg c-btn--4 u-m1">Button</a> | ||
</div> | ||
<div className="u-mb4"> | ||
<h6 className="u-mb2 small u-caps">Outline Buttons</h6> | ||
<a className="c-btn c-btn--o u-m1">Button</a> | ||
<a className="c-btn c-btn--o c-btn--o--2 u-m1">Button</a> | ||
<a className="c-btn c-btn--o c-btn--o--3 u-m1">Button</a> | ||
<a className="c-btn c-btn--o c-btn--o--4 u-m1">Button</a> | ||
<a className="c-Btn c-Btn--lg u-m1">Button</a> | ||
</div> | ||
<div> | ||
<h6 className="u-mb2 small u-caps">Applied to Input Nodes</h6> | ||
<button className="c-btn c-btn--md c-btn--3 u-m1">Button</button> | ||
<input type="button" defaultValue="Button" className="c-btn c-btn--xs u-m1" /> | ||
<button className="c-Btn c-Btn--md c-Btn--3 u-m1">Button</button> | ||
<input type="button" defaultValue="Button" className="c-Btn c-Btn--xs u-m1" /> | ||
<input | ||
type="submit" | ||
defaultValue="Button" | ||
className="c-btn c-btn--o c-btn--o--2 u-m1" | ||
className="c-Btn c-Btn--o c-Btn--o--2 u-m1" | ||
/> | ||
</div> | ||
</> | ||
); | ||
|
||
export { snippet, Btn }; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.