Browse Source

adding

release/0.2
Björn 3 years ago
parent
commit
4517945681
13 changed files with 46 additions and 21 deletions
  1. +12
    -2
      dist/index.html
  2. +5
    -5
      dist/plain-ui.css
  3. BIN
      fonts/IBMPlexMono-Bold.eot
  4. BIN
      fonts/IBMPlexMono-Bold.ttf
  5. BIN
      fonts/IBMPlexMono-Bold.woff
  6. BIN
      fonts/IBMPlexMono-Bold.woff2
  7. BIN
      fonts/IBMPlexMono.eot
  8. BIN
      fonts/IBMPlexMono.ttf
  9. BIN
      fonts/IBMPlexMono.woff
  10. BIN
      fonts/IBMPlexMono.woff2
  11. +21
    -12
      src/scss/_variables.scss
  12. +1
    -1
      src/scss/components/_panel.scss
  13. +7
    -1
      webpack.mix.js

+ 12
- 2
dist/index.html View File

@ -51,8 +51,8 @@
<div class="col-12 col-md-8"> <div class="col-12 col-md-8">
<div class="content"> <div class="content">
<p> <p>
<span class="bold">Plain UI</span> is a simple UI Framework.
It has
<span class="bold">Plain UI</span> is a simple UI Framework. The first Idea to create this was
a simple Solution to build Prototypes. But while i was working on this,
</p> </p>
<p> <p>
@ -167,6 +167,16 @@
<h3 class="highlight"> <h3 class="highlight">
Content Content
</h3> </h3>
<div class="panel panel--border-highlight border-color-success m-bottom-4">
<div class="panel__body">
<div class="content marginless-last-child">
<p>
The Class "content" will trigger a few styles for
</p>
</div>
</div>
</div>
<div class="content"> <div class="content">
<p> <p>
Y'know this time it wasn't my fault. The Doc set all of his clocks twenty-five minutes slow. Listen, this is very important, I forgot my video camera, could you stop by my place and pick it up on your way to the mall? whoa, this is it, this is the part coming up, Doc. I'm really gonna miss you. Doc, about the future- Thank you, don't forget to take a flyer. Y'know this time it wasn't my fault. The Doc set all of his clocks twenty-five minutes slow. Listen, this is very important, I forgot my video camera, could you stop by my place and pick it up on your way to the mall? whoa, this is it, this is the part coming up, Doc. I'm really gonna miss you. Doc, about the future- Thank you, don't forget to take a flyer.


+ 5
- 5
dist/plain-ui.css View File

@ -1,16 +1,16 @@
@charset "UTF-8"; @charset "UTF-8";
@font-face { @font-face {
font-family: "IBM Plex Mono"; font-family: "IBM Plex Mono";
src: url(/fonts/IBMPlexMono.eot?85f924ecb898e5720062617e4a86f1d1);
src: url(/fonts/IBMPlexMono.eot?85f924ecb898e5720062617e4a86f1d1) format("embedded-opentype"), url(/fonts/IBMPlexMono.woff2?db620201a437f00ce78da2a10cf50f3f) format("woff2"), url(/fonts/IBMPlexMono.woff?3d04ef6de65d3c77bd60c158326be298) format("woff"), url(/fonts/IBMPlexMono.ttf?ce51a85eb7160067d01bcf6e56f837d1) format("truetype");
src: url("IBMPlexMono.eot");
src: url("IBMPlexMono.eot?#iefix") format("embedded-opentype"), url("IBMPlexMono.woff2") format("woff2"), url("IBMPlexMono.woff") format("woff"), url("IBMPlexMono.ttf") format("truetype");
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
font-display: swap; font-display: swap;
} }
@font-face { @font-face {
font-family: "IBM Plex Mono"; font-family: "IBM Plex Mono";
src: url(/fonts/IBMPlexMono-Bold.eot?eb105b142ce736849ef4828cb0c8eb34);
src: url(/fonts/IBMPlexMono-Bold.eot?eb105b142ce736849ef4828cb0c8eb34) format("embedded-opentype"), url(/fonts/IBMPlexMono-Bold.woff2?8b633c62813e0275ebd7a1c793c4e99c) format("woff2"), url(/fonts/IBMPlexMono-Bold.woff?b72090c625b4144f3763d5b2bf8f5942) format("woff"), url(/fonts/IBMPlexMono-Bold.ttf?558e55bd46468bb8d7074d7064d02c30) format("truetype");
src: url("IBMPlexMono-Bold.eot");
src: url("IBMPlexMono-Bold.eot?#iefix") format("embedded-opentype"), url("IBMPlexMono-Bold.woff2") format("woff2"), url("IBMPlexMono-Bold.woff") format("woff"), url("IBMPlexMono-Bold.ttf") format("truetype");
font-weight: bold; font-weight: bold;
font-style: normal; font-style: normal;
font-display: swap; font-display: swap;
@ -2449,7 +2449,7 @@ svg.field-choice__checked {
} }
} }
.panel--border-highlight { .panel--border-highlight {
border-left-width: 10px;
border-left-width: 12px;
} }
/** /**


BIN
fonts/IBMPlexMono-Bold.eot View File


BIN
fonts/IBMPlexMono-Bold.ttf View File


BIN
fonts/IBMPlexMono-Bold.woff View File


BIN
fonts/IBMPlexMono-Bold.woff2 View File


BIN
fonts/IBMPlexMono.eot View File


BIN
fonts/IBMPlexMono.ttf View File


BIN
fonts/IBMPlexMono.woff View File


BIN
fonts/IBMPlexMono.woff2 View File


+ 21
- 12
src/scss/_variables.scss View File

@ -56,8 +56,9 @@ $plain-ui__line-height__breakpoints: (
*/ */
$plain-ui__primary: #3e3e3e !default; $plain-ui__primary: #3e3e3e !default;
$plain-ui__primary-secondary: #ffffff !default;
$plain-ui__primary-active: lighten($plain-ui__primary, 20%) !default; $plain-ui__primary-active: lighten($plain-ui__primary, 20%) !default;
$plain-ui__primary-active-secondary: #ffffff !default;
$plain-ui__secondary: #b3b2af !default; $plain-ui__secondary: #b3b2af !default;
$plain-ui__success: #64ac64 !default; $plain-ui__success: #64ac64 !default;
@ -69,14 +70,15 @@ $plain-ui__danger-light: lighten($plain-ui__danger, 20%) !default;
$plain-ui__info: #0090d4 !default; $plain-ui__info: #0090d4 !default;
$plain-ui__info-light: lighten($plain-ui__info, 20%) !default; $plain-ui__info-light: lighten($plain-ui__info, 20%) !default;
$plain-ui__background: #f9f9f9 !default;
$plain-ui__background--secondary: #ffffff !default;
$plain-ui__body: #f9f9f9 !default; $plain-ui__body: #f9f9f9 !default;
$plain-ui__text: #363636 !default; $plain-ui__text: #363636 !default;
$plain-ui__text-secondary: #ffffff !default; $plain-ui__text-secondary: #ffffff !default;
$plain-ui__background: #f9f9f9 !default;
$plain-ui__background--secondary: #ffffff !default;
$plain-ui__border: $plain-ui__primary !default; $plain-ui__border: $plain-ui__primary !default;
$plain-ui__border-secondary: #ffffff !default; $plain-ui__border-secondary: #ffffff !default;
$plain-ui__link: #fff !default;
$plain-ui__link: $plain-ui__text !default;
$plain-ui__link-hover: $plain-ui__danger !default;
$plain-ui__colors: ( $plain-ui__colors: (
'primary' : --primary, 'primary' : --primary,
@ -85,21 +87,28 @@ $plain-ui__colors: (
) !default; ) !default;
:root { :root {
--body: #{$plain-ui__body};
--text: #{$plain-ui__text};
--text-secondary: #{$plain-ui__text-secondary};
--primary: #{$plain-ui__primary}; --primary: #{$plain-ui__primary};
--primary-active: #{$plain-ui__primary-active};
--primary-active-secondary: #{$plain-ui__primary-active-secondary};
--link: #{$plain-ui__primary};
--link-hover: #{$plain-ui__danger};
--primary-secondary: #{$plain-ui__primary-secondary};
--active: #{$plain-ui__active};
--active-secondary: #{$plain-ui__active-secondary};
--link: #{$plain-ui__link};
--link-hover: #{$plain-ui__link-hover};
--danger: #{$plain-ui__danger}; --danger: #{$plain-ui__danger};
--danger-light: #{$plain-ui__danger};
--danger-activ: #{$plain-ui__danger-activ};
--danger-secondary: #{$plain-ui__danger-secondary};
--info: #{$plain-ui__danger};
--info-activ: #{$plain-ui__danger-activ};
--info-secondary: #{$plain-ui__danger-secondary};
--success: #{$plain-ui__success}; --success: #{$plain-ui__success};
--success-activ: #{$plain-ui__success-activ};
--success-secondary: #{$plain-ui__success-secondary};
--white: #ffffff; --white: #ffffff;
--black: #212121; --black: #212121;
--text: #{$plain-ui__text};
--text-secondary: #{$plain-ui__text-secondary};
--background: #{$plain-ui__primary}; --background: #{$plain-ui__primary};
--background-secondary: #{$plain-ui__border-secondary}; --background-secondary: #{$plain-ui__border-secondary};
--body: #{$plain-ui__body};
--border: #{$plain-ui__border}; --border: #{$plain-ui__border};
--border-secondary: #{$plain-ui__border-secondary}; --border-secondary: #{$plain-ui__border-secondary};
} }


+ 1
- 1
src/scss/components/_panel.scss View File

@ -15,6 +15,6 @@
} }
&--border-highlight { &--border-highlight {
border-left-width: 10px;
border-left-width: 12px;
} }
} }

+ 7
- 1
webpack.mix.js View File

@ -38,4 +38,10 @@ mix.webpackConfig({
mix mix
.sass('src/scss/plain-ui.scss', 'dist/plain-ui.css') .sass('src/scss/plain-ui.scss', 'dist/plain-ui.css')
.copy('src/fonts/*', 'dist/fonts')
.copy('src/fonts/*', 'dist/fonts')
.options({
terser: {
extractComments: false,
},
processCssUrls: false
})

Loading…
Cancel
Save