8000 Docsy/User-guide "skin" styles should be factored out and/or dropped in some cases · Issue #1655 · google/docsy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Docsy/User-guide "skin" styles should be factored out and/or dropped in some cases #1655
Open
@chalin

Description

@chalin

This issue is a part of:

Docsy has essential (including flow-related and spacing) styles, and other style changes that we might consider a Docsy/User-guide "skin" -- such as choices for colors, preferred table formating, etc:

// TODO: consider moving all of these theme-color definitions into the User
// Guide SCSS, or declare theme here, but namespaced:
$primary: #30638e !default;
$secondary: #ffa630 !default;
$success: #3772ff !default;
$info: #c0e0de !default;
$warning: #ed6a5a !default;
$danger: #ed6a5a !default;
$light: #d3f3ee !default; // TODO: consider using BS value
$dark: #403f4c !default; // TODO: consider using BS value

Another example is this button styling:

@if $enable-rounded {
.btn {
border-radius: 1rem;
&-lg {
border-radius: 2rem;
}
&-sm {
border-radius: 1rem;
}
}
}

Right now, it is a challenge for projects to opt out of these "skin" styles, since they need to address each style change individually.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0