Giter VIP home page Giter VIP logo

simurai.com's Introduction

404

simurai.com's People

Contributors

kadmil avatar kevinsuttle avatar prayagverma avatar simurai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

simurai.com's Issues

[Feedback] Force the scrollbar back

Hi,

Thanks for this great feature. Is there a way to apply this only to horizontal scrollbars? (and no to the vertical one)

Thanks,
Regards,
Fran Tortosa

[Feedback] Contextual styling with custom properties

We actually did the something like this with SCSS. There was a layout module, which defined the structure of the component (padding, size, animation) and defined a lot of color variables it used inside (for like border color) and their state-dependant variables (like hovered background color) and defined the basic color inheritances.

$color-button-default-background: #000 !default;
$color-button-default-text: #fff !default;
$color-button-hovered-background: $color-button-default-background !default;
$color-button-hovered-text: $color-button-default-text !default;
.button {
  color: $color-button-default-text;
  background: $color-button-default-background;
  &:hover {
    color: $color-button-hovered-text;
    background: $color-button-hovered-background;
  }
}

Next to it there was a color module for each color scheme, which defines the basic colors of the scheme and maps it to the component color variable.

/// raw colors
$schema-bright-red: #f00;
$schema-bright-blue: #00f;
$schema-bright-green: #0f0;

/// mapping
$color-button-default-background: $schema-bright-red !default;
$color-button-default-text: $schema-bright-blue !default;
$color-button-hovered-text: $schema-bright-yellow !default;

And then when you wanted to use a component with the color scheme, you have to import the two files in the proper order:

.theme-bright {
  @import "schema-bright";
  @import "component-layouts";
}

And because of the use of !default not just in the layout, but in the schema as well, you can override basic colors of component colors at the import level:

.theme-bright--custom {
  $color-bright-red: #e11;
  $color-button-hovered-text: aquamarine;
  @import "schema-bright";
  @import "component-layouts";
}

[Feedback] DuoTone themes

Wow, so minimalistic but powerful! Thank you! I really like the Dark Sea together with the Vue syntax :)

[Feedback] Filtering (photo) filters Colour and filters

One thing to keep in mind about filters, is that colour management is still terrible on the web. Many of the maths for various filters assume they are working on linear data (like blur), but css can only really handle sRGB colour, which means ugliness will show up.
Always check if your filter is adding or multiplying anything, because if it does, your colours will clip and look bad.

Love it

Which versions of Atom does this support?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.